Re: PACKAGE Proposal: Date_Calendar
| From: | Tomas V.V.Cox | Date: | Sun, 10 Aug 2003 14:18:07 +0000 |
| Subject: | Re: PACKAGE Proposal: Date_Calendar | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-19481@lists.php.net to get a copy of this message | ||
I personally love the calendar stuff Richy developed for the pear web:
http://pear.php.net/package-search.php
It really rocks.
Tomas V.V.Cox
On Saturday, August 9, 2003 20:17, Harry Fuecks wrote:
> Following on from the discussion here:
>
> http://marc.theaimsgroup.com/?l=pear-dev&m=106043809425575&w=2
> Would like to propose Date_Calendar, for building calendar data structures.
> They are designed to make building calendars as easy as possible, while
> completely seperating the logic from user interface. They could be used in
> rendering HTML, WML, PHP-GTK, command line output or whatever you like.
> Right now they're not prepared for PEAR (no package.xml or use of PEAR
> Error) but they're in a stable form. What to get the approval first before
> continuing.
> Beginning with some examples first;
> 1. Shows all the classes in action, from Years down to Seconds
>
> http://www.phppatterns.com/code/Date_Calendar/docs/examples/1.phps
>
> http://www.phppatterns.com/code/Date_Calendar/docs/examples/1.php
> 2. Shows Month being used to build Weeks then Days
>
> http://www.phppatterns.com/code/Date_Calendar/docs/examples/2.phps
>
> http://www.phppatterns.com/code/Date_Calendar/docs/examples/2.php
> 3. Shows Month being used to build Days (bypassing the Week)
>
> http://www.phppatterns.com/code/Date_Calendar/docs/examples/3.phps
>
> http://www.phppatterns.com/code/Date_Calendar/docs/examples/3.php
> The source for classes themselves can be see at;
> http://www.phppatterns.com/code/Date_Calendar/
> For the PEAR release I'll probably reduce the number of files to avoid the
> pain of require_once().
> The source code is fully documented but I'll come up with more examples and
> documentation for the release.
> One thing to be aware of is they rely on Unix timestamps. This helps when
> you need to perform database queries but means your calendar will only run
> up to 2038 for a 32bit OS.
> PS: it that the right namespace? Or should it be DateAndTime?
--
Tomas V.V.Cox mailto:cox@idecnet.com