The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
30 views

Store as much code as possible in single folder to allow easier upgrading

I have a rather large Python code with a structure that looks like this: my_code.py +-- packages/ |-- __init__.py +-- pack1/ |-- modu_11.py |-- modu_12.py +-- ...
7
votes
6answers
685 views

How are large JavaScript applications supposed to be structured?

I've recently been shown some JavaScript plugins written for OBIEE Mobile App Developer, as well as some custom libraries for various projects. Coming from an OOP background, I am a little confused ...
-1
votes
0answers
33 views

How to handle projects depending on each other with Node.js?

I'm a .NET developer and I'm used to the idea of spliting a solution in a bunch of projects which holds references to each other. So usually I create projects like MyApp.Domain, MyApp.Data, MyApp....
0
votes
1answer
23 views

URL endpoint concatenating

When writing API clients, what is considered the proper way of concatenating a URL together with multiple endpoints? For example with the Blizzard API: WowEndpoints := [...]string{"achievements", "...
2
votes
0answers
59 views

Elements of structure in a functional program

In object oriented, we have requirements, use cases, and UML which can form a nice conceptual framework. The goal there, is to define objects, their responsibilities, behaviors and communications ...
6
votes
4answers
381 views

How can I effectively use one file per class in C++?

Even though I have a decent bit of professional experience with object oriented programming in Java and a basic familiarity with C, I've run into a bit of a mental block with C++ that I was hoping ...
0
votes
0answers
22 views

Project directory structure (javascript)

Over my years of practice and through most of the reading I've done, the oft recommended directory structure for a web app project has been closely tied to the MVC structure: tests/ src/ styles/ ...
3
votes
2answers
112 views

How does one structure an assembly-language project?

So, I'm taking a MIPS course after returning to school; and we're approaching the point where we begin on our final project. I've always been one for large, well-structured projects: lots of ...
2
votes
0answers
22 views

How to set up embedded projects for maintainability

We are about to start using FreeRTOS with lwip and mbed-tls as a platform for new products. We're working in an Linux environment and I'm tasked with setting up our first project. In Linux we ...
3
votes
2answers
224 views

How to cope with very similar projects

At our company, we maintain three products, which are quite similar, in 2 Projects. All Java, using Maven for dependencies. These three products evolved out of another project, which is now a maven ...
1
vote
1answer
73 views

Is this indexed approach to java rts game development valid and how can I improve it?

I have class GameState laid out to basically hold an Array of Players, an Array of StarSystems, and a few other fields that need to persist from save to save. Each GameObject keeps track of its own id,...
4
votes
1answer
137 views

Have the unit test “using” the project, or just have same namespace?

Background I am working on a project with C# .NET, and I've just added a new unit test project to my solution in Visual Studio. The way that I always have been doing this is: Create a new unit test ...
0
votes
0answers
40 views

How to study a big project source code? [duplicate]

I am newly hired in a company department which uses Meteor and React in building projects. As expected, I am required to study the source code regardless of the project size and progress. This ...
0
votes
1answer
28 views

multitouch application, creating custom UI elements, and stacking oscillators with audio kit

An App I'm working on is kinda like an appear-as-you-touch piano. Using AudioKit and the gesture recognizing I have my app set up to: make a new button appear when the user touches the screen (...
0
votes
0answers
40 views

Where to store DataSets in this project?

I'm currently running a structure like this in my C# project: .Classes (This is where I store my classes) .UI (WinForms) .Helpers (Utility classes and extensions) .Reports( .rdlc reports) Now I'm ...
1
vote
2answers
69 views

Circular Reference Between Data And Model Classes

I have my C# project separated in several projects, so each will become a separate .dll after. I have one project for my Model and one for my Data. Model is responsible for Business Logic and ...
0
votes
0answers
84 views

What is a good directory structure for projects with versioned code but huge data files

We work with genomics and imaging data. Our data are large, but our code is small. We sometimes work on code collaboratively, and also wish to share it with the researchers we do analysis for. We are ...
2
votes
2answers
108 views

When should I nest one module inside another?

Assume I'm working on a JavaScript application and make extensive use of the module pattern with one file per module. Now suppose I have two folders/modules: one for module A and another for module B. ...
0
votes
0answers
55 views

Where do you put your profiling code?

I just developed an algorithm and additional to the usual unit tests I wrote a profiling "test" that I was using to measure and optimize its performance. It is structured similar to a test (arrange: ...
0
votes
0answers
78 views

How do you integrate separate projects into a single solution?

Background I'm a technical lead on a small team of three developers who work at a community college. Because of the nature of our environment, our projects are typically related (since the core set ...
0
votes
0answers
70 views

Best practices for adding Node.JS build features to a non-Node project

The primary use for Node.JS is of course as a full server stack, and I've used it in that manner to great success. However, a number of useful, interesting NPM packages deal with things like ...
2
votes
1answer
315 views

How to structure big Node.JS modules

I am working on a rather big Node.JS project with several thousand lines of code. It's not a homepage, but acts more like a configurable general purpose application server. As such it brings some ...
2
votes
1answer
302 views

Structuring projects in a solution for interfaces

I had this idea that I would achieve some good automation and separation of concerns as follows: Define an interface, IDataProvider, in a class in a DataMuncher project that needs to both consume ...
1
vote
2answers
238 views

Should I use a single repo when multiple parts of the same project are running on the same server? [duplicate]

I'm planning a project that consists of the following parts: REST API in Lumen Web client in Laravel Product website in Jekyll These separate products are going to be running on the same server. ...
1
vote
1answer
160 views

undirected c++ graph with a direction [closed]

I want to create a Graph in C++ that has directions, with directions I don't mean the direction of an edge but what I want is an undirected graph where the edges have a direction to the next vertex, ...
0
votes
1answer
49 views

Connect different programming paradigms in a real app written in JavaScript [duplicate]

I am learning functional programming, working generally with JavaScript. Many things look promising, like immutable data and stateless flow. Now, I want to build quite a basic CRUD app as a pet ...
1
vote
0answers
85 views

Referencing a executable (game-)server

I am currently working on a little MonoGame project. While planning this, i came to a problem: I want to separate the game logic to an other assembly. The client and the server need this logic ...
3
votes
1answer
262 views

Structuring a Python Project: Need some guidance

I currently am working on a project that involves several discrete components that have some common functionality, and I am in need of some advice. Right now I have a central component responsible ...
0
votes
1answer
66 views

How should I structure my web app for browser compatibility?

We want to be able to implement cross-browser compatibility by overriding markup, scripts and styles only where necessary. We want to avoid forking everything sent to the browser, as has been done in ...
2
votes
1answer
161 views

Multiple different versions of similar apps in one project

I need some help to improve the architecture of a site I've built. What I want to achieve within a single Django project is the following: I want a site that comes in several versions (one per year),...
4
votes
2answers
323 views

Delete unused source code from the repository or keep an archive folder?

At our company, we have a single version control repos with a structure like this: /client1_product /client2_product /... /shared_lib1 /shared_lib2 /... After almost two decades of development, ...
1
vote
1answer
172 views

Analysis project structure in Python

I am about to embark on a large analysis/data extraction project, which I intend to do with Python. My data to analyse consists of tier 1 files that include some details. and each file points to ...
2
votes
1answer
156 views

Am I overdoing stuff when I sever interfaces from concrete implementations?

I've separated interfaces from their implementations by different packages, it's just add clarity, the separation is good looking and it is easier to navigate the project structure. I like it. The ...
3
votes
1answer
80 views

Namespace by topic or by purpose? [closed]

The project I'm working on has quite a few classes. These classes can be grouped in two different ways. I'm trying to decide which grouping is best as for namespacing. Currently I a set of user facing ...
4
votes
3answers
141 views

How to structure project where a library and application using the library are concurrently developed?

I am planning to develop a new application that will heavily use a library that will be developed from scratch specifically for the application, but made general enough for it to be used for other ...
7
votes
8answers
1k views

Structuring Procedural vs OO code

I have spent the vast majority of my programming career using Java and very OO based C++. I am really interested in learning to think more procedurally, so I have been starting to do some practice ...
0
votes
1answer
188 views

Project has become so complex and big that I am lost [closed]

Hello this has never happened with me before . I am making an online shopping android app which has become huge and complex . While developing the code I have followed all the clean naming conventions ...
0
votes
1answer
488 views

Project architecture for application with dynamic database

We've a project that has some tables are defined and some will be generated runtime, means dynamic and no pre-defined structure. We generally use Entity Framework to communicate to the database(in ...
5
votes
2answers
1k views

What is the correct project file structure for a versioned rest api?

Should I have resource directories inside version directory, like app/ v1/ book/ author/ v2/ author/ or version directories inside resource folder app/ book/ v1/ author/ ...
3
votes
1answer
163 views

Structure project based on platform or design?

I have a medium sized project (~10,000 lines) that runs on Windows and Linux. However it is only specific components of the program that are platform dependent and are located in a folder called ...
1
vote
2answers
52 views

Project structure for overlapping product generations?

Our company is developing 2 generations of a product in parallel. Our product cycle is about 2-3 years. Today we're working on: generation N "production": next product to be released, getting things ...
1
vote
0answers
82 views

Managing interdependent project reference in solution file

Context for question I am working on a legacy product, that has multiple projects - Class libraries, websites, windows services, web services etc.. I have a single solution file that contains all ...
4
votes
1answer
129 views

Home project & work project sharing common library under development

Those of us who do software development not only for a living, but also as a hobby, have probably encountered the following scenario: Say, there is a project at work called WorkApplication on which ...
1
vote
0answers
241 views

Structuring a multi-language project?

I'm working on a project which involves writing code for multiple devices, each in its own language (in particular, Arduino and Python). I want to contain the entire project in a single directory, but ...
0
votes
1answer
223 views

Interfaces between multiple projects

I'm slightly confused over the following: ProjectA -------- GetUsers (Implements IDBConnector) -------- IGetUsers -------- UserModel ProjectB -------- Main I have two projects one main project (...
1
vote
0answers
213 views

Am I following a good design thought process? Is the Abp framework overkill?

As I finish one project and start another, I have a small time window to come up with an architecture for the new. I am coming from the following design: Web applicationReceives domain models & ...
-1
votes
1answer
871 views

What are guidelines for a Win/Mac/Linux C++ source tree? [closed]

I'm learning C++ (C++11), specifically for cross platform game development using SDL. on Windows, I use Visual Studio 2012 (Considering buying '14' once it's out), on Mac OS X and iOS I'll be using ...
1
vote
0answers
61 views

Dealing with proj files in multi-platform apps

So I've been doing some cross-platform mobile applications using cocos2d-x. Basically it uses common c++ code, that can easily be compiled to the popular mobile platforms with some small wrapper code ...
0
votes
1answer
99 views

Where to put sample data in project structure

I am working on a Scala project and I want to include some sample data somewhere in the project. Specifically, my Scala project includes code that performs various natural language processing tasks ...
4
votes
1answer
806 views

Project structure: where to put business logic

First of all, I'm not asking where does business logic belong. This has been asked before and most answers I've read agree in that it belongs in the model: Where to put business logic in MVC design? ...