File System Organization
I haven’t mentioned anything about the file system organization yet. This is deliberate—my intention is to confuse you with only one thing at a time.
Well-behaved OTP applications usually have the files belonging to different parts of the application in well-defined places. This is not a requirement; as long as all the relevant files can be found at runtime, it doesn’t matter how the files are organized.
In this book I have put most of the demonstration files in the same directory. This simplifies the examples and avoids problems with search paths and interactions between the different programs.
The main files used in the sellaprime company are as follows:
File | Content |
| Area server—a |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access