project-organization

how do you organize your namespaces?

So I have logical entities (person, country, etc.), gui elements / controls, data and navigation controllers / managers, then things like quadtrees and timers and I always struggle with cleanly separating these things into logical namespaces I usually have something like this: Leviathan.GUI.Controls Leviathan.GUI.Views Leviathan.Entit...

SVN Project(s) organization: per-module or per-project

I have a subversion repository that contains a number so subfolders, corresponding to the various applications, configuration files, DLLs, etc (I'll call them 'modules') that make up my project. Now we are starting to "branch" into several related projects. That is, each high-level project will use a number of the modules, possibly sli...

Project dependencies across multiple Visual Studio versions

I have 3 .net projects. Project1.dll is generated by a VS2008 project. Project2.dll is generated by a VS2005 project that references Project1.dll. Project3.dll is generated by a VS2008 project that references both Project1.dll and Project2.dll. Right now, I build Project1.dll, and manually copy it to the place where Project 2 can...

Resisting regression to the mean in large developer organizations.

How does your organization resist regression to the mean. By this I mean how do you keep the "accepted practices" from domination, stifling innovation and original thinking. Do your architects dictate methodologies so that innovators have to hide their work? Is the path chosen which the average programmer can handle in favor of the mo...

Including one C source file in another?

Is it OK (or even recommended/good practice) to #include .c file in another .c file? What happens when they are included in a project file? ...

How do you come up with names for your namespaces?

I'll preface this by saying that I usually work in C#/.Net. Normally, I use a naming scheme that puts common, reusable components into a namespace that reflects our organization and project-specific components into a namespace tied to the project. One of the reasons I do this is that I sometimes share my components with others outside ...

How to organize the project tree for a C++ project using nmake?

There seems to be two major conventions for organizing project files and then many variations. Convention 1: High-level type directories, project sub-directories For example, the wxWidgets project uses this style /solution /bin /prj1 /prj2 /include /prj1 /prj2 /lib /prj1 /prj2 /src ...

Starting project from scratch: how and when to distribute the workload?

Hello, My friend and I are going to develop a new commercial web project. We have a kind of a document that lists all the things that we want to have and we are wondering what is the best way to actually start coding it. The thing is that we used to develop software either in solo-mode or join some projects that were in the middle of de...

C# single project organization

I am reorganizing my source files into a single solution with a single project, due to various reasons: a paranoic configured antivirus software; Advices on partitioning code through .NET assemblies Control component dependencies to gain clean architecture Benefit from the C# and VB.NET compilers perf This leaves me with many namespa...

How do you order/control client documentation and assets?

I would class myself as a typical small developer/independant designer and I recently purchased some new hardware for the office and thought I better organise myself better than I have in the past. So I am wondering how you all organise all your files etc so that you can find them easily enough, and relate them together. Currently I ha...

Calling Application Methods from a wx Frame Class

I'm starting out with wxPython and have been working my way through every tutorial and example I can get my hands on. I've run into a slight problem, however, and it has to do with the wx.App versus the wx.Frame and which should contain specific methods. Just about every example I've seen don't go much beyond layouts/sizers and event h...

Organising my Python project

I'm starting a Python project and expect to have 20 or more classes in it. As is good practice I want to put them in a separate file each. However, the project directory quickly becomes swamped with files (or will when I do this). If I put a file to import in a folder I can no longer import it. How do I import a file from another folder...

How can I organize all my code, data, scripts, tasks etc?

What tools or approaches would you recommend to a 'one-man team' to keep organized? I'm doing research that involves a lot of coding, writing hundreds of throw-away perl scripts, C++ binaries that get used until I find some better approach, large amounts of data that gets preprocessed in different ways, where some new preprocessing mak...

How to organize packages (and prevent dependency cycles)?

I've been running some metrics on my Java project and apparently there are a lot of dependency cycles between packages. I didn't really know how to organize stuff into packages, so I just did what made sense to me, which is apparently wrong. My project is a neural network framework. Neural networks have Neurons, which are connected to e...

How to prevent antagonism between DBAs and developers

This seems to be a common pattern in nearly any large organization with lots of IT infrastructure: DBAs and developers are more or less at each other's throats. The DBAs see the developers as incompetent whippersnappers with no understanding of data integrity and DB performance, who must be prevented from compromising the "database fort...

How to organize views and controllers hierarchically when having model with many children

Lets say I've a website that lists Persons, and each Person has multiple properties, some one-to-one (name, address), some one-to-many (favorite colors, bank-accounts etc). In my business layer it's nicely hierarchically organized. How do I organize this is my controllers and views? Should I have a PersonsController, FavoriteColorsCon...

How do you organize classes on a large project?

We have a ton of features in our application that can be described very concretely as a module. The usually have some sort of setup dialog, then when the user clicks ok, it configures a process to run and runs that process. Sometimes they are more involed and the user will open up the new dialog and work on the dialog for a while, doin...

Project Organization in C Best Practices

Hello, I am wondering what the best practices are for organizing a large C project are. It is a professional project, not an open source one, likely to be stored in a Git repository. How should things be sorted? Where should structures go? When should one use functions attached to structures versus functions that take a structure as a ...

Should QA report to development?

Here's a question I've run across in many, many companies: should QA teams report to the development organization, or be equivalent to development in the company hierarchy? ...

Is a good idea to put all projects in the same trunk?

We understand the default and usually recommended svn repository organization, in case of having multiple projects, is something like this: root/projectA/(trunk, branches, tags) root/projectB/(trunk, branches, tags) ... Our projects have a lot of interdependence, and that would demand an extense use of svn:externals between them, cons...