Hi, > Whats the advantage of the above and whats the idea? > isnt it much easier (and logical) to keep track of pages if you give them a > logical name?
The idea behind this approach is using MVC (MVC2) architecture which gives much more flexibility to the programmer. Usually index.php (or whatever name) is called the controller and it uses some configuration files so that it knows which script(s) are responsible fo processing certain actions. This approach allows to separate between business logic and presentation. An MVC intro is beyond the scope of this list, so google for it Take a look at phrame.sourceforge.net for some ideas Cheers, Catalin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php