[TYPO3-ect] Directory architecture
Robert Lemke
robert at typo3.org
Thu Aug 16 11:38:40 CEST 2007
Hi Elmar,
Am 16.08.2007 um 11:26 schrieb Elmar Hinz:
> while Christian was working on UML and Robert on the migration path
> I was
> working on a directory proposal for lib beta.
>
> http://wiki.typo3.org/index.php/MVC_Framework/lib_div_Beta_Branch
hmm, just a quick comment: Would it hurt to follow more the 5.0
approach?
That would be:
Lib/
Controller/
tx_Lib_Controller_Standard.php
tx_Lib_Controller_ActionObject.php
tx_Lib_Controller_Interface.php
Helper/
tx_Lib_Helper_ResultBrowser.php
ResultBrowser/
tx_Lib_Helper_ResultBrowser_Model.php
tx_Lib_AbstractSelfAwareness.php
The advantage is that the directory structure reflects the namespaces
used
in the PHP class naming. As we'll have namespaces (or "packages") in
PHP6,
that would be quite useful. It also eases autoloading because the class
loader can easily guess where the class file is located.
> Much input all at once. :-)
yes, indeed.
robert
--
http://typo3.org/gimmefive
More information about the TYPO3-team-extension-coordination
mailing list