Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

The tag has no usage guidance.

1
vote
1answer
112 views

Organizing Source files/classes in big projects in C++

I'm currently writing a bigger program in C++ and have reached a point were I get problems with the organization. I wonder if namespaces are a way out. I will try to explain what the program does and ...
1
vote
1answer
58 views

Collection of APIs making up one Application - How to manage?

We have inherited an application that is made up of small .NET web API's. Each API has its own Visual Studio SLN and git repo. All of the APIs are published to one folder ("All") and that folder is ...
1
vote
0answers
62 views

How to design the Unity Container?

I have three projects: WebAPI, Services and Repository. WebAPI has a reference to Services and Services has reference to Repository. Now I need to add a Unity Container for Services and ...
1
vote
2answers
198 views

How to deal with exceptions in DLLs?

I recently started working on an existing project written in C++ Builder. The application consists of a MainModule that loads LOTS of modules (DLLs). The MainModule itself is a DLL (there is a small ...
1
vote
2answers
163 views

Is it okay to put all your error handling on facade layer?

I am doing a Java Spring-Boot backend project and I am implementing a controller-facade-service pattern on my structure. So is it best to put all my error handling on the facade layer, while the ...
3
votes
3answers
777 views

How to deploy a junior programmer

I just hired a junior programmer and he will be 2nd real programmer next to me. Our software is structured in git with the gitflow workflow. I normally develop and push straight on the development ...
-1
votes
1answer
79 views

How to develop larger client-site in-browser apps in javascript?

I'm new to javascript environment (I have background in C++ physical simulations and game engines). With rise of HTML5 and WebGL I was thinking I'd like to try make some games/3D editors using ...
1
vote
0answers
98 views

Project structure with git submodules with common dependencies

I have two (and more in the future) Python projects that I'd like to package into a global package in order to import its modules and use them in another external projects in the future. This is how ...
0
votes
0answers
55 views

Where to place integration tests for client-server project?

The project is as follows: Application A that uses the client library for sending requests. Application B that uses the same client library for sending requests. Server A that uses the same client ...
2
votes
1answer
188 views

Cross-platform library: how to organize project?

Our company develops and sells a cross-platform C++ library. We distribute binary only versions for Windows, Mac OS X, Linux, iOS, Android, etc. The only source code the customers get is the header ...
-2
votes
1answer
298 views

Should I create two Django API projects or a single API project for different front end projects connecting to the same database?

We have created an LMS using Angular JS 1, Python(Django ) API and mongoDB as a database. Now we want to extend the LMS to make it a job portal. We have decided to create another front end project and ...
4
votes
1answer
52 views

Organizing Ad-Hoc Tooling in a Muti-Repo Structure

Imagine you have the following scenario. Your organization deploys some app core to its mission. For example if you're Stack Exchange, this might be the customer facing web server. Let's also say you ...
0
votes
0answers
26 views

Does it make sense to put WCF proxy lib into nuget?

In the enterprise environment we have a lot of windows programs and local WCF services. Programs are really light, they don't connect to the database directly, they use services. The problem is, that ...
3
votes
1answer
390 views

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 ...
11
votes
3answers
346 views

How do I start using Git for differing code bases from different servers?

Background: I've recently inherited a set of projects at my company and I'm trying to sort out some fundamental issues with how they've been handled. Namely, the previous developers (who are no longer ...
0
votes
0answers
218 views

How should a multi-container docker application be structured?

Say I have a fairly standard web app, I might have three containers to start: A static frontend (say an nginx server) A backend API server (say node) A database (say a mongo image) The question I ...
1
vote
2answers
107 views

As a high-level overview, how do I structure my server and client code with a persistent database?

The need for the client user is to perform tasks while they aren't currently logged in (so we can assume it is time-based). For example: A user logs in, performs tasks, logs out and gets a 'reward' in ...
2
votes
0answers
246 views

How to organize project code with googletest?

Generally, we like to have a common folder for common header files to be shared among various projects in solution but what about googletest since it needs access to all header files of project to ...
-6
votes
1answer
86 views

My project shows errors unexpectedly. Is there a good method that can be used to plan a project before starting and deploying it? [closed]

I have completed a project. But errors unexpectedly occurs anytime when the user inputs data in it. Yesterday my program was performing very well. But today when the client tested the project it had ...
0
votes
0answers
139 views

Where to place Docker-related configuration files

Many projects need more than a Dockerfile or a docker-compose.yml in their root to work out of the box (e.g. for local development or a demo): For example a web application might need its runtime, a ...
4
votes
2answers
276 views

Unit Test : Do I need to make an unit test for each class in my project

I have recently tried to to implement unit tests on a Java Web Application my project is built on MVC design architecture and uses Spring & JPA Hibernate and JSF here is a package tree -src -...
1
vote
1answer
481 views

Is it better to have separate projects for Frontend and backend?

I am running an ecommerce website built in Java using Spring and Hibernate. If I have to briefly describe current architecture then it is like this: I am having two projects by name - store front and ...
2
votes
2answers
197 views

What is the proper structure for maintaining single page python scripts

I am a self-taught programmer, and started my job as a PHP developer,in a small company. I then got some work to write python script. I didn't have any senior with proper Python experience. So I ...
0
votes
1answer
79 views

What is separating code by type vs. by function in called? [closed]

In for example web-frontend development, there are two main ways to structure a project: client -js -component_1.js -component_2.js -html -component_1.html -component_2.html -css -...
10
votes
1answer
788 views

Avoid dependency version conflicts?

Any Java project that uses my jar, will almost certainly have an additional dependency on another jar, which my jar also contains as a dependancy. Problem is, that other jar has multiple versions. ...
1
vote
4answers
345 views

Is it common to write File Parsers in higher languages like Java?

I work with an older framework (15 years+) at work which is fully built on Perl. Its main tasks are calling external programs via command-line calls, parsing their output and presenting some of the ...
1
vote
5answers
1k views

Should automated unit tests be part of the build?

Should automated unit tests be a part of the build process, or should they be manually run when someone makes changes to the code instead? To me it seems like making it part of the build rather than ...
2
votes
1answer
515 views

Project structure for cross platform?

How do I make a good project structure that allows me to work on Linux as well as Windows with Visual Studio? So far I've only been using my Linux machine when working on my project and I used this, ...
4
votes
4answers
280 views

If taking over code of a third party, what are the delivarables?

My team has to take over a project from an external company. They've provided the last state of trunk to us as a zip file and are trying to convince us, to accept this as a complete delivery of their ...
-5
votes
1answer
110 views

Use Angular2 for website and API for mobile application with single Web API project

We are working on a project to develop a solution with a large number of modules in which the client wants a website as well as mobile application. As a team we're working using ASP.NET MVC and Web ...
1
vote
2answers
385 views

Is it simply Cleaning or Refactoring?

I am working on a project in C++ and I have a big CPP file with several function in it. I am actually working on splitting all this function into smaller cpp files to make it more readable. I was ...
0
votes
1answer
1k views

Project structure and folder naming

I have a cpp project which source code I want to split into 3 groups and want to define structure for these files by creating folders with nice name. First group are files related to socket ...
3
votes
1answer
553 views

Does the Spring Data Repository implementation violate the principle of loose coupling?

So, at the moment I find myself building my c#/.net (web) application ( or folder/project/package-...) structure often like this, thinking about it in a "somewhat onion-architectural way": myApp -...
-2
votes
1answer
93 views

Is it a good practice to separate one function into one file ? [closed]

For example, lodash library here separate each function into each file ? Since this is a popular library and this library organize their files into this way. there must be based on some good practice ...
3
votes
1answer
324 views

Package-by-feature confusion for libraries

As I understand it, it's generally recommended to package by feature rather than by layer. This promotes higher levels of abstraction and modularity between classes. I can understand how this works ...
5
votes
1answer
1k views

Plan, Build, Run organization philosophy

I am looking for some logical explanation of how software development fits into a Plan, Build, Run model of an organization. I am struggling to find anything which explains how software development ...
1
vote
0answers
50 views

Am I using the right frameworks effectively?

I am working on a large scale application that has both a web portal and a mobile application so therefore I need to develop an API.. I have decided to go with the following structure:- Sailsjs (...
1
vote
0answers
1k views

Modularizing level of Angular 2 application

my question is related with Angular 2 Modules (@NgModule). Previously I’ve worked with angular 1.5.8 on huge business application and I’ve got used to Angular 1.x practices. Important background: ...
0
votes
1answer
45 views

Where to place Thrift generated code

I am working on a project that is using Thrift and as a result has auto generated code. Firstly, what are the pros and cons of placing this generated code in SCM vs not and insisting developers ...
3
votes
1answer
58 views

Separations of concerns and dependency management in automation project

I'm working on an automation project in C# and it has 2 wrappers: DesktopAutomation and BrowsersAutomation. The first has a dependency on UIAutomation.dlls (access to the MS desktop elements) and the ...
-1
votes
2answers
528 views

Java EE Web Application directory layout

Introduction I am working on a Java EE Web Application that is a basic CRUD app. It is built with Servlet and JSP technologies, without any Frameworks. I am doing it to make my hands dirty in plain ...
0
votes
1answer
374 views

Does C# project with configuration file only seem to be an architecture flaw?

I have multiple related projects in one Visual Studio C# solution, which in general have similar architecture of WCF business logic services and ASP.NET clients. In order to host these services, I ...
39
votes
3answers
6k views

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 ...
0
votes
1answer
487 views

How to organize Git for maintaining a code base used and modified in multiple projects?

I'm trying to figure out the best use of Git for my development team. We work on multiple C projects that share some common modules, each one varying a bit in each project. A module can be a hardware ...
3
votes
2answers
633 views

How to structure an App one back-end & Multiples front-end

I have a big challenge to solve where I have some ideas but I don't know what would be the best solution. Basically I have to develop an application where I have to develop a back-end(web service) ...
2
votes
0answers
137 views

How to structure the project folders of my application's service layer?

I want to know how to structure my Service Layer I have thought about something like that: Assembly called SomeNamespace.Service. Have a seperate folder for each problem domain (SomeNamespace....
3
votes
1answer
860 views

Where do you put the “main function” of a Python app?

Suppose you are developing a Python standalone application (not a library). Would you make it a Python package? Or just files next to each other? If you would make it a package, what would be the "...
0
votes
2answers
372 views

C# namespace and class naming

I have a small issue with namespace and class naming. Here is a practical example: ResourceLayer.cs - Public component that holds the manager and the map provider, implements an interface ...
0
votes
1answer
97 views

break down test class into multiple file naming convention

I have a test class with about 25 tests that are testing the different aspect of it. I wonder Should I break it down into smaller classes? If so, then what is the best naming/packaging convention? ...
0
votes
1answer
79 views

How to transition a R&D application into a consumer-facing application

There's an internal research and development application that has developed use cases based on our own vision for the product. We are starting to get feedback from prospective clients from different ...