Skip to main content

Questions tagged [project-structure]

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

Filter by
Sorted by
Tagged with
-1 votes
2 answers
226 views

We need to do the front-end with spa. The question is whether to use a full-stack framework like next.js, but only the front-end part, without server-side components. If I don't use them, could these ...
dok's user avatar
  • 313
3 votes
1 answer
554 views

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
347 views

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

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
270 views

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

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
523 views

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

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
673 views

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
641 views

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

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
238 views

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
56 views

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
821 views

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
248 views

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
216 views

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
0 votes
0 answers
475 views

I have an existing repository (which is organised using the standard Golang project layout) cmd/ bigproject/ main.go internal/ ... pkg/ ... vendor/ ... What I would like to do ...
Jivlain's user avatar
  • 373
4 votes
5 answers
807 views

My company develops many relatively small projects that a lot of times do the same things and have a similar structure. (e.g. read/write to a databse, data pre processing, building a query etc.). This ...
krezno's user avatar
  • 167
0 votes
0 answers
63 views

Let's say there are two layers of an application: Business logic layer Data access layer Assume integration tests need to be written also for the Business logic layer. Alas tests that run against ...
lemoncactus's user avatar
0 votes
1 answer
3k views

I'm working on a Node project (in typescript) that features a variation of clean architecture. I have a pretty clear understanding of the different layers of an application and how they depend on each ...
GHOST-34's user avatar
  • 111
0 votes
1 answer
176 views

Background: different developers are building an e-commerce system using Spring. Some are working on the user facing arm, others are working on the CMS, while the other group are working on the vendor ...
I Want Answers's user avatar
2 votes
1 answer
3k views

Coming from the world of C#, where, despite sharing namespaces, it's quite common for every class to have its own file, I find that Rust codebases seem to have a complete different sort of philosophy (...
Brian Reading's user avatar
-2 votes
1 answer
519 views

The usual approach is to do what libraries do: group your (single file) classes by component where folder = namespace, right? That makes sense for code that is mostly meant to be used by other ...
DanMan's user avatar
  • 105
4 votes
1 answer
149 views

I am asking a question about the overall architecture between different projects. Let's say I want to centralize all icons / images between different projects in a single repository. This means that ...
Michael Tornack's user avatar
1 vote
1 answer
180 views

I'm working on a Swift-project (an iOS-app) where a webview is used to show an HTML-document. This document is manipulated by some JS, which is compiled and minified from TypeScript. There's also SASS ...
eds1999's user avatar
  • 165
1 vote
1 answer
271 views

I am working on a personal project for more than 6 months now, this project is composed of three distinct parts, simulation (wrapping a software), database related stuff (store the simulated data in a ...
th0mash's user avatar
  • 13
-2 votes
1 answer
47 views

I am planning on creating a network security testing tool with python that carries out a variety of attacks and tests other vulnerability issues on a host (Such as: Ping of death, slow loris, teardrop ...
4d4143's user avatar
  • 33
-2 votes
2 answers
2k views

I've a Python project with ~30 SQLAlchemy models and I'm not sure where they belong. All models belong to the DB but also to a module, so I'm not sure about the right namespace. Here are some ideas: ...
Mr. B.'s user avatar
  • 163
0 votes
2 answers
206 views

I have 5000+ strings pet-project for CLI and it can do some optional calculations and can output results to CLI or/and to file. Some new modules don't work. Now I catch with GDB some strange segfaults ...
RaySolva's user avatar
  • 123
4 votes
3 answers
244 views

I am in a team developing Android applications in an enterprise corporate .One of team members suggested that we should create our own classes, so extending every classes of UI kit (Material Design). ...
Emre Aktürk's user avatar
-4 votes
1 answer
374 views

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, ...
Krzysztof Czelusniak's user avatar
1 vote
1 answer
3k views

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 ("...
Shrodinger's user avatar
-2 votes
1 answer
171 views

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 ...
Antiro42's user avatar
0 votes
1 answer
1k views

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 ...
dros's user avatar
  • 167
0 votes
1 answer
615 views

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 ...
Dudly01's user avatar
  • 137
0 votes
1 answer
348 views

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 ...
skr's user avatar
  • 123
-1 votes
1 answer
830 views

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 ...
Paflow's user avatar
  • 107
2 votes
2 answers
607 views

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 ...
Maxime's user avatar
  • 153
1 vote
0 answers
514 views

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 ...
jspasiuk's user avatar
2 votes
1 answer
2k views

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 ...
Andrew Shepherd's user avatar
1 vote
0 answers
75 views

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. ...
Chihuahua Enthusiast's user avatar
2 votes
1 answer
251 views

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 ...
The Guy with The Hat's user avatar
0 votes
1 answer
3k views

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 ...
Broco's user avatar
  • 81
1 vote
1 answer
2k views

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 ...
Leni's user avatar
  • 149
1 vote
0 answers
76 views

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 ...
xtofl's user avatar
  • 344
-1 votes
1 answer
145 views

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 ...
user2829759's user avatar
3 votes
0 answers
292 views

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 ...
Mihai Bujanca's user avatar
0 votes
2 answers
306 views

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 ...
Dirk Boer's user avatar
  • 454
4 votes
2 answers
756 views

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 ...
Krzysztof Czelusniak's user avatar
2 votes
1 answer
136 views

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, ...
CanCode's user avatar
  • 49

1
2 3 4 5