NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
how to configure with recommended modular structure


Joined: 01 Feb 2009
Posts: 1
Reply with quote
My files are organized that way:

Code:
top_level_dir
 |_webapps
   |_lib
     |_DoctrineORM
       |_Doctrine
     |_ZendFramework
       |_Zend
   |_app1
     |_config
     |_controllers
     |_layouts
     |_models
     |_views
   |_other apps ...
 |_www
   |_app1
      |_index.php (bootstrap)

If I configure my project to point on c:/top_level_dir/www/intranet, I don't have access to my MVC files other than by searching the classes, not practical.
All the exemples in the tutorial seems to make an assumption that the MVC files are below the web root, that is not the best practice as usually (and recommended by Zend and all independent authors) MVC files should be OUTSIDE the web root.

Any exemple to strictly follow best practices or structures like we can found in books such as "Zend Framework in Action"???

Zend Studio has a good Zend Framework Project template when you create a new project and everything is respecting the modular structure.
I prefer PHPEd over ZS but as most of my work is based on ZF, if I can't find good examples on how to configure ZF projects for debugging, I will drop PHPED.

Thanks.
View user's profileFind all posts by jmdavidSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Try PhpED's Project Settings Wizard and select project root directory above the web root, so it will include all the web files and out-of-the-web files.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
how to configure with recommended modular structure
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic