[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [jfw] Re: Discussion - Package Updates for Framework 2.0



Interesting. I'd just abstract the formatting part away so formatting is controlled mainly by template engine.
Example https://github.com/piotr-cz/Twig-extensions-Joomla#date-extension

On Sunday, April 20, 2014 8:16:46 PM UTC+2, Herman Peeren wrote:
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:
>> Date
>
> I'm not sure how I feel about that one.

Actually, you may be right. There's not a lot of value there anymore.

Regards,
Andrew Eddie

--
Framework source code: https://github.com/joomla/joomla-framework
Visit http://developer.joomla.org for more information about developing with Joomla!
---
You received this message because you are subscribed to the Google Groups "Joomla! Framework Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-framework+unsubscribe AT googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-framework.