What Is Your Software Development Directory Structure ?

This is a fairly subjective topic as individuals or development groups each have their own philosophy. In this topic I’ll present mine. It you find that structure useful for you, at the end of this article you will be able to download the batch file to create the folder structure for you.

drive: I default to the D drive if I have one. Otherwise, C drive.

  • archive: This is my project junkyard, for projects I no longer maintain or use, but which I can’t quite bring myself to delete.
  • doc: This is a good place for general software development documentation, best practices docs, or process and procedures sorts of documents. A copy of this post will likely wind up there.
    • images: Contains supporting images for docs found in the doc parent folder.
  • resources: These are resources that span multiple products/projects, like a company logo, for example. You might need or want more than just the sub-folders I currently have defined.
    • icons
    • images
  • sandbox: My development sandbox. This is the ultimate in junk drawers, where anything goes. I dump sample code here, as well as ‘trial and error’ types of projects. None of it is ever checked-in. If I do want to check something from here in, it gets moved into a solutions folders.
  • setup: This is an environment-wide area for any utilities, batch files, etc. I use to setup my development or build environments. The batch file (download below) that creates my initial folder structure lives here, for example.
  • solutions:
    • iSCM (this is just a generic project name placeholder; rename as needed) This is where the .sln file lives. Individual projects then exist under the branches/tags/trunk subfolders.
      • backup: Sometimes I like to take zip file snapshots of my source, or I might have a version of some file that I want to hang on to separate from its source control location. Think of this as a generic project backup folder.
      • doc: This is for project-specific documentation, such as technical or design specs, or usage guidelines.
        • images
      • branches
      • tags
      • trunk
      • test
        • artifacts: So far this winds up being a repository for any files my integration tests require. Not all projects have integration tests, so not all project use this folder.
  • tools: This is where, broken down by sub-folder, every tool, gadget, utility, add-on, etc. that I use either for development or as part of my build environment, goes. This might include CruiseControl.NET, NUnit, ReSharper, etc. Basically any piece of software that I might need to download and install in order to restore my build environment or machine.

Click here to download folder structure.

Bruce Springsteen – We Take Care Of Our Own

We Take Care Of Our Own

I’ve been knockin’ on the door that holds the throne
I’ve been lookin’ for the map that leads me home
I’ve been stumblin’ on good hearts turned to stone
The road of good intentions has gone dry as bone
We take care of our own
We take care of our own
Wherever this flag’s flown
We take care of our own

From Chicago to New Orleans
From the muscle to the bone
From the shotgun shack to the Superdome
We yelled “help” but the cavalry stayed home
There ain’t no-one hearing the bugle blown
We take care of our own
We take care of our own
Wherever this flag’s flown
We take care of our own

Where the eyes, the eyes with the will to see
Where the hearts, that run over with mercy
Where’s the love that has not forsaken me
Where’s the work that set my hands, my soul free
Where’s the spirit that’ll reign, reign over me
Where’s the promise, from sea to shining sea
Where’s the promise, from sea to shining sea
Wherever this flag is flown
Wherever this flag is flown
Wherever this flag is flown

We take care of our own
We take care of our own
Wherever this flag’s flown
We take care of our own
We take care of our own
We take care of our own
Wherever this flag’s flown
We take care of our own

Leonard Cohen – Hallelujah

Hallelujah

I’ve heard there was a secret chord
That David played, and it pleased the Lord
But you don’t really care for music, do you?
It goes like this
The fourth, the fifth
The minor fall, the major lift
The baffled king composing Hallelujah

Hallelujah, Hallelujah
Hallelujah, Hallelujah

Your faith was strong but you needed proof
You saw her bathing on the roof
Her beauty in the moonlight overthrew you
She tied you to a kitchen chair
She broke your throne, and she cut your hair
And from your lips she drew the Hallelujah

Hallelujah, Hallelujah
Hallelujah, Hallelujah

Baby I have been here before
I know this room, I’ve walked this floor
I used to live alone before I knew you.
I’ve seen your flag on the marble arch
Love is not a victory march
It’s a cold and it’s a broken Hallelujah

Hallelujah, Hallelujah
Hallelujah, Hallelujah

There was a time when you let me know
What’s really going on below
But now you never show it to me, do you?
And remember when I moved in you
The holy dove was moving too
And every breath we drew was Hallelujah

Hallelujah, Hallelujah
Hallelujah, Hallelujah

Maybe there’s a God above
But all I’ve ever learned from love
Was how to shoot at someone who outdrew you
It’s not a cry you can hear at night
It’s not somebody who has seen the light
It’s a cold and it’s a broken Hallelujah

Hallelujah, Hallelujah
Hallelujah, Hallelujah

You say I took the name in vain
I don’t even know the name
But if I did, well, really, what’s it to you?
There’s a blaze of light in every word
It doesn’t matter which you heard
The holy or the broken Hallelujah

Hallelujah, Hallelujah
Hallelujah, Hallelujah

I did my best, it wasn’t much
I couldn’t feel, so I tried to touch
I’ve told the truth, I didn’t come to fool you
And even though it all went wrong
I’ll stand before the Lord of Song
With nothing on my tongue but Hallelujah

Hallelujah, Hallelujah
Hallelujah, Hallelujah
Hallelujah, Hallelujah
Hallelujah, Hallelujah
Hallelujah, Hallelujah
Hallelujah, Hallelujah
Hallelujah, Hallelujah
Hallelujah, Hallelujah
Hallelujah

Leonard Cohen – Show Me the Place, with lyrics

Show Me the Place

Show me the place, where you want your slave to go
Show me the place, I’ve forgotten I don’t know
Show me the place where my head is bend and low
Show me the place, where you want your slave to go

Show me the place, help me roll away the stone
Show me the place, I can’t move this thing alone
Show me the place where the word became a man
Show me the place where the suffering began

The troubles came, I saved what I could save
A shred of light, a particle away
But there were chains so I hastened to the hay
There were chains, so I loved you
Like a spade

Show me the place, where you want your slave to go
Show me the place, I’ve forgotten I don’t know
Show me the place, where you want your slave to go

The troubles came, I saved what I could save
A shred of light, a particle away
But there were chains so I hastened to the hay
There were chains so I loved you like a slave

Show me the place
Show me the place
Show me the place

Show me the place, help me roll away the stone
Show me the place, I can’t move this thing alone
Show me the place, where the word became a man
Show me the place, where the suffering began.