Questions tagged [project-structure]

Refers to layout of folders and components to help organize a project's files, whether code or resources

482 questions
1
vote
1 answer

C++ Large Scale Program/Framework construction

I am a c# programmer, hobbyist actually, with deep interest in programs both low-level and high-level. Many a time I come across C/C++ projects that have huge amounts of code like this -> #if defined(LUA_COMPAT_GETN) LUALIB_API int (luaL_getn)…
1
vote
1 answer

branching a project in TFS to support multiple active versions

We have an application which has multiple active versions and we have some customers using older version and some using the newer version. They share lot of common code. What is the best way to branch this out in TFS? Should we create separate…
RKP
  • 5,285
  • 22
  • 70
  • 111
1
vote
0 answers

Structure of WAR project with Javascript tests and debug files

I am working on an existing project. It is a web application with a backend written in Java and a number of static images, HTML and Javascript resources packaged as a WAR file. The project is fairly old and has a completely custom structure in terms…
ppbitb
  • 519
  • 1
  • 7
  • 19
1
vote
3 answers

Is there any way to make ADT project directory layout more flexible?

I asked this question on the android-developers group but didn't get any response, so I thought I'd try here. The ADT eclipse plugin seems to have a pretty rigid idea of how an Android project should be structured - per…
Tim Gilbert
  • 5,721
  • 5
  • 33
  • 28
1
vote
2 answers

Maven Project Structure with Multiple Modules

I am somewhat new to the Maven project structure. I am creating a project this is going have two jars. Neither jar is dependent on each other, however, they will use some of the same libraries and there are two helper classes I created (one for…
dev
  • 1,477
  • 5
  • 18
  • 43
1
vote
3 answers

python django project and folder structure (differing from WAMP)

I have my development environment setup on Win 7 like this: Django development structure Apache -server- C:\Program Files (x86)\Apache Software Foundation\Apache2.4 PostgreSQL -database- C:\Program Files\PostgreSQL\9.2 Django …
Snerd
  • 1,463
  • 3
  • 25
  • 36
1
vote
3 answers

C# - Where to put interface extensions?

I am designing an interface in a C# project which will be extended with various extension methods. Now I thought of putting the static class containing the extension methods in the same file as the interface itself. I am not sure though if this is…
Dennis
  • 14,210
  • 2
  • 34
  • 54
1
vote
1 answer

Multiple Copy of an Asp.Net MVC Project

We have an abstract asp.net mvc project which has many copies. Actually every copy project has almost same functionality. But sometimes it can be different in some actions and controllers. Also, every copy project has their own theme. But they share…
oruchreis
  • 866
  • 2
  • 12
  • 28
1
vote
1 answer

Nant: Building projects using svn-externals

Using subversion and Nant for building. I have a main project that depends on several sub-projects. The sub-projects exist as separate projects inside subversion. My question is: Should the nant build script in the main project build all the…
User
  • 62,498
  • 72
  • 186
  • 247
1
vote
2 answers

From C++/C# to Java -- Properly structuring code with "one public type per class" rule

I just started developing in Java after not having touched it since my college days. So far I've been able to remember a lot of things and read up on a whole bunch, this one is still not clear to me... The problem I'm having is that a lot of…
DXM
  • 4,413
  • 1
  • 19
  • 29
1
vote
1 answer

Can CMake build subprojects (with benefits)?

I have some huge project that is being compiled in CMake. It is developed for quite a long time, have 8000+ source/header files (over 500Mbytes, over 500 CMakefile.txt files). They use directory structure like this PROJECT_NAME src /…
DinGODzilla
  • 1,611
  • 4
  • 21
  • 34
1
vote
2 answers

Dynamically building/loading a class library in PHP

I am fairly new to OO programming... I am building what will eventually turn out to be a large library of classes to be used throughout my site. Clearly, loading the entire library on every page is a waste of time and energy... So what I would like…
johnnietheblack
  • 13,050
  • 28
  • 95
  • 133
1
vote
2 answers

Use cases for new Django 1.4 project structure?

I guess this is sort of a followup question to Where should i create django apps in django 1.4? The final answer there seemed to be "nobody knows why Django changed the project structure" -- which seems a bit unsatisfactory. We are starting up a…
Adam
  • 938
  • 1
  • 8
  • 22
1
vote
1 answer

How to customize directory structure in ASP.NET MVC?

The project I'm starting to work at will have several dozens of controllers, so it would be nice to structure them into logical directories and respective namespaces, like "Controllers/Admin/", "Controllers/Warehouse/Supplies/", etc. Does ASP.NET…
mocco
  • 3
  • 1
  • 3
1
vote
1 answer

Renamed folder in Django project but old name persists

After reading more about common Django project structure, I renamed my 'media' folder to 'static' since it contains the CSS, javascript, and images for my web app and no user uploaded files. However, my project isn't finding the new directory, and…
pcaisse
  • 754
  • 2
  • 11
  • 19