Hot Posted March 11, 2010 Share Posted March 11, 2010 I am looking to restructure my work folder and was wondering how other web developers organize their websites. The amount of files you have just mushrooms, from the actual website folder to backups, art files, schematics, resources supplied by the client, etc. Link to comment Share on other sites More sharing options...
0 sweetsam Posted March 12, 2010 Share Posted March 12, 2010 Project Root |--image resources psd, images from client |--text, doc files |--php backups |--system |--application |--public_html |--CSS |--images |--html |--js |--index.php Link to comment Share on other sites More sharing options...
0 Kudos Veteran Posted March 12, 2010 Veteran Share Posted March 12, 2010 (edited) Typically I'll set up my projects with a skeletal structure like so: Project Root |--app |--bootstrap.php |--config |--controllers |--lib |--models |--views |--bin |--fabric |--config |--lib |--html |--index.php |--media |--css |--images |--js Link to comment Share on other sites More sharing options...
0 Mouldy Punk Posted March 13, 2010 Share Posted March 13, 2010 / /client/ (docs, designs etc) /includes/Models /includes/Views /includes/Controllers /includes/Libraries (ie, 3rd party stuff/utility classes etc) /public_html/images /public_html/js /public_html/css /public_html/index.php /public_html/.htaccess I tend to use that as a base for most projects. I often have a couple of files in the /includes folder for configuration files and autoloader. Link to comment Share on other sites More sharing options...
0 metal_dragen Veteran Posted March 14, 2010 Veteran Share Posted March 14, 2010 I generally go with something like this: / /lib/ --js/ /style/ /images/ /source/ --images/ --text/ I use the source folder for all client-provided files, and research, stock images, etc. in raw format. Link to comment Share on other sites More sharing options...
0 Kami- Posted March 15, 2010 Share Posted March 15, 2010 Project Root |--image resources psd, images from client |--text, doc files |--php backups |--system |--application |--public_html |--CSS |--images |--html |--js |--index.php That's awfully close to mine :o Link to comment Share on other sites More sharing options...
0 MikeChipshop Member Posted March 15, 2010 Member Share Posted March 15, 2010 First of i have an entire (backed up) hard drive for work. In that i have a folder dedicated to web development, the folders with client/website name in each of those i have "www", "files" and "Notes" Link to comment Share on other sites More sharing options...
0 Pc_Madness Posted March 18, 2010 Share Posted March 18, 2010 /images/ /styles/ /js/ /includes/ /includes/database/ /includes/dao/ /includes/mail/ /data/ /data/cache/ /data/mailtemplates/ /uploads/ I spose I could move uploads into data as well *ponders*. And then I just have any pages that display HTML in the root, and occasionally I'll group them into a sub folder. What are model and views? Link to comment Share on other sites More sharing options...
0 metal_dragen Veteran Posted March 18, 2010 Veteran Share Posted March 18, 2010 What are model and views? Models and Views, along with Controllers, are part of the MVC architecture for application development. The 2 cent explanation is this: models represent your data store, views are the display elements and logic that is client-facing, and controllers are the "business" logic (all the behind-the-scenes processing of data, user input etc.). Link to comment Share on other sites More sharing options...
Question
Hot
I am looking to restructure my work folder and was wondering how other web developers organize their websites.
The amount of files you have just mushrooms, from the actual website folder to backups, art files, schematics, resources supplied by the client, etc.
Link to comment
Share on other sites
8 answers to this question
Recommended Posts