Here’s how to create a basic web app for your database in 10 minutes. Let’s explore the created app, and then the creation process.
As shown below, the apps are
related_views
for each related child table, and join in parent dataproduct_id_
)Conventional approaches where you create pages a field at a time with a screen painter, or use Wizards to create pages, will not create such an app in 10 minutes. These also often require not only complicated coding, but also installing and configuring an IDE, frameworks, Web Servers, etc. Not agile.
Instead, we need an agile approach that introspects the data model, and creates not only all the pages, but also the transitions.
Let’s see how to create this app.
As shown below, Flask AppBuilder (FAB) is a Python-based open source tool that uses sqlalchemy (an ORM for database access), and Flask (a micro web framework):
To drive FAB, you need to provide 2 model files:
models.py
: describes your database tablesviews.py
: describes your pages#open source #database #python #agile approach #web app #database access #flask #sqlalchemy #orm framework