Skip to main content

Questions tagged [directory-structure]

According to Wikipedia, in computing, a directory structure is the way an operating system's file system and its files are displayed to the user. Files are typically displayed in a hierarchical tree structure.

0 votes
3 answers
713 views

Folder structure to store image/file uploads

I'm working on a system and we need to do some refactoring on the upload service, that handles all files and images uploads to the system. Nothing fancy, but I it got me thinking about the folder ...
celsomtrindade's user avatar
0 votes
1 answer
2k views

Folder and Project Structure in MVVM for WPF Solution

I know there are already questions about file structure in MVVM but I haven't found the pros and cons for the following two structures. What would be better for a large-scale project, and why choose ...
Tiran's user avatar
  • 3
2 votes
3 answers
171 views

Should I ensure my libfoo library's include file can be included as foo/foo.h?

I'm maintaining a small C library; let's call it libfoo. It has quite a few users (actually it's complicated - it's the main fork of a highly popular library which has been abandoned); and it sports a ...
einpoklum's user avatar
  • 2,574
1 vote
2 answers
169 views

Where should I put the .scss files in the scaffold?

I have developed an open-source vue.js scaffold which is based on my exprience and study on various vuejs projects. Currently it has a good structure(i think), but i'm nervous about is it good ...
SeyyedKhandon's user avatar
0 votes
1 answer
75 views

PHP: What code should be removed to its own helper class and where should such classes be located in the filesystem?

The following is an example requesting an explanation for one specific file in one specific filesystem, not helper classes generally. I have configured a LEPP stack on a CentOS server. The server ...
Muckee's user avatar
  • 111
1 vote
0 answers
55 views

How to structure a website with both multiple countries and languages?

So I have an problem regarding logic I cant wrap my head around. I need to expand my application to two different countries which both have their own respective languages (some countries require up to ...
z0mbieKale's user avatar
2 votes
1 answer
454 views

What are the correct storage locations (folders) for an application within a Windows-based (Windows 7 - 10) environment?

I confess, the question title suggest a "too broad" question, but here me out first... I am only interested in verifying my findings in that regard. All the following situations have the following in ...
burnersk's user avatar
  • 215
1 vote
0 answers
35 views

How to lay out a core java module with an Android GUI layer on top

How can I use Java modules in an Android app repository? In particular, what directory structure should I use? I have a project in mind for which I would like to have a GUI-independent core Java 9 ...
Anakhand's user avatar
  • 149
4 votes
2 answers
626 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 ...
Krzysztof Czelusniak's user avatar
0 votes
1 answer
1k 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 ...
Ian Taylor's user avatar
-2 votes
1 answer
62 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, ...
Konrad's user avatar
  • 1,559
0 votes
1 answer
66 views

Domain services structuring

Currently i am handling placing my services by their action type like App Services Storage Payments Providers Gateways IpnHandler But i felt like whenever our payment providers are growing i ...
ujwal dhakal's user avatar
19 votes
1 answer
10k views

In-Source Build vs. Out-Of-Source Build

In my (primarily C++) development, I have long adhered to using out-of-source builds. That is, my source usually sits in a /project/src directory and the builds live in a /project/build/bin/release, /...
DiB's user avatar
  • 487
1 vote
1 answer
5k views

What should be placed in the "core" folder in a software project?

I want to know which are the rules so i can figure out what code files should be put in the "core" directory (and sub-directories), because i didn't get it yet. I was thinking if it's about code ...
Seu Madruga's user avatar
0 votes
1 answer
165 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 -...
Claas M.'s user avatar

15 30 50 per page