NYCPHP Meetup

NYPHP.org

[nycphp-talk] Events Management - is there a solid F/OS code base ?

inforequest 1j0lkq002 at sneakemail.com
Wed Mar 29 15:25:53 EST 2006


Jeff Knight jeff.knight-at-gmail.com |nyphp dev/internal group use| wrote:

>On 3/29/06, cliff <cliff at pinestream.com> wrote:
>  
>
>>And isn't recurring just a flag? The presentation or business layer can see if a recurring event falls into a calendar timframe by doing some simple math.
>>    
>>
>
>How does it "recur". Every day, every other day, every Monday and
>Wednesday, on the 5th of every month, on the 4th Tuesday of every
>month, on the last day of the month, every 45 days, quarterly,
>annually?
>
>  
>

Yeah, well let's not go there because some folks even call it recurrence 
when it relies on a fixed day of the week but a count of week into the 
month (like "last Tuesday of every month"). Such moronic scheduling 
should be criminal ;-)

I agree that recurrence should be handled in the presentation layer, 
provided the data is in. but what data? Depends on type of recurrence, 
which is where the business layer interferes with the data layer anyway. 
those damn humans think "every other wednesday" is recurrence.... duh. 
It's really "every other day that has already been assigned the label 
"Wednesday" and that works just fine using the flag approach, right?

I'd appreciate an example of that 'simple math' cliff? Might make it 
clearer what you mean.

-=john andrews







More information about the talk mailing list