As of 1/2022, this is work in progess. The blog is more a playground and sandbox for the project than a blog of it's own sake.
Posts can be added to
is a bunch of independent mix projects which can be used in any Elixir and Phoenix application. It supports a clean architecture and well structured code.
These projects are …
ax_webclient depends on
axrepo which depends on
ax_webclient it is sufficient to add
axrepo to your
Frankly, I think databases are something obsolete nowadays. For a simple
web-application you usually don’t need one. Therefore we implemented a
simple repository and entity pattern in
Entity is a wrapper
around any leagel Elixir term and
Repo can store them wherever you want.
For a simple scaffold, the filesystem and memory of a modern server is more than enough and with respond times less than 10ms, its also fast enough to store and serve our data.
The following directories should exist in your runtime environment
./data/test/ ./data/dev/ ./data/prod/
For each “table”/“store” created in
Altex.Repo you will find a corresponding
file in these directories.
This here is a Phoenix 1.6 & Tailwind 3.0 application, using
to store user, authentication, and profiles.
Other than that, we use dashbitco/nimble_publisher for our simple blog.