Skip to main content

Questions tagged [project-structure]

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

3 votes
1 answer
547 views

How do I handle two apps for a single Firebase Project?

I have two apps for one Firebase project. One is a Vue 3 web app and the other is a NativeScript one. Currently, they reside in separate project directories and GitHub repositories. I don't want to ...
starleaf1's user avatar
  • 141
2 votes
4 answers
336 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 ...
einpoklum's user avatar
  • 2,808
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 ...
Florian K.'s user avatar
2 votes
3 answers
269 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 ...
Tomáš Viks Pilný's user avatar
-1 votes
2 answers
133 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 ...
mahdiahmadi's user avatar
1 vote
0 answers
511 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 ...
user3058865's user avatar
0 votes
0 answers
67 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 ...
Marian Klühspies's user avatar
1 vote
1 answer
661 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 ...
shiningStar's user avatar
1 vote
2 answers
614 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 ...
NoConnection's user avatar
0 votes
1 answer
373 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 ...
Thomas Vanhelden's user avatar
2 votes
2 answers
236 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 ...
Josh Friedlander's user avatar
0 votes
0 answers
55 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 ...
jiwopene's user avatar
  • 191
0 votes
3 answers
781 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 ...
codertryer's user avatar
0 votes
1 answer
240 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 ...
Chewers Jingoist's user avatar
1 vote
1 answer
211 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 ...
micheal65536's user avatar

15 30 50 per page
1
2 3 4 5
14