salor
05-29-2006, 10:53 AM
What directory structure do you have to use and how do you organize your site on a basic level?
While learning html, php, javascript, css and mySQL I gradually came to realize the newest techniques. I started with static building using frames and tables, then later on I became familiar with the newest standards using css instead of tables, and php for dynamic content. However, I'm still a little unsure how all these new developments relate to the basic structure of a site, or maybe I never knew much about it either, but the use of php certainly calls for different methods. Since I use Linux, with Apache running on it for testing purposes, I'm well aware that index.html is still the first page that you get served with from the Document Root, but the index_files/ directory that would originally follow is probably not present anymore, you redirect index.html and then "who knows what?"
The bottomline is: how should I organize my site so that it would be easy to work with and that there would be place for future growth too? I'm not only talking about directory structure, but the way your site builds up is probably in a close relation with where its components are phisically stored, otherwise it would become unmanageable.
While learning html, php, javascript, css and mySQL I gradually came to realize the newest techniques. I started with static building using frames and tables, then later on I became familiar with the newest standards using css instead of tables, and php for dynamic content. However, I'm still a little unsure how all these new developments relate to the basic structure of a site, or maybe I never knew much about it either, but the use of php certainly calls for different methods. Since I use Linux, with Apache running on it for testing purposes, I'm well aware that index.html is still the first page that you get served with from the Document Root, but the index_files/ directory that would originally follow is probably not present anymore, you redirect index.html and then "who knows what?"
The bottomline is: how should I organize my site so that it would be easy to work with and that there would be place for future growth too? I'm not only talking about directory structure, but the way your site builds up is probably in a close relation with where its components are phisically stored, otherwise it would become unmanageable.