-- enportugal <[EMAIL PROTECTED]> wrote (on Thursday, 04 September 2008, 06:12 PM -0700): > I've been reading the coding standard at Zend Manual but I have some doubts. > > According to this > > http://framework.zend.com/manual/en/zend.controller.modular.html > > We should use lower names in a modular structure, meaning that a controller > should be named > > module_controllers_IndexController.php
Actually, you've misread a number of details. The directory and filename is "module/controllers/IndexController.php", and contains the class "Module_IndexController". > This makes no sense since the Zend Library uses something like this > > Zend_Db_Abstract, Zend_* ect, etc, The difference is the difference between library and application code. We have a slightly different naming convention for the application code as it is not on the include_path, and needs to be found dynamically. We may revisit some of these conventions in 2.0.0, but for now, they are what they are. > Should I change my structure to something like > Module_Controllers_IndexController.php ? No -- see my example above. -- Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend Framework | http://framework.zend.com/
