Development Directory Structure

While implementing version control, I changed several things in my development environment. One of those things is the directory structure. I did some reading online, especially ColdFusion MX Coding Guidelines - Structure: Application, Component, Tag etc (scroll down to the Directory Structure For Applications section). Most of what everybody else talked about referred back to this guide. The big question that I had as a developer was; how to handle multiple sites? The apparent consensus is to place each application in wwwroot whose parent is cfmxroot. Each application has its own webroot where the .cfm files go and other non-web folders. The overall development environment then has folders for supporting files within the cfmxroot. The following is the expanded structure including some folders which I probably won't use, but are there if I need them:


C:\cfmxroot
config
extensions
  components
  customtags
  includes
wwwroot
  appname
  db
  extensions
    components
    customtags
    includes
  webroot
    images
    shared
      css
      documents
      images
      js
      services
Post a Comment
  1. Leave this field empty

Required Field

Rate this