directory-structure

Development directory Structure

Heyall, I am wondering what directory structure are commonly used in development projects. I mean with the idea of facilitating builds, deploys release, and etc. I recently used a Maven structure for a java project, but I am not sure it's the best structure for a non-maven driven project. So, I have two questions: When you guys start...

how to save a public html page with all media and preserve structure

Looking for a linux application (or firefox extension) that will allow me to scrape an html mockup and keep the page's integrity. Firefox does an almost perfect job but doesn't grab images referenced in the css. The Scrabbook extension for Firefox gets everything, but flattens the directory structure. I wouldn't terribly mind if all f...

Are there naming conventions for ASP.NET web application directory structures?

Currently I am developing a site with about seven partial classes, a few icons, three pages and an App_Themes folder. I was interested to know, is there an industry standard directory structure for anything larger than a small project? For example, I want to keep the classes in separate folders, the images in separate folders etc. My cu...

What is the best project structure for a Python application?

Imagine that you want to develop a non-trivial end-user desktop (not web) application in Python. What is the best way to structure the project's folder hierarchy? Desirable features are ease of maintenance, IDE-friendliness, suitability for source control branching/merging, and easy generation of install packages. In particular: Wher...

Best practices for managing several specialized versions of one app

I have a web application that has many faces and so far I've implemented this through creating themes. A theme is a set of html, css and images to be used with the common back end. Things are laid out like so: code/ themes/theme1 themes/theme2 And each instance of the web application has a configuration file that states which theme ...

Is there a guide to path referencing in PHP?

I know how to include files that are in folders further down the heirachy but I have trouble finding my way back up. I decided to go with the set_include_path to default all further includes relative to a path 2 levels up but don't have the slightest clue how to write it out. Is there a guide somewhere that details path referencing for ...

Directory structure with commands . .

I have a winforms projects and we use the command pattern. We are trying to clean up our directory structure and make it consistent. We are trying to decide if we should have a root commands folder or not. What do you think is better for a directory structure? Project --Commands ----AddCommand ----SubtractCommand ----InsertCommand ---...

Where to put your delegates . . .

I am trying to determine the best directory structure of my application i have: UI Data Interfaces but i dont know where to put delegates.. should there be a seperate Delegates folder or should i store the delegates in the same classes where they are being used . . ...

Class bucketing . . .

Ok, so i have been trying to put everyone one of my classes in some root folder, either: UI BusinessLogic DataAccess BusinessObjects Interfaces i have a few more where i can't seem to bucket very well so i am looking for suggestions A Cache class that maintains a private dictionary and allows different access to objects based on so...

Moving files on different volumes in .NET

Hi, Apparently I can't move files on different volumes using Directory.Move. I have read that I have to copy each file individually to the destination, then delete the source directory. Do I have any other option? ...

Determining the best way to break up code into different folders and namespaces

i have the following directories: -UI -BusinessLogic -DataAccess -BusinessObjects if i have a class that is a client stub to a server side service that changes state on a server system, where would that go . . ...

Subversion usages

Hi all, I am just starting to use "Subversion" with "Tortoise SVN client" for one of my opensource project which is hosted on "Google Code". I would like to get some best practices on using it. I am following the default folder structure(trunk,branch,tag). Following are the questions When will you do the initial checkin? Is it only af...

What Is Your Software Development Directory Structure?

I have been experimenting with directory structures and am currently using the one below: | |_projects__ | | | |_blog.com_ | | |_mockups | | |_user stories | | |_.... | | | |_noteapp__ | |_mockups | ...

What is the best way to handle configuration files with git?

Say my application has a configuration files in plain-text. They contain some sensitive information which is required to test the application in my dev environment. I use different OSes to access and work on my projects (win, mac, ... ). I do not wish some of the information in the configuration files to make it to my public git reposit...

How to create directories specified by a mapper in Ant

Hi, Given a fileset <fileset id="myFiles" dir="."> <include name="**/*.file"/> </fileset> How do I create a sub-directory at each file in the set, named after the filename without the extension? For example, given the files folderA/X.file and folderA/folderB/Y.file, I want to create the directories folderA/X and folderA/folderB/...

SVN: Checkout/export only the directory structure

Hi everyone, is there a way to perform a SVN checkout (or export), which would fetch only the directory structure, i.e. no files? Thanks in a advance. ...

Cache directory structure

I'm in the process of implementing caching for my project, after looking at cache directory structures, I've seen many examples like: cache cache/a cache/a/a/ cache/a/... cache/a/z cache/... cache/z ... You get the idea. Another example for storing files, let's say our file is named IMG_PARTY.JPG, a common way is to put it in a direc...

Can you make subclipse create a folder structure when sharing a project?

When in eclipse and you decide to share a project in a subversion repository using subclipse, can you make it create a folder structure for that project automagically somehow? What I want is for every shared project to add this kind of structure: /Client/Project/branches /Client/Project/tags /Client/Project/trunk/EclipseProject Where ...

Tips for managing a large number of files?

There are some very good questions here on SO about file management and storing within a large project. Storing Images in DB - Yea or Nay? Would you store binary data in database or in file system? The first one having some great insights and in my project i've decided to go the file route and not the DB route. A major point aga...

Zend Framework: Getting started using SQLite

Sorry if this is overly simplistic. I've decided that I want to use an SQLite database instead of a MySQL database. I'm trying to wrap my head around how simple SQLite is and would like a simple, one answer tutorial on how to use SQLite with the Zend Framework, where to put my SQLite database in my directory structure, how to create the...