SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Sep 26, 2006, 10:28 #1
- Join Date
- Aug 2002
- Location
- Boise, Idaho
- Posts
- 411
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
A quick question about a design pattern
Hello,
What is the design pattern where you use a single file (eg. index.php) as a gateway for all of your pages? For instance, instead of having about-us.php, contact-us.php, you just have a single index.php, and all calls to pages in that directory get routed through it via an .htaccess file.
I see some of the more popular programs using this kind of system, so it must be useful. Any thoughts on why it's a good approach would be helpful as well.
Thanks!
ChrisChris S.
Free Web Scripts - Form generators, AJAX tools and more!
Micro CMS - A totally free AJAX-based, SEO-ed CMS!
-
Sep 26, 2006, 12:10 #2
- Join Date
- Mar 2006
- Posts
- 6,132
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
i beleive you would call that a front controller design.
may wanna ask this question in the application design forum.
Bookmarks