Questions tagged [project-structure]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-4
votes
1answer
43 views

When to use dot files in Git repositories?

My Git repository contains dot files required by my tooling: .dockerignore .gitignore .pre-commit-config.yaml I'm using Azure Pipelines for CI/CD, which is typically defined in azure-pipelines.yml, ...
1
vote
1answer
115 views

Logging to database in ASP.NET Core Entity Framework Core application

I have an ASP.NET Core Entity Framework Core application and I want to implement my own custom logger. I don't want to use ready solutions like NLog or Serilog. I added a new class library project ("...
-3
votes
1answer
50 views

In C++, does it make sens to have library project be composed of other libraries?

I'm working on a C++ project which is currently divided into "sub modules" / "components". Each of these are compiled into a separate library (components are usually 10-20 files). The libraries are ...
0
votes
1answer
50 views

How to structure separate projects in a single solution? i.e project.Domain etc in C#

So this is a very beginner question, so please do be patient with me: But I am building a little practice project and what I am struggling to understand is the overall structure of the solution, in ...
0
votes
1answer
87 views

To structure big and expandable project(s)

TLDR with bold I want to create a library (I think this is the right term) for my own reinforcement learning environments (envs for short). Most of the envs would be based on self-implemented games ...
0
votes
1answer
78 views

C++ Project Structure in UNIX/Linux environment: test and app folder

I am trying to figure out the right project structure for C++ and I am working on Ubuntu using CMake. I mostly work on AI/ Robotics/ Data Science. Assume that I want to generate executables and ...
-1
votes
1answer
46 views

Naming my classes and class folders in PHP project

I am working on an (PHP) application where users have so called workspaces. A workspace is a folder with a specific structure and bunch of specific files - user information and some workspace metadata ...
2
votes
2answers
208 views

Should powershell be used to develop a whole application?

We are automating the testing on an Web ERP solution (Dynamics) through a tool (RSAT, which uses selenium) provided by the developer of the ERP (Microsoft). The RSAT has a list of instructions to do ...
0
votes
0answers
101 views

Implement multiple file upload with Dropzone.js , Lambda and S3

This is more a general question about this project I have on. We need to implement some UI for our costumers to upload multiple files (2000+) every month, so we can send them by email to another ...
0
votes
1answer
36 views

Appropriates names for Api implementation and Api Client Library

Suppose I have a big project, called Northwind. It's a website in front of a database. Now management want me to create a public API for this. I create a new ASP.NET Core project called Northwind.Api ...
1
vote
0answers
39 views

“Add-On” Projects and ASP.NET Core with Entity Framework

I've created a .NET Core MVC product with Entity Framework, and am being tasked with creating "Add-on" products, which give CRUD operations to more tables, but use the same library functions and UI. ...
2
votes
1answer
71 views

How does COCOMO handle large projects that could be split up into smaller projects?

Let's say I want to use COCOMO to estimate the effort to produce a 100 KLoC embedded project. Not including the Effort Adjustment Factor, the effort would be 2.8 * 100^1.2 = 703. However, the project ...
0
votes
1answer
480 views

Complex roles, permissions and hierarchical group management in Laravel

I'm currently in the planning phase / feasability study of a rather big web application which is meant to be implemented using Laravel. My own experience on the matter is rather limited but I'd like ...
1
vote
1answer
203 views

Node and Angular two separate applications or a single application?

I am a java developer. Since one of our developers are leaving I was handed over a project he was maintaining. He says it is a node + angular js project. But as per my understanding, backend should be ...
1
vote
0answers
21 views

How to organize an App composed of Features in Qt?

When developing a somewhat larger application, with 3-4 screens or so, what is the most common way to organise the code? I've read that organize-by-feature trumps organize-by-type, so I was ...
-1
votes
1answer
69 views

Given two modules, what consideration should be made when writing cross cutting codes

I am recently having a discussion with colleagues about where should a piece of code reside within our django project. For the sake of the question, let's say we are creating APIs for uber-like ...
3
votes
0answers
139 views

