You are here: What is a good Directory structure for homegrown MVC applications? « PHP Programming Language « IT news, forums, messages
What is a good Directory structure for homegrown MVC applications?

Posted by Brent Clements on 10/25/23 11:33

I have been trying to determine the best way to setup a directory
structure for my homegrown MVC application.

What do you guys suggest?

I am thinking about doing the following:


|
+-- app
|
+-- controllers
+-- modals
+-- views
|
+-- smarty_templates
|
+-- product_type1_templates
+-- product_type2_templates
+-- product_type3_templates
+-- util_classes
+-- ext
|
+-- javascript
+-- vendors
+-- includes

The issue is that the application has a pretty complex view system,
that requires themes and different page/form structures depending on
the "product choice" they make at the beginning of the application. How
should I set this up?

So in actuality I have two questions:

1. What is a good generic MVC directory structure that is easy to
manage
2. If I need a complex view system with themes and different views
based upon product types is the above directory structure good?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация