Directory Structure

Project

  Application
    controllers
    views
    models
    layouts
    forms

  Library
    symlink to Zend

  public_html

So I set my include path to Project/library so The Framework is
included. I am thinking that it makes sense to put classes for the
database or other "model" type stuff into the models directory and
classes for forms in the "forms" directory.

Questions

1) Does this file structure make sense?
2) How are you guys setting up your directory structures?
3) Is it correct that I will have to add include paths for any
directories I want to put classes in? ( models and forms in my
structure above )
4) I don't want any more include paths than absolutely necessary,
right? So what is the most logical / efficient way to set this up?

Thanks!
Jason DEBORD
Limoges, France

Reply via email to