I'm taking my first plunge into a fully OO application and have what I think
is a simple question, though I haven't found the answer through searching:

I'm developing an events calendar.  An event can be on more than one
calendar, so when I display an individual event, I want to also display
which calendars it's on.

So, when I construct my event object (I know, confusing name) what's the
best way to grab an array of the calendars it occurs on?  I'm thinking the
array could be a property of the event, but I'm not sure that my event
should be asking the calendarManager for the array directly.

Options I've contemplated:

Have the event object just query the database and populate the array itself.

Have the event object ask the calendarManager for the array.

Pass the array into the constructor when creating the event object.


Any thoughts?  is this where I need to start using and learning ColdSpring?

Thanks, Steve

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to