[fw-general] Naming controllers

2011-08-15 Thread Mr.nuub
Hello everyone, Since a few months, I'm learning object oriented programming in PHP. Read lots of tutorials on the net, but I'm also reading the book PHP Objects, Patterns, and Practice at the moment. I am told that an object should use a noun as classname. Example: class User - function

Re: [fw-general] Naming controllers

2011-08-15 Thread Hector Virgen
The Controller part of the class name is a convention used by Zend Framework that must be followed in order for it to be loaded. It also helps reduce the chances of class name collisions. You can still think of the controller class as a noun, but you'll need to follow this convention in order to

Re: [fw-general] Naming controllers

2011-08-15 Thread Matthew Weier O'Phinney
-- Mr.nuub wbosl...@gmail.com wrote (on Monday, 15 August 2011, 07:59 AM -0700): Hello everyone, Since a few months, I'm learning object oriented programming in PHP. Read lots of tutorials on the net, but I'm also reading the book PHP Objects, Patterns, and Practice at the moment. I am