Pete's Alley - The Code Tree
Written by Rich Morin.
Precis: an overview of the code tree used in Pete's Alley
The server code for Pete’s Alley is written primarily in the Elixir programming language, using the Phoenix web framework, the Mix build tool, etc. This combination, along with the fact that the server is structured as an “umbrella” application with several application sub-trees, determines the shape of the file tree.
Here is a rough summary of the file tree.
PA_elixir/ the code file tree | server/ server code for Pete's Alley | | _build/... compiled binary files, etc. | | apps/ applications and libraries | | | common/ commonly-used functions | | | info_files/... provides info on file trees | | | info_toml/... provides info on TOML files | | | info_web/... provides info on web servers | | | phx_http/... Phoenix server code | | | sample/... sample generated application | | config/... configuration files | | deps/... top-level dependencies
info_* sub-trees have the following structure:
common/ commonly-used functions | _build/... compiled binary files, etc. | deps/... top-level dependencies | doc/... generated documentation files | lib/... application library files | | common/*.ex implementation files | | common.ex interface file | test/... application test files
phx_http sub-tree is a bit more complicated: