project-organization

How does your organization handle common components?

A common component is a library or some other piece of code that is created and maintained by one group and used by many groups. Some problems we have are: The users don't report issues with the components. Users build workarounds to the components to suit their needs. They break compatibility with the trunk version just to meet their...

How to organise source code in a modular manner

I'm currently working on a project that has scope to become quite large, however being relatively new to C++ and coming from a Java background I'm not sure about the best way to proceed. I would like to have a directory structure similar to: + Root - main.cpp + Engine + Core - foo.cpp - foo.h + Utili...

C++ project source code layout

One of the popular way to organize project directory is more or less like this: MyLib +--mylib_class_a.h mylib_class_a.cpp mylib_library_private_helpers.h mylib_library_private_helpers.cpp MyApp +--other_class.h other_class.cpp app.cpp app.cpp: #include "other_class.h" #include <myl...

Best way to organize the files in my project

What is the best way to organize the files in your project? For example do you put all user controls in a separate folder or do you place them in a sub folder? Do you have business logic folder? A helper classes folder? I used to organize my projects like this: Project/User Controls/Module Name/ Project/Classes/Module Name/ Now I ...

Worth the headache to organize SQL files by application subject?

At my company, we save each database object (stored proc, view, etc) as an individual SQL file, and place them under source control that way. Up until now, we've had a very flat storage model in our versioned file structure: DatabaseProject Functions (all functions here; no further nesting) StoredProcedures (all stored procs in h...

Organizing hundreds of personal and example projects?

How do you organize projects when you have hundreds of them? Not layout within a project, but layout of the project root directories. I'm consolidating a decade+ of personal and example projects that are scattered all over the disks on several systems, and am looking for some organizational method that will let me keep the dozen or so a...

Time tracking software for hourly billing

Greetings, I know this would be rather trivial to develop - however I have a large list of rather trivial projects which should be done so this would just be another. I do free lance work on a variety of different projects. Can anyone suggest to me an application where by I can create projects and state how many hours I worked on the...

ASP.NET project organization

This may be a broad question because part of the problem is that I actually don’t know what the question is. What I would like to know is how you commonly organise ASP.NET applications in terms of placement of pages (aspx), user controls (ascx), server controls and other support classes and utility functions etc. First, let’s assume that...

Should internal .NET applications be placed in the same namespace as the internal libraries they depend on?

The company where I work has recently decided to use a combination of .NET and Java for all future development efforts. We've been trying to standardize how we organize our code into namespaces (.NET) and packages (Java) and no one really has experience trying to organize namespaces for multiple products involving multiple platforms. Re...

Default directory layout for Java project

Is there any standard directory layouts for Java projects? What layout do you prefer most? I'm asking about more complex layout than just 'src' and 'bin' in project's directory (i.e. where do you put your test classes, build configurations, etc.?). Thanks in advance. ...

Best practices when Design iPhone Game with MVC ?

Hi there, I have made two games for the iPhone already, the first one was a mess, and the second one is less messy but still, not perfect. I would love to hear if someone had some links that pointed to good class organization advice when creating games using MVC ? ...

Organization of Unit Tests in Visual Studio

I'm currently creating a paired unit test assembly for every assembly in my project, both are in the same folder. MyProject/MyProject.csproj MyProject.Test/MyProject.Test.csproj Looking at open source projects, I've seen some smaller project put all tests in one assembly, and other split it out like mine. I'm dealing with a large so...

How to avoid circular unit reference?

Imagine the following two classes of a chess game: TChessBoard = class private FBoard : array [1..8, 1..8] of TChessPiece; ... end; TChessPiece = class abstract public procedure GetMoveTargets (BoardPos : TPoint; Board : TChessBoard; MoveTargetList : TList <TPoint>); ... end; I want the two classes to be defined in two separate ...

Best way to keep related files together in Django

What’s the best way to keep related files together in Django? In addition to our HTML templates, most views have at least one additional JavaScript file, and possibly an additional CSS file. For example: item_detail.html item_detail.js item_detail.css We want to keep these files side-by-side if possible, so we don't have to look in ...

How to organize unit testing of a library project in Xcode?

I'm not yet a fan of integrated development environments, but I'm trying to overcome my prejudices and learn Xcode. (Eclipse/CDT is next; I couldn't get that to work for me either when I tried last year, but that's a separate issue.) I am writing some new code in a new project that will become (part of) a small library. I want to unit...

Reasons to split project into multiple projects?

What are common reasons to split a development project (e.g. ASP.NET MVC application) into multiple projects? Code organization can be done via folders just as well. Multiple projects tend to generate circular reference conflicts and increase complexity by having to manage/resolve those. So, why? ...

Use a separate WCF project with Silverlight

I am working on a Silverlight application that uses WCF. I need to have my WCF project separate from the ASP.Net application that will host my Silverlight project. I am looking for some guidance on how I should organize my solution and list gotchas other people have experienced during debugging and deployment. Specifically my questions ...

SVN organization for a 3rd-party component

Hi, We are a small company which develops components for the Joomla! CMS. In the Joomla!'s jargon, a component is a small application that extends the CMS features (we are for example editing a directory component). As a classical framework, Joomla has a pre-defined files structure which looks like this one: |-- administrator/ | |--...

Eclipse Java project folder organization

I am coming to Java and Eclipse from a C#/Visual Studio background. In the latter, I would normally organize a solution like so: \MyProjects\MyApp\MyAppsUtilities\LowerLevelStuff where MyApp would contain a project to build a .exe, MyAppsUtilities would make an assembly DLL called by the .exe, and LowerLevelStuff would probably build ...

Structuring a Silverlight Application with Several Modules

I'm working on a Silverlight page which has several modules for querying and plotting data from a Database. Each of these modules is quite different and will each need their own control panels and data displayed in different formats, they will basically be unrelated, but we want them accessible from the same page. My question is, how sh...