|
|||||||
| General Discussion and support for your general issues associated with web design. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Site building standards: directory structure?
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. |
|
#2
|
||||
|
||||
|
The index_files directory is just there to support multiple languages so it goes away on 99.9% of all sites. Usually you just add an index.php into the index file list and make every page a PHP page. The overall site structure doesn't change much at all. In the htdocs you still normally have images/, scripts/, theme/||styles/||css/ and then content-related directories if needed.
__________________
Help Save Ana Why use Web Standards: Zeldman How (new): Castro How (experienced): Cederholm If you can only get one book and you're already HTML savvy then this is it: stylin' with CSS: A Designer's Guide Charles Wyke-Smith New Riders "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan |
|
#3
|
|||
|
|||
|
I thought it would be something like this, but just like I said, before I only really built some very basic static pages.
Thanks for the answer |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|