Questions tagged [file-structure]
257 questions
1
vote
1 answer
My file structure for a PyGame project throws countless errors - what am I doing wrong?
I'm working on a project for college, and one of the objectives is to have a functioning and efficient file structure to contain the game. In theory, I completely get this. I've made file structure diagrams and begun coding my modules - but almost…

PublicMutiny
- 15
- 5
1
vote
0 answers
golang use symlink to package
I have 2 go projects in one repository that need the same package and I'm trying to avoid having two copies of them.
/myRepo
/project_1
go.mod
/myPackage
/file1.go
/file2.go
/project_2
go.mod
…

overunderstack
- 11
- 2
1
vote
0 answers
How to group multiple single file functions as named and default exports in index.ts?
Problem
Have several files each exporting a single function as a default export.
Want to group these via exporting them as named exports from a single file like index.ts that will serve as a library API where functions can be accessed as…

surajs02
- 451
- 7
- 18
1
vote
3 answers
Laravel: Move the upload folder out of the public_html folder
The structure of my project folder is as follows:
.
└── /home (Inaccessible)
└── user
└── public_html
├── app
┊
├── public
│ ├── css
│ ┊
│ └── upload
…

Hamed
- 313
- 2
- 15
1
vote
0 answers
ASP.NET Core + React | Correct way to structure files
What is the correct way to structure files in real life application?
By default, if I'm correct, ASP.NET Core projects files should be structured…

Lith
- 1,251
- 6
- 19
1
vote
1 answer
Linking CSS file in php document nested in pages folder
Web development newbie here. My site is becoming large enough that recently took a few steps to help manage it including:
Using a separate header.php; footer.php; and navigation.php file with an includes tag.
Filed additional pages under…

bkper087
- 11
- 3
1
vote
1 answer
How to use a design pattern to arrange the file structure in a java+spring application
I created a web application which gets the data from the user from the console and stores the data in MongoDB and pass the data to the Angular frontend using Spring rest api.
Whole system is working finely and now I want to rearrange the folder…

ArchieVon
- 183
- 1
- 2
- 16
1
vote
1 answer
Question regarding SVN directory structure with multiple OSes
I'm thinking of moving to SVN from mercurial because it seems simpler to maintain and more people have an SVN client than a mercurial client available. However I have a question regarding file structure -
I understand that the typical proper SVN…

Dr.McNinja
- 455
- 1
- 6
- 15
1
vote
2 answers
How am I able to create a file structure based on the current date?
I'm trying to log changes in our CMS to a logging file. I make use of the def logging_on_activity(). What I want is a new file for each day to keep the log records a bit organised.
I've already tried to use the datetime package to manually edit the…

W. White
- 127
- 13
1
vote
1 answer
Anyone have file structure documentation for Windows Live Mail contacts.edb file?
Does anyone have any documentation or info on the file structure of the contacts.edb file as it is used in Windows Live Mail? I can't seem to find any way to import file back into WLM (I'm told it HAS no way, and must be "backed up" via manual…

eidylon
- 7,068
- 20
- 75
- 118
1
vote
1 answer
Google Cloud Functions: Project layout for Github publishing
I'm starting with Google Cloud Functions, and I want to use a real editor + github instead of the inline editor.
For an existing Google App Engine Flex(php) project, I've modified it so that it publish on PubSub some data about user.
I want to write…

Thomas
- 1,231
- 14
- 25
1
vote
1 answer
Does folder nesting slow down React router?
I've read numerous articles about 'correct' React.js file-structuring but the way that I've found most convenient for myself is to contain each component and complementary assets in a single folder and nesting folders in a manner analogous to the…

Skylar Kennedy
- 357
- 1
- 8
- 18
1
vote
1 answer
Do I need to separate java files for different version of app when using product flavors?
First time using product flavors and I'm not sure if I need to put an exact duplicate of everything in each product folder eg. src/flavor1/com/app/pro/company/ "all my java files". I have the same file structure for free version. I try this and I…

abotrix
- 138
- 1
- 12
1
vote
1 answer
What are "disks" in this context of the structure of ZIP files?
I'm currently working on a mini library for myself to compress and extract ZIP files. So far I don't have any major problems with the documentation, except that I don't get what "disks" are in a ZIP file and how to calculate the number of a…

Azilvl
- 147
- 1
- 9
1
vote
2 answers
How do I create a blank website file to practice Javascript?
I'm a beginner(self teaching, day 2) in web development, and so far I've learned how to use the console in Chrome for writing functions in Javascript. To further my understanding of how Javascript is implemented, I want to create a blank test…

Chris Phillips
- 1,997
- 2
- 19
- 34