Summary
In this chapter, we learned how to use the Flask MVC web framework and some of the available component modules that add extra functionality. These modules include the SQLAlchemy ORM, the GeoAlchemy2 ORM for geospatial queries, WTForms for processing of web data, and the Jinja2 templating system for creating web page templates. We created database tables, added data tables and tables relationships, and created a web application that utilized geospatial and relationship queries to generate dynamic web pages.
A fun challenge, building on the code reviewed here, would be to explore adding editing capabilities to the Arena application, allowing the user to move the arenas
into their correct location if the data is out of date. Explore the GeoAlchemy2 ORM documentation for more advanced capabilities.
In the next chapter, we will review a similar MVC web framework, Django, and its GeoDjango spatial component. With more batteries included philosophy, Django solves the same problems inherent...