I have a lot of tables in my database.  And I could make a model for each
one, but at that point, the folder gets a bit unmanageable.  So in the
effort of organizing it a bit:

1) How do I create sub folders under the model folder such that I can use
the Zend_Loader::loadClass to find and load them?

2) some of the tables have underscores (i.e. acl_users).  I would like to
put all ACL tables in an ACL folder.  At that point I don't care if the
individual models are named Users or ACL_Users or whatever, as long as they
are grouped and the name is intuitive.  What naming convention should I use
for the models once in the sub folders

3) Does naming tables with underscores cause any issues with Zend's current
naming conventions?  And if so, is there a better or different naming
convention that anyone would like to suggest?

This is a pet project of mine that I'm reworking in a development
environment in an effort to learn Zend and teach me better programming
habits (most of my PHP has been self-taught by using examples across the web
and most of those do not teach good habits of programming).
-- 
View this message in context: 
http://www.nabble.com/Models-and-folder-grouping-tp19412763p19412763.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to