project-structure

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 MVC support nested controller directories and namespacing? How do I manage routes to those...

Managing third party libraries and their dependencies

Specifically, how do you handle 2 different libraries sharing a common dependency? For example, I've structured a project with a Lib\ directory with each 3rd party library (and its dependencies) contained in separate sub-directories: Lib\ IBatis\ Log4Net\ etc. This is fine if there's no overlap. Required libraries are added ...

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...

How do you organise your ATG projects?

If you develop for ATG Dynamo, how do you structure your modules and dependencies? How do you structure the projects? source directories, JARs configs etc. How do you build and deploy? What tools do you use? ...

What Project Layer Should Screen DTO's Live In?

I have a project where we use screen DTO's to encapsulate the data between the Service Layer and the Presentation Layer. In our case, the presentation layer is ASP.Net. The only classes that know about the DTO's are the service layer classes and the Pages/Controls that call these services and display the DTO's. The DTO's are almost alw...

How do you manage your Delphi Projects with third-party components in Version Control?

Installing third-party components always take a long time specially if you have large ones, but also it take more time if you setup the environment in more than one computer. And I'm thinking to add them to the Version Control (Subversion), so it will be always easy to checkout the project with all it's required components. So How you ...

In Delphi, should I add shared units to my projects, to a shared package, or neither?

This question is similar to this one, but not a duplicate because I'm asking about issues not discussed in that question. I have a client-server project in Delphi 7 with the following directory structure: \MyApp \MyClientApp \MyServerApp \lib There are 2 actual Delphi projects (.dpr), one each in the MyClientApp and MyServerApp...

What are the benefits of sticking with maven's default project directory structure?

Simply put, if you're using maven, should you treat the maven layout as the gold standard, or should you convert your layout to fit your tooling (WASD, myEclipse, RAD, etc.)? Realizing that maven is configurable and you can override the defaults in the Super POM, I'm attempting to determine if I should change the layout to support spe...

[GWT] Problem with multiple entry Points in the same module

I have multiple entry points in the same module. For example I have an Home entry point for the home page and an Admin entry point for the admin page. <entry-point class='com.company.project.client.HomeModule'/> <entry-point class='com.company.project.client.AdminModule'/> The way I am setup now - I need to check somt like this in...

What is the best practice for the location of Java application configuration files?

Is there a best practice for where configuration files should be stored in a Java project. The file type is a Java properties file in this case, but I do use other file types in other projects. Would the recommendation vary from stand alone application(.jar) to web app(.war)? ...

Should I check in *.mo files?

Should I check in *.mo translation files into my version control system? This is a general question. But in particular I'm working on Django projects with git repositories. ...

Using Eclipse for Intellij Idea projects

I like Eclipse and I want to use it, the problem is that I can't figure out a simple and fast way to configure projects once checked out from svn. All projects I work with have several modules and are configured with a top folder which contains four folders: the build output, libs, main and profiles. In detail: libs contains comp...

Structure and behavior in UML

Hello! I had some questions regarding the structure and behavior of a model, using UML, and the relationship between the two : Did you find any limitations for UML regarding the specification or understanding of the relationship between structure and behavior? I was wondering if you have any practical ideas of how one can optimize the...

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 to do is require a single "config" php class file on each page, and be able to "call" or...

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? ...

ASP.NET MVC (Domain Model, Repository, Fluent, Services - Structure for my Project)

Hello, In my ASP.NET MVC web application, I have: Domain Model, created by LINQ to SQL Repositories such as UserRepository and OrderRepository IQueryable Fluents as IQueryable Extension Methods such as public IQueryable<Order> GetNewOrders(this IQueryable<Order>) Services such as UserService and OrderService Utility Classes and Ex...

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 referenced sub projects and itself? Or do the subprojects know how to build themselves and I ...

How to structure a website project in Eclipse

I am starting a web application project that will have an Adobe Flex front-end and a PHP/MySQL back-end. I've developed a lot of C++ desktop applications, but am new to building web applications, and to the Eclipse environment. I have set up my current project structure in Subversion as: --MyWebsite +--tags +--branches +--trunk ...

ASP.NET MVC Project Structure for larger sites

I'm surprised I can't find more discussions out there about an issue that is really bothering me on our project using ASP.NET MVC. How can you deal with a Visual Studio solution that has multiple projects? The MVC framework has the Models/Views/Controllers folder in the main project. But what if you want to break up your solution into ...

What is the recommended django project structure

Hello, I haven't exactly found the answer to this, maybe there is no best one. Django docs are not clear on this thing. I'm not sure what is a good practice to set up a django project. Sure I have re-usable apps. But I always need some glue-code. I find myself always creating "core" app for each project, which usually serves homepape....