The tag has no wiki summary.

learn more… | top users | synonyms

13
votes
7answers
918 views

Best way to handle delimited files

So typically a CSV file uses a comma and the return character as it's field and line delimiters. This runs into obvious problems with text which can contain both these characters. Obviously there ...
12
votes
8answers
2k views

How do you organize your MVC framework while supporting modules/plugins? [closed]

There are a two main codebase structures that I have seen when it comes to MVC frameworks. The problem is that they both seem to have an organisational bug that goes with them. Standard MVC ...
10
votes
4answers
393 views

Is it good practice to keep the main function separate in its own file?

Is it good practice to have a main.c file that just has the main function in it and no other functions so that all other functions can be interfaced? If there is no definitive rule, when is it good ...
9
votes
3answers
967 views

Clever PHP Application Organization Structures?

There are a million-and-one file-system structures that go into the myriad of Open Source projects available. Things like modules, language files, domains, third-party libraries, migrations, ...
7
votes
2answers
164 views

Considerations when designing a file type

I'm about to start writing a process for saving some data structure from code in to a file of some proprietary, as-yet-undefined type. However, I've never designed a file type or structure before. ...
7
votes
3answers
437 views

Is there a proper way to create a file format?

I'm building a proprietary file format for an application I wrote in C# .NET to store save information and perhaps down the line project assets. Is there a standard on how to do this in any way? I was ...
6
votes
6answers
440 views

Is using something other than XML advisable for my configuration file?

I have a small tool I'm designing which would require a configuration file of some sort. The configuration file in my case is really more of a database, but it needs to be lightweight, and if needed ...
6
votes
2answers
683 views

Is there a better alternative to the folder-based file system, and will it be replaced any time soon?

All file systems I've encountered have been based on folders - you have a root folder, which contains files and subfolders, which in turn contains files and subfolders, and so on. Is there a better ...
6
votes
1answer
435 views

How should I organize programming files into directories?

Sometimes, one creates a exploratory prototype and forgets about structure in the directories... What are good tips on dividing the programming files over (several levels of) directories?
6
votes
1answer
365 views

Why is the code section called a text section?

The section of an executable that contains code is sometimes called the .text section. In segmented memory architectures, a segment mapped as code is sometimes called a text segment. The unix error ...
5
votes
7answers
477 views

Which languages use “paired” header/implementation files?

C is ubiquitous, and C++ nearly as much, but I'm curious which other languages follow a similar model of header files. Specifically, in which other languages is it idiomatic to edit pairs or groups ...
5
votes
2answers
408 views

Where should we put External Libraries in our SVN?

We have the following SVN structure. Projects: Our work Clients: Projects for clients, needs to be different Shared: Shared libraries we created Docs: Documents explaining how software development ...
4
votes
2answers
143 views

What are the different considerations to make when determining persistent data format?

I've recently been struggling with the concept of what file structure to use when creating save-files for a desktop applications. When I say "save-files" I mean something like *.doc files. Files that ...
4
votes
1answer
481 views

Where to find resources to write a program like sandboxie?

Sandboxie is a program that will let you read from the hard drive, but when you try to write back it will redirect the file to a separate container. I would like to learn how to do something similar. ...
3
votes
1answer
227 views

How to explain to your colleages to stop creating packages and classes named “Utils”?

In most of the projects at work it will eventually show up a package, a class (or multiple packages and classes) named "Utils", where every kind of function is dumped into. It becomes excruciating ...
3
votes
3answers
102 views

best practice: setting up several IDE / frameworks (at file/dir level)

I don't know how to exactly search for this topic, so if there are a lot of answers to that, please just provide a link :) I'm getting a new laptop in a few weeks and am thinking about setting up a ...
2
votes
5answers
281 views

Do any database “styles” use discrete files for their tables?

I've been talking to some people at work who believe some versions of a database store their data in discrete tables. That is to say you might open up a folder and see one file for each table in the ...
2
votes
4answers
505 views

Convert filenames to their checksum before saving to prevent duplicates. Is is a smart thing to do?

TL;DR:what the title says I am developing some sort of image board in PHP. I was thinking of changing each image's filename to it's checksum prior to saving it. This way, I might be able to ...
2
votes
4answers
226 views

Where can I learn about how programs handle file systems like NTFS?

I'm writing a program to handle the xbox 360's STFS files. I'm encountering all sorts of problems about how to keep track of used vs unused blocks, reading non-sequential files, etc. These aren't so ...
2
votes
2answers
335 views

source code file system layout for 2 very similar projects (with git)

we're working on "two" android apps that are very similar; in fact, they're the same apps with different graphics and color schemes, slightly different configuration and one or two unique activities ...
2
votes
2answers
192 views

Write a directory structure (pseudo code) [closed]

I am writing a wiki article and wondering what is the proper way to write a directory scheme? I am doing something like main folder - sub folder - sub folder ... But I'm stuck after that. Any ...
2
votes
2answers
120 views

Best way to delimit variable elements of a path in code documentation?

Often some element of a path is variable, but the path as a whole needs to be documented in some manner for later programmers. Especially when using *nix systems, almost any character is a valid ...
1
vote
2answers
131 views

organising classes / folder structure for TDD-based development

Due to test-driven development, one ends up with many classes doing just one thing. It is quite a headache just to see where such classes would be placed inside the folder structure. First of all, ...
1
vote
2answers
100 views

Debugger for file I/O development?

Okay, the question title may be a bit cryptic. But it aptly describes what I'm looking for: I think every experienced coder went through this numerous times: You get a binary file format ...
1
vote
1answer
52 views

Grouping classes by subject or dependencies?

Our project consists of user application and server application. The server application prepares data files that the user application consumes. Because the data is huge, it is stored in custom format. ...
1
vote
1answer
85 views

Side-by-side Configuration on Linux/ELF

One of the best/worst Microsoft software innovations (great for compatibility; terrible for efficiency) has been Windows' Side by Side Configuration. This allows, among other things, for different ...
1
vote
2answers
124 views

Can we regard file-system structure as one part of architecture?

Put this image inside images folder. All JavaScript files should go inside a folder called js. Put templates inside a folder called site-templates and for each template, have three folders called ...
1
vote
3answers
125 views

Recommended Project Directory Location for IDE settings, and configuration files?

What are peoples thoughts on storing configuration files and editor settings in source control? This would include files that are not directly related to the code base, but necessary for maintaining ...
0
votes
2answers
114 views

How to structure classes in the filesystem?

I have a few (view) classes. Table, Tree, PagingColumn, SelectionColumn, SparkLineColumn, TimeColumn. currently they're flat under app/view like this: app/view/Table app/view/Tree ...
0
votes
1answer
199 views

Project Resource Organization and Structure at Cocos2d-X Development

Cocos2d-X is a game engine framework based on Cocos2d-iPhone, which consists of expanding supported platforms, with multiple choice of programming languages thats shares the same API structure. What ...

1 2
15 30 50 per page