views:

35

answers:

2

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
+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