1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

What web architecture do you use?

Discussion in 'Content Management' started by dadougalee, Oct 25, 2007.

  1. #1
    I would like to know how everyone else organizes their files for optimum efficiency. What do you use?

    Folders:
    _documentation
    - includes site layouts, prototypes, and that sort of stuff
    api
    - includes object class files that I use as conduits to connect to other sites apis, like facebook or google
    images
    - obviously includes all my browser optimized images
    includes
    - contains my classes and other include files
    javascript
    - obviously contains all my javascript coding classes and functions
    pages
    - this folder contains all the pages that visitors could view. My index page references these pages.
    styles
    - contains all my css files​

    Files in Root Directory:
    .htaccess - controls my url rewrites
    index.php - my reference page that displays pages from the page folder depending on the page query
    php.ini
    robots.txt
    rss.php - controls all my rss feeds
    sitemap.php - generates sitemap depending on search engine​


    Do any of you use a structured approach as this?
     
    dadougalee, Oct 25, 2007 IP