close
Drempd Web Design
home portfolio blog resume adventures contact
home portfolio

Organizing Files for Web Projects

October 02, 2015 Filed in: Web Development

Historically I've always organized my website files pretty much based on file type. For example, I would have an images folder, and a folder for javascript files, and a folder for sass/css files (php files generally are organized fairly logically, based on what they do). It seems like this is a normal setup, and this line of thinking was reinforced once I got a real job, and saw that this is how they do it too.

 

It's not really the best way though.

 

As I have been building out a few of my past projects, I've transitioned to a more modualized approach, meaning that things live together based on what they do. For example, I might have a navigation bar that, with behaviors that are controlled by javascript and there is obviously styling that occurs to get it to look the way I want. Rather than have all of these files spread out throughout the site, I now just place everything specific to that navigation bar module together, so the javascript, php, sass/css and anything else related to that bit of functionality in one place.

 

This organization makes it so much easier to find what I'm looking for, and it just feels far simpler. It also makes everything much more reusable, since I can just drop that collection of files into various projects, and everything needed to make it all work is together.

Related Posts


Importing Large MySQL Files into PHPMyAdmin

The default file size for uploading mysql dump files into PHPmyadmin is around 2mb. I needed to upload a 160mb file...
Read Post

Flatten a Wordpress Website to HTML and CSS

I recently inherited a whole bunch of wordpress websites for one of my clients -- in fact I think one of the first times it dawned on me that I would have to start working with these sites is when one of them got hacked...
Read Post

Designers Should Just Learn to Code

Of course all of the time spent learning a new piece of software could just be spent learning how to code...
Read Post

  • adventure

    • adventure
    • adventure thoughts
    • backpacking
    • biking
    • gravelgrinding
    • hiking
    • running
    • trips
  • Web Dev

    • android app dev
    • css
    • entrepreneurship
    • git
    • handlebars
    • html
    • inkscape
    • js & jquery
    • marketing
    • photoshop
    • php
    • projects
    • quickbits
    • sass
    • ux
    • web design
    • web development
  • The Built Environment

    • architecture
    • urbanity
  • Society

    • atheism
    • politics
    • society
  • Projects

    • ctitch
    • strymr
    • web projects
    • zindrop
  • Other

    • elements
    • favorites
  • Lifestyle

    • freelancelife
    • freelancing
    • ideallife
    • productivity

drempd | san diego, ca


home portfolio blog web elements resume adventures


Contact

Submitting...

Thank you for contacting me, we'll be in touch!

Thanks,
Forrest


Close this window

There was an error submitting your request. I aplogize for the inconvenience.


Close this window
Cancel