Skip to main content

Questions tagged [file-structure]

0votes
1answer
176views

Selecting the endianness of data in files generated by an embedded system

I have an embedded system running on a little-endian Cortex-M3. This system is able to accept packets from the network and reply to them. Now, I would like the system to start generating files. These ...
9a3eedi's user avatar
  • 2,099
0votes
1answer
2kviews

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
2votes
1answer
3kviews

What is the idiomatic way to split code between separate files in Rust?

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
-1votes
2answers
189views

How do I break down my components and files in C

I've been designing an event processor for state machines in C and I'm trying to figure out what's the best way to break down my components in simpler and smaller *.h and *.c files. Specifically I'm ...
MrBit's user avatar
1vote
2answers
181views

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
4votes
1answer
2kviews

Why does the Django Rest Framework encourage separating Model, Serializer and Views for the same object across multiple files?

Summary: Why shouldn't I put model, serializer and view classes for the same object in the same file in my Django Rest Framework application? I'm building an application using the Django Rest ...
Rackamore's user avatar
0votes
1answer
95views

database implementation, how to organize files

I try to build a very small object database, not for production only to learn a bit in my spare time. I've got a data structure that saves my data in blocks of a specific size und combine them when ...
Sebastian's user avatar
1vote
1answer
177views

How do database storage engines handle new columns?

I really don't know which StackExchange site this belongs on. It didn't seem to match the "on-topic" list of DBA.SE or SO.SE ... so please let me know if I should move it. I also couldn't find a ...
Simon Whitehead's user avatar
-2votes
1answer
338views

Packages with only __init__.py - Possible issues?

Considering a Python Project structure such as the following, where there are "empty" packages with __init__ files simply pulling code from the lib folder: . ├── foo │   ├── fred │   │   └── __init__....
lucasgcb's user avatar
0votes
1answer
68views

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 have to ...
ujwal dhakal's user avatar
7votes
2answers
7kviews

What's the best way to handle a large multi-file class in Javascript?

I have a very large class of 59 methods and about 3000 lines of code. I know that's far larger than most people would want, but the class represents a virtual machine, and most of the methods are run ...
curiousdannii's user avatar
1vote
1answer
2kviews

Fast storage format for huge point clouds (fast read/write)

I am working with huge point clouds (1 billion points). I need to process and display them but because of the size of the data, I can't have it all in memory at the same time. First of all, I am not ...
Ebatsin's user avatar
1vote
0answers
49views

Installation directory for internal scripts

In GNU/Linux the recommended installation directory for internal binaries of a given package is /usr/lib or /usr/libexec. However, I can't find any recommendation for internal (non-binary) executable ...
August Karlstrom's user avatar
-1votes
1answer
846views

Structure of complex file formats [closed]

Suppose I want design and implement a a large and complex file format, like pdf or docx; how do I have to structure it? How can they contain so many different data types like images, macros or ...
arabum97's user avatar
4votes
1answer
476views

Is it appropriate to use Semantic Versioning for the specification for a key/value file format?

I'm writing a Python tool to convert/store the data from a commonly used plaintext file format for volumetric data generated by computational chemistry calculations into the binary HDF5 format using ...
hBy2Py's user avatar

153050per page
close