
-----------------------------------
geekhut
Wed Oct 10, 2007 2:20 pm

Freat way to manage pages
-----------------------------------
I know i misspelled "Great" but maybe "FREAT" means something better than great?...

to keep things tidy i like to follow a simple template i've been using for the last long time:

directory structure

/ ->
     /inc -> controller.php (or other standalone included javascript, php files
     /tpl -> all template files go here (forms, output data)
     /class -> all classes go here
     /img ->all images go here
     /css -> style.css
     /index.php

INDEX.PHP











Page Title



     
          
          
                   
          
          
     



/inc/controller.php

