Questions tagged [project-structure]

Structure of files, folders and repositories used to organize project artifacts

Structure of files, folders and repositories used to organize project artifacts, including at least source-code and documentation.

195 questions
105
votes
3 answers

Folder-by-type or Folder-by-feature

I make use of an AngularJS style guide. Within this guide there is a style called folder-by-feature, instead of folder-by-type, and I'm actually curious what's the best approach (in this example for Java) Let's say I have an application where I can…
Jelle
  • 2,014
  • 2
  • 12
  • 19
73
votes
4 answers

What's in the "contrib" folder?

Often open-source software projects have a folder called "contrib". For example, Django has one. What is it for?
Colonel Panic
  • 1,017
  • 1
  • 8
  • 11
41
votes
3 answers

Should we call Web API from MVC application in same solution?

I am working on a project in MVC that has mobile application so one thing is clear that we have to use Web API so it can used in mobile application. After creating API when we started to develop Web site we are confused and had discussion on whether…
29
votes
5 answers

How to properly structure a project in winform?

A while ago I started to create a winform application and at that time it was small and I did not give any thought of how to structure the project. Since then I added additional features as I needed and the project folder is getting bigger and…
user850010
  • 498
  • 1
  • 4
  • 8
26
votes
3 answers

What's the best structure for a repository?

I've looked into many open source software repositories, and I've found some common elements and somethings people do in different fashion from one another. For example, every repository has a README file, a INSTALL file, a COPYING file and stuff…
jpmelos
  • 425
  • 1
  • 4
  • 6
26
votes
2 answers

What is the best way to structure an Android application?

I am starting a new Android application. What is the best structure to use? I am planning to make it a multi-package design as follows: Main package, including the Activity Service and data layer Entity package, including entity class. Any advice…
Basbous
  • 379
  • 1
  • 3
  • 7
26
votes
5 answers

What's the best way to organize our unit tests

We've built up a substantial number of unit tests for our main program over the years. Several thousand. The problem is that we don't have a clear idea of what tests we have because there are so many. And that's a problem because we don't know where…
David Thielen
  • 1,015
  • 2
  • 13
  • 14
17
votes
4 answers

C project avoiding naming conflicts

I'm struggling to find pragmatic real-world advice on function naming conventions for a medium sized C library project. My library project is separated into a few modules and submodules with their own headers, and loosely follows an OO style (all…
Dan Halliday
  • 273
  • 1
  • 2
  • 6
17
votes
3 answers

MVVM, DDD, and WPF Layered Application Project Structure Guidance

I am trying to setup my application's structure in VS and I want to "try" and future proof it to a reasonable level. This application will be a WPF re-write of an old Winform app that had followed no conventions. No Layers, Tiers, Acronyms,…
15
votes
6 answers

What use is a Business Logic Layer (BLL)?

In reading up on good practice for database applications I've frequently come across advocates of so-called "business logic layers" and I'm trying to decide if it's best for my project to use one (it's a small personal project). My issue lies in the…
Andrew
  • 1,461
  • 2
  • 12
  • 18
15
votes
3 answers

best way to install local package into docker image

I have a python package that I wrote and I want to use it within multiple docker builds. However, I can't just install my local package situated outside of Dockerfile folder. And I don't want to copy the package into multiple projects. So how do I…
Roman
  • 321
  • 1
  • 3
  • 11
15
votes
5 answers

Architecture(structure)-oriented vs. feature-oriented project structure

The project, I have involved, has an architecture-oriented project's file/folder structure: Root |____ Node1 |____ Event Handlers | |___ |____ Events | |___
Zzz
  • 631
  • 7
  • 18
14
votes
2 answers

Suggestions for a GUI library in Haskell

As the Haskell Wiki itself states: There is a large number of GUI libraries for Haskell. Unfortunately there is no standard one and all are more or less incomplete. In general, low-level veneers are going well, but they are low level. High-level…
Bface
  • 161
  • 7
13
votes
2 answers

Separating java projects

I have a large java project, and we use maven for our build cycle. This one project is used extensively - in other projects, in various applications, some of which are contained in it and some which are elsewhere... To be honest, it's a bit of a…
amaidment
  • 428
  • 3
  • 12
12
votes
4 answers

When it comes to hosting your personal throw-away projects, does one service and project structure stand out?

I'm looking at Google Code, SourceForge, BitBucket, and GitHub, since they seem to be the big players. Now, I haven't broken down all of the features that they provide yet, but I'm really looking for a place to put various code that I write (my…
Thomas Owens
  • 79,623
  • 18
  • 192
  • 283
1
2 3
12 13