At our office we manage about 30 ZF applications and make a few new ones every month or so. We've made a set PHP classes to generate MVC classes for these new projects. The generator library is"ZF-compatable" (as in they can be autoloaded by ZF's autoloader and follow other ZF conventions). I'm currently slapping together a few basic HTML forms to drive the library so we can create new ZF projects from the browser. I don't think it'd be something that really fits well into the Framework it self, but if other people find it interesting I can package it up and make it available (I might need to modify some things, since it's coupled with some of our own library classes).

Is anyone else offering "ZF compatible" libraries? If so, how are you packaging them and where are they available? If people are already doing this I'd like to follow convention.

Also we've extended Zend_Db_Adapter (only Pdo_MySQL right now) to lookup the foreign keys in a database. We can then autogenerate the Zend_Db_Table classes for a particular database with relationships already filled in. I've intended to write up the describeForeignKeys() (or describeConstraints(), or whatever) functionality in a proposal, but haven't found the time to do so.

-Nathan


Truppe Steven wrote:
Hi again,

i wonder if there is a script that creates the basic directory structure
and files needed for every new zend project.

i think this would be a nice feature (when it can get a bit customized
so that the user can set the structure like he wants and the script does
the needed stuff for the bootstrap file!)

i haven't found such a tool yet so i start writing one, at the moment
only for my personal education,
i hope this will help some people getting started with the zend
framework much faster.

maybe someone finds the idea interessting and reply to this message.




----
best regards,
Truppe Steven

Reply via email to