project-structure

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 http://developer.android.com/guide/developing/eclipse-adt.html, it needs to have the AndroidManifest.xml file at the r...

ASP.NET MVC Default Project Structure and the Scripts Folder

Is there any advantage to leaving the Scripts folder where it is in the default ASP.NET MVC Project structure. In my mind it makes more sense to create subfolders for scripts, css files, and images under the Content folder. Any downside to doing this? ...

Where should the DAOs go in a project structure?

I am working on a project in VB.Net and need to implement the DAL. I am not quite sure where in my project is the best place to stick the DAOs. Should I stick the DAO in the same namespace as the business objects that are going to use them. Or should I lump all the DAOs together. I have a Java background which might taint my understandi...

Should Unit Tests be in their own project in a .Net Solution

Should I start a new project for my unit tests? That would mean that I would get two executables correct? Then I am worried about the namespace organization. Would I be able to put the unit test in the same namespaces as the classes that they are testing although they are part of a different project? This raises another question. I know...

In what package should a "Settings" class be placed?

I'm in the middle of building an application but found myself too easily creating new packages without keeping the project's structure in mind. Now, I'm trying to redo the whole project structure on paper first. I am using a Settings class with public properties, accessed as settings for several other classes around the project. Now, s...

How do I push a new project to a shared Mercurial multi-repository?

I have a local machine ("laptop") and a shared Mercurial repository on another machine ("server"). The shared repository is set up as a multi-repository as described in the Mercurial documentation using Apache, the hgwebdir.cgi script and Mercurial 1.4. The setup works in the sense that I can browse the projects (repositories) in the ...

Pyjamas + Django: project without any external libraries

I would like to create small project using django and pyjamas. I tried googling for some solution on how to merge those two, but I found only projects using some external libraries using json services. Could anyone give me some advice on how to build such project so I wouldn't have to use them? I would like to use django auth system, but...

file layout and setuptools configuration for the python bit of a multi-language library

So we're writing a full-text search framework MongoDb. MongoDB is pretty much javascript-native, so we wrote the javascript library first, and it works. Now I'm trying to write a python framework for it, which will be partially in python, but partially use those same stored javascript functions - the javascript functions are an intrinsi...

Where should test classes be stored in the project?

I build all my web projects at work using RAD/Eclipse, and I'm interested to know where do you guys normally store your test's *.class files. All my web projects have 2 source folders: "src" for source and "test" for testcases. The generated *.class files for both source folders are currently placed under WebContent/WEB-INF/classes fold...

Web service reference location?

I have a Visual Studio 2008 solution that's currently consisting of three projects: A DataFactory project for Business Logic/Data Access. A Web project consisting of the actual user interface, pages, controls, etc. A Web.Core project consisting of utility classes, etc. The application requires consuming a web service. Normally I'd ad...

C#: Folder structure with service layer, interfaces, and mocks?

I recently started creating services layers and making declarations like: MyService myService = new MyService(); myService.DoSomething(); This was inspired by some ASP.NET MVC videos and I like the pattern. Then I started creating interfaces and mocks like: IMyService myService = new MockMyService(); myService.DoSomething(); So ...

How to make a Visual Studio C++ project structure match the file system structure?

I'm currently using Visual Studio 2010 Professional. In my entire experience with Visual Studio (since version 6), a C++ project structure was always virtual. In other words, when I move files around and create folders in the project, this had no bearing on the actual structure on the filesystem. I've always had to manage the two indepen...

Should external libraries be inside or outside my PHP project directory structure?

I'm building my first PHP project, and am not sure where to put external libraries like doctrine. I could put them inside my app, making it easier to reference with a relative path: myproject app public lib doctrine log Or I could put them outside my project directory structure, making it easier to share between mul...

How to setup a project in Netbeans for EJB development using OpenEJB?

We want to evaluate OpenEJB for our application. We have already performed some tests and now we need to start a pilot project. While I've seen how to use OpenEJB for testing purposes (mainly for JUnit tests), I have not seen how to set up an EJB 3.X project inside Netbeans for deployment in OpenEJB. The way we did for testing purposes...

Silverlight Application Project Structure - How much is too much?

My team is working on creating our first Silverlight 4 Application. First of all to give a bit of detail on the actual project. It will be Silverlight 4 that is designed to run Out-oF-Browser and we will be using WFC for data services with our own implementation of Dataobjects. (NO entity framework, LINQ-to-SQL, etc). We have a few c...

XML Marshalling + Project structure

I want to create a spring-ws web service that eventually marshals a POJO into xml. I'd also like the clients of the web service to unmarshal the xml back into the POJO. How should I structure the projects? Currently my thinking is: Domain and business layer project - has the ability to query mainframe and create POJOs. This project ha...