Yes, the Date package improvement is on the final list of accepted proposals for Joomla's Google Summer of Code 2014, to be officially announced tomorrow. Here is the original proposal: https://www.dropbox.com/s/ku5wvsiza19vm1r/project-improve-date-classes.pdf . There has been some discussion since that about what exactly will be done and more discussion will follow the coming time (in a separate thread; reactions there very welcome). But fact is: this summer Tomasz Hanc will work on a Date package for Joomla.
Two basic ideas for what Tomasz wants to accomplish:
- DateTime should be a Value Object (as defined in Fowler's Patterns of Enterprise Application Architecture). That is also the basis of PHP 5.5's DateTimeImmutable
- It should be easily extendable. Some variants can be simplified by using a strategy pattern.
Good starting points. I hope the result will be a package that can offer value beyond Joomla. I volunteered as mentor.
More info about all JGSOC2014 projects in the next Joomla Community Magazine.
On Wednesday, 16 April 2014 09:02:57 UTC+2, Herman Peeren wrote:
About the Date package; there is a Joomla GSOC-proposal for a new Date package. April 21st it is definitive whether this will be one of the accepted projects or not. There are some nice ideas for it, adding value that can be used beyond Joomla. It will probably get a new name. also looking at where PHP is going to, like PHP 5.5's DateTimeImmutable. More news after GSOC-projects are definitive.
On Wednesday, 16 April 2014 00:53:53 UTC+2, Andrew Eddie wrote:
On 16 April 2014 08:49, Andrew Eddie <> wrote:
> I'm not sure how I feel about that one.
Actually, you may be right. There's not a lot of value there anymore.