In my Zend folder structure, where should I keep classes that inherit or subclass Zend classes?
+2
A:
library-Zend -Your Library
And do not forget to add namespace for autoloading.
Alexander.Plutov
2010-09-25 05:36:37
+3
A:
The best practice is to create an own folder in the Library folder like 'App' or your project name, this will be your name space too.
Library
|
-- App
-- Zend
-- ...
Then you'll need to add to the application.ini the following for autoloading your namespace:
autoloadernamespaces.app = "App_"
Skelton
2010-09-25 07:38:43