Skip to Content
Flask By Example
book

Flask By Example

by Gareth Dwyer
March 2016
Intermediate to advanced
276 pages
6h 48m
English
Packt Publishing
Content preview from Flask By Example

Chapter 6. Building an Interactive Crime Map

Our first project notably lacked any sort of long term memory. Although we worked around the issues using cookies to simulate long-term storage, we also saw the limitations of these. In this project, we'll build an interactive crime map that allows users to tag locations with details of witnessed or experienced criminal activities. As we want to keep the data for the long term and make it available to many users, we cannot rely on our users' local and temporary storage.

Therefore, the first step to our project will be setting up a MySQL database on our VPS and linking this to a new Flask web application. We'll use the Google Maps API to allow users to view our map and add new markers to it (in which ...

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.
Start your free trial

You might also like

Mastering Flask

Mastering Flask

Jack Stouffer
Flask Blueprints

Flask Blueprints

Joel Perras

Publisher Resources

ISBN: 9781785286933Supplemental Content