Nov 06: More Flask-AppBuilder
Learning Objectives
After today's class, you should be able to:
- Define a BaseView that renders a Jinja template in Flask-AppBuilder.
- Implement custom actions and step through the code with a debugger.
- Add a chart view that visualizes the results of a complex SQL query.
Lesson Outline¶
- More about Flask-AppBuilder
[15 min]Exercise 1: Create Your Index Page[15 min]Exercise 2: Create Your About Page[15 min]Exercise 3: Add Your First Action[15 min]Exercise 4: Add Your First Chart[15 min]Exercise 5: Practice Debugging
- Supporting files:
References¶
- Flask-AppBuilder GitHub
- Examples folder (try running some of these)
- flask_appbuilder folder (source / templates)
- Flask-AppBuilder Docs
- Focus on those sections linked in the slides
- Docs for Flask, Jinja, and Google Charts
Your To-Do List¶
- Make substantial progress on your group project:
- Finish designing the index page and about page
- Add actions to model views needed for your project
- Add multiple charts for the views that make sense
- Implement other base views for the logic of your app
- Add details do your documentation:
- Finish
README.mdin yourdatabase/datafolder - Finish
README.mdin yourwebappfolder
- Finish