[TYPO3-ect] Zend style extensions scheme
Elmar Hinz
elmar.DOT.hinz at team.MINUS.red.DOT.net
Tue Mar 21 10:47:19 CET 2006
Hello typoniks,
my thanks to David for hinting to the Zend Framework and the excellent
article of Chris Shiflett. Please read it.
http://www.phparch.com/zftut
Yesterday evening Jan-Hendrik and me were discussing a roadmap with
the first step to provide a pi_base free example. This article gives a
very clear guidance how to do this.
If we would put the Zend library into an extension the manager would
complain of errors. But PHP-Unit of Robert Lemke and ADOdb of Karsten
Dambekalns share this problem. On the long run we need to implement
the PEAR Package Scheme, because it is the PHP standard.
Already without using the Zend library we can make use of a lot of
ideas. The implementation of the MVC pattern is straight forward. I
like to provide a pi_base extension that does this.
To give a first impression of a zend stylish extension I post the
planned file structure for you:
// Plugins:
class.tx_articles_singleView.php
class.tx_articles_searchList.php
// Models:
models/class.tx_articles_models_searchQuery.php
models/class.tx_articles_models_singleQuery.php
// Views:
views/class.tx_articles_views_singleView.php
views/class.tx_articles_views_searchList.php
// Controllers:
controllers/class.tx_articles_controllers_singleView.php
controllers/class.tx_articles_controllers_searchList.php
// Configuration:
static/singleView/setup.txt
static/singleView/constants.txt
static/searchList/setup.txt
static/searchList/constants.txt
// Documentation
doc/manual.sxw
// Other
ext_emconf.php
ext_localconf.php
ext_tables.php
tca.php
locallang.php
locallang_db.php
README.txt
ChangeLog
Regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list