Just a question really on how others do the same sort of thing... That being the loading of forms, models and anything else outside the immediate ZF fold. I have my modules and each has a model and form directory, then any other directories for resources. I thought it would be a good idea to use the autoloader to load these.
Everything is called... Module_Form_Name (module being the module name, form being the resource and name being a unique name). All works well except of course module directories are lower case and my server wants the files cased properly! I have three options as I see it. 1) Upper case my module directories (although I want lower case urls). 2) Create loader helpers to load everything (currently I've done this but with a twist so it still uses Zend_Loader as it lower cases the first letter of each resource... module_Form_Name ... Seems messy!) This is also long winded when the autoloader does such a good job. 3) Require everything. Any thoughts? or pointers to good notes... I believe the loader seems to be the main way people do this from reading this list, the only downside (unless I use an action helper statically) is it's more writing, and I need a helper broker as part of my model system. Thanks Simon ----- Simon http://www.ajb007.co.uk/ -- View this message in context: http://www.nabble.com/Model---Form---Resource-Loading-in-Modules-tp21436192p21436192.html Sent from the Zend Framework mailing list archive at Nabble.com.
