Questions tagged [project-structure]
Structure of files, folders and repositories used to organize project artifacts
203 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
4
answers
291
views
Where, in a repository, should I put source code for tools used in the build only?
Suppose I have a repository for an application app_a. To build app_a, one needs to compile some sources (e.g. file1 and file2, never mind the file suffixes), but - it is also necessary to:
Apply some ...
0
votes
0
answers
88
views
Structure of Projects and its components
Background
So far I have worked with a repository for one project. (It does not matter what project)
Lately I am working in a project that has several people working on it. The project also has one ...
4
votes
5
answers
2k
views
How to extract code into library allowing changes without workflow overhead
Imagine I have many (micro)services each in a separate git repository. Some business logic code is redundant in all of them.
If I need to change the logic I would have to change every project, which ...
2
votes
3
answers
250
views
How to decouple spagheti code for unit tests [duplicate]
A little background on the project: we as a company receive a spaghetti source code, and into that we add even more spaghetti code. So with that I want to say that
complete restructuring and ...
-1
votes
2
answers
121
views
How should I manage Git for a multi-phase project to facilitate future improvements and bug fixes? [closed]
I've just completed the first phase of a multi-phase assignment for a course, and it is working fine. However, I didn't use any version control tools like Git during its development. Now that I am ...
1
vote
0
answers
484
views
How to structure your Python code with asynchronous and synchronous parts
I have a Python FastAPI server application which naturally guides you towards the asynchronous paradigm.
For legacy reasons, I have to support two backends, one which is purely synchronous and one ...
0
votes
0
answers
60
views
Package by feature for APIs that are exporting or / and importing data
We are generally following the package-by-feature approach, which is great.
However, one specific case is constantly causing confusion and inconsistencies, and I'd like to know your approaches in this ...
1
vote
1
answer
643
views
Designing Clean Architecture(Hexagonal) for a Spring Boot Application : Project Layout and Class Organization
I'm currently in the process of integrating Clean Architecture into my Spring Boot project and I'm seeking advice on the ideal project structure and the types of classes and projects that should be ...
1
vote
2
answers
583
views
Where to put DLL specific settings?
I'm not sure how to manage configuration settings in a C#/.NET environment. For simplicity lets say I have 3 assemblies: My MainApplication is the project being started and containing the business ...
0
votes
1
answer
361
views
Should you add the name of the package to the module/package name in Python? [closed]
I'm looking for some best practices for readability (and clean code in general) for naming modules/classes within more extensive projects. More specifically, is it reasonable to add the package's name ...
2
votes
2
answers
222
views
How should I structure an update script that handles the output of another module?
I have a large (>1,000 LOC) Python ETL script - call it fetch_and_transform_data.py - that fetches data from a remote database, appends the raw data to a local table, does some transformations and ...
0
votes
0
answers
54
views
Publish a trivial libraries separately or as a collection
As an individual developer, I often find need to write a trivial (let's say, under 100 SLOC + tests + docs + build system config) library that helps me to write code of some other (large) project in a ...
0
votes
3
answers
737
views
What is the difference between these two MVC diagrams?
I want to understand what is the main difference in these two diagrams when it comes to the Model-View-Controller pattern. If there is a difference, how should I choose to construct my program? What ...
0
votes
1
answer
231
views
Where should research and production code reside in git?
We have research code that consists of Jupyter notebooks and large data files. At the same time, we also have production code that consists of Python source and CloudFormation templates. There is ...
1
vote
1
answer
201
views
Is it an acceptable pattern to put derived classes inside an abstract base class in Java?
Suppose I have some Java code such as the following (in this case, the use of the name "interaction" is referring to interacting with an object in a video game):
public abstract class ...