C++ dependency management across projects

We are developing a benchmarking framework in C++, with Make and CMake as build tools. The aim of the framework is to allow others who build algorithms to perform head-to-head comparison against prior ...
0
votes
2answers
79 views

When no other class ever needs to touch the (nested) class - should I always make it a (private) nested class?

And what is the recommended file structure? The question is a bit similar to this one, but I'm looking for more explicit recommendations. In theory I think it's a good concept to keep files short ...
4
votes
2answers
188 views

Is it a bad idea to model dependencies using a project's directory structure?

Let's say I have three classes: A, B, and C. All of these classes are simple and they create a cohesive unit. In addition, B depends on C and C depends on A. Most people would put these classes into ...
1
vote
0answers
50 views

Develop distributed system contain application with poor architecture [duplicate]

In last months the business continues dynamic grow so we must develop new features along distributed system. Unfortunately we do not have much time to deliver new solutions. The application is ...
2
votes
1answer
67 views

Where to put an artifact which will be used only by test

I am developing a new feature for a well-established memory package. The feature Im implementing is about loading/copying/moving resources in and out to different type of structures like jars, ...
0
votes
1answer
320 views

Golang: Directory structure for Multiple Applications

I'm creating a proof-of-concept for a Go-app for my organization. I've read all of the intro docs on setting up a Go workspace, packages, etc. However, I am still unclear about the relationship ...
-2
votes
1answer
43 views

Grouping types in a single project [duplicate]

I have many models in my project that are unrelated to each other. I wanted to group them but I wonder what's better: Folder/namespace per group Group1.Constants, Group2.Constants Group1.Models, ...
3
votes
2answers
179 views

Adding library as dependency only to use one function

Few months ago I started working in a team that develops software using Node.js. Quite often we encounter the problem that has been already solved by someone else and the solution is already available ...
3
votes
3answers
2k views

Is it a good idea to share repositories across microservices in Spring Boot Application?

We are migrating a desktop application into web based Spring Boot micro services application with a client imposed mandate of using their existing MySQL database, so all micro services share a common ...
1
vote
1answer
179 views

Managing a third party library that is used by multiple independent libraries

I am working on configuring the build environment for a C++ project that uses multiple libraries. These libraries are independent of each other, but they all depend on the same 3rd party library (...
0
votes
1answer
228 views

Cross-cutting concerns in package-by-feature structure

What is your suggestion on where to put cross-cutting concerns in a package-by-feature structured app? This aspect seem to be missing from most of the pro package-by-feature articles I have read. ...
3
votes
1answer
9k views

Folder structure for a C project [closed]

I am wondering what is the recommended folder structure for a C project. I read several posts about using src, include, test, build folders. But what if I want to structure the project in modules? ...
4
votes
1answer
806 views

What's the best way to handle a large multi-file class in Javascript?

I have a very large class of 59 methods and about 3000 lines of code. I know that's far larger than most people would want, but the class represents a virtual machine, and most of the methods are run ...
0
votes
1answer
652 views

What is a proper way to structure a Python project consisting of smaller packages that have shared code?

I have been debating this question internally for a few weeks now and I keep coming up short in finding a good answer to the question. I feel an example would be more descriptive than just talking ...
1
vote
0answers
74 views

Where to specify drag-and-drop related meta data?

The structure of our project strongly separates the three different parts: core - data classes, POJOs, sometimes aggregated with annotations (e.g. for XML/JSON serialization) plugin - plugin for a ...
1
vote
1answer
2k 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
114 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
80 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 ...
3
votes
2answers
4k 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
586 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
831 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
89 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 ...
3
votes
0answers
842 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 ...
2
votes
1answer
574 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
1k 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 ...
3
votes
1answer
82 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 ...
8
votes
2answers
6k 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
388 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 ...
1
vote
2answers
114 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
683 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 ...
-8
votes
1answer
121 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 ...
1
vote
1answer
413 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
815 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
956 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 ...