This tag pertains to the organization of source files and other assets in directory structures, organization of actual source code itself, logical organization of application data, and (occasionally) to organizing development projects.
Questions tagged [organization]
808 questions
940
votes
8 answers
What is the best project structure for a Python application?
Imagine that you want to develop a non-trivial end-user desktop (not web) application in Python. What is the best way to structure the project's folder hierarchy?
Desirable features are ease of maintenance, IDE-friendliness, suitability for source…

kbluck
- 11,530
- 4
- 25
- 25
695
votes
16 answers
Managing CSS Explosion
I have been heavily relying on CSS for a website that I am working on. Right now, all the CSS styles are being applied on a per tag basis, and so now I am trying to move it to more of an external styling to help with any future changes.
But now the…

JasCav
- 34,458
- 20
- 113
- 170
472
votes
8 answers
javax vs java package
What's the rationale behind the javax package? What goes into java and what into javax?
I know a lot of enterprise-y packages are in javax, but so is Swing, the new date and time api (JSR-310) and other J2SE packages.

Jaka Jančar
- 11,386
- 9
- 53
- 74
256
votes
6 answers
Best practice for Django project working directory structure
I know there is actually no single right way. However I've found that it's hard to create a directory structure that works well and remain clean for every developer and administrator. There is some standard structure in most projects on github. But…

raacer
- 5,302
- 3
- 27
- 46
64
votes
5 answers
Alphabetizing methods in Visual Studio
Is there any sort of plug-in or tool available for Visual Studio 2008 to alphabetize methods? Ideally I'd like a tool that will alphabetize a selection, or specified type (i.e. only methods, not member variables), either automatically or on-demand.

80bower
- 1,151
- 1
- 14
- 22
61
votes
4 answers
Large backbone.js web app organization
I'm currently working on a large web app built on backbone.js and have been having a lot of issues with organization, "zombies," etc. so I've decided to do a major refactor of code. I've already written a bunch of helper functions for dealing with…

user527480
- 689
- 1
- 6
- 7
57
votes
6 answers
C++ class header files organization
What are the C++ coding and file organization guidelines you suggest for people who have to deal with lots of interdependent classes spread over several source and header files?
I have this situation in my project and solving class definition…

Ashwin Nanjappa
- 76,204
- 83
- 211
- 292
42
votes
5 answers
guidelines for where to put classes in Rails apps that don't fit anywhere
I'm wondering if there are any best practices about where to put non-standard Ruby files in Rails apps, those that don't fit in any of the default directories (controllers/models etc.).
I'm talking about classes that are used by controllers/models…

Kuba Suder
- 7,587
- 9
- 36
- 39
40
votes
1 answer
Renaming Objects in RStudio context sensitive within entire Project
I have an issue when developing an R project using RStudio. I create an object, and then realise later, that I want to give it another name. I then have to manually change the name, which in larger projects is annoying and often results in errors,…

David Go
- 810
- 1
- 7
- 13
40
votes
5 answers
Combine and run multiple R scripts from another script
Essentially, I have constructed a sizable predictive model in R with about 10~15 separate script files for collecting, sorting, analyzing and presenting my data. Rather than just put everything into one gigantic script file, I would like to maintain…

Christian
- 401
- 1
- 4
- 5
35
votes
7 answers
How should I organize a general-purpose programming library's directory structure?
I've been writing my own general-purpose PHP library for a while and I'm thinking about how to organize the directory structure, but I wanted to get people's ideas before I formalized the directory structure for the library.
Here is what I have so…

Homer6
- 15,034
- 11
- 61
- 81
33
votes
5 answers
How to Organise a Domain Driven Design Project?
I've started learning about DDD and wanted to know how others have organised their projects.
I've started off by organising around my AggregateRoots:
MyApp.Domain (namespace for domain model)
MyApp.Domain.Product
- Product
- IProductService
-…
Th3Fix3r
33
votes
8 answers
How should I organize my Xcode project files?
I'm trying to wrap my head around Xcode's file organization - or lack there of. I can do all I want in project and it looks great with all the "fake" folders and structure. I go look at the file system and boom HUGE mess. I've tried importing files…

Justin808
- 20,859
- 46
- 160
- 265
31
votes
1 answer
JavaFX Project Structure
JavaFX's MVC Model by using FXML sounds awesome and all but I'm having trouble find out how to organize my project packages.
Every single tutorial i find about JavaFX is way too simple and unorganized: They simply create ONE package and create…

Xkynar
- 935
- 1
- 10
- 31