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

Re: [jfw] General configurations



How much of the config stuff could be done with the existing Registry package?  It already acts as a data store and can export/import to many file types, including PHP classes.

On Monday, February 23, 2015, Nils Rückmann <mail AT nueckman.de> wrote:
There are plenty of classes which will or do require some sort of configuration like forms or ORM entities. I'm struggling with this issue for some time now without a satisfactional solution.
Today most frameworks are using some kind of meta information to configure those objects. For example Joomla uses XML for form configuration and Doctrine uses Annotations, XML or YAML for entities (besides an outdated way of using PHP classes). 
But all those kinds of meta configuration never seems right to me, be it for performance or testing reasons. The Flow framework does made a good job by "caching" real PHP classes which are generated by base classes and configurations,  but that negates many benefits from a non compiled language like PHP.

Since this topic will recurring every now and then i thought it might be a good idea to share thoughts about that. Any preferences ? 

--
Framework source code: https://github.com/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.


--
- Michael

Please pardon any errors, this message was sent from my iPhone.

--
Framework source code: https://github.com/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.