Why start from scratch?
This functional structure is going to be built from the ground up, but there are other options that might work as well, or even better in other contexts. There are, for example, several Object Relational Mapper (ORM) packages/libraries available that would allow the definition of databases and structure to be defined in code and propagated out to a data store, some of which are integrated into full application frameworks. These include Django's models module, which is part of the overall Django web application framework, a common and popular option for developing web applications. Other variants include SQLAlchemy, providing an abstraction layer over SQL operations and an ORM to work with an object's data.
There ...
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