Evaluate my sytem
Posted: Wed Nov 23, 2005 10:34 pm
Hi, I created a system for the company website that uses quesry strings to determine the page requested.
An example is:
http://www.mydomain.com?section=music&page=albums
With this query string, the system looks for somefile named as 'music_albums.php' inside a certain folder, such as 'scripts/'.
The script has a single function named 'getContent()' that return the str of contents. The string is then incorporated to page as it's content.
But, I observed that many of the site uses many 'index.php' file inside folders that are named as the site sections.
So they could have used a url like this:
http://www.mydomain.com/music/albums/index.php
Is there something unprofessional with the system i created?
I need some evaluations here.
Thanks in advance.
An example is:
http://www.mydomain.com?section=music&page=albums
With this query string, the system looks for somefile named as 'music_albums.php' inside a certain folder, such as 'scripts/'.
The script has a single function named 'getContent()' that return the str of contents. The string is then incorporated to page as it's content.
But, I observed that many of the site uses many 'index.php' file inside folders that are named as the site sections.
So they could have used a url like this:
http://www.mydomain.com/music/albums/index.php
Is there something unprofessional with the system i created?
I need some evaluations here.
Thanks in advance.