-- Dan Rossi <[EMAIL PROTECTED]> wrote
(on Thursday, 02 August 2007, 12:37 PM +1000):
> Hi, I was wondering where would be the best place to store extended 
> classes ie for custom view renderers for template engines which I have 
> in the View directory, and also project specific classes.

I usually have a 'lib/' directory at the same level as my 'application/'
directory, and then within have a directory with my project or personal
prefix. As an example:

    application/
        default/
            controllers/
            models/
            views/
        blog/
            controllers/
            models/
            views/
        wiki/
            controllers/
            models/
            views/
    lib/
        My/
            Helper/
            View/
                Helper/
                Filter/

This 'lib' directory I then add to my include_path.

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to