www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > General

    General Discussion and support for your general issues associated with web design.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 05-29-2006, 10:53 AM
    salor salor is offline
    Registered User
     
    Join Date: May 2006
    Posts: 4
    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.
    Reply With Quote
      #2  
    Old 05-29-2006, 04:41 PM
    ray326's Avatar
    ray326 ray326 is offline
    Got Link?
     
    Join Date: Nov 2003
    Location: Jerryville, Tejas
    Posts: 11,741
    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
    Reply With Quote
      #3  
    Old 05-30-2006, 12:40 AM
    salor salor is offline
    Registered User
     
    Join Date: May 2006
    Posts: 4
    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
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 03:35 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.