How can I design my classes for a calendar based on database events?
- by Gianluca78
I'm developing a web calendar in php (using Symfony2) inspired by iCal for a project of mine.
At this moment, I have two classes: a class "Calendar" and a class "CalendarCell".
Here you are the two classes properties and method declarations.
class Calendar
{
private $month;
private $monthName;
private $year;
private…