Now, we want to add a map view to our app instead of the basic input box. Google Maps allows you to create a map without registration, but you will only be able to make a limited number of API calls. If you create this project, publish a link on the Web, and it goes viral, you stand a chance of hitting the limit (which is currently 2,500 map loads per day). If you think this will be a limiting factor, you can register for the maps API and have the option of paying Google for more capacity. However, the free version will be more than adequate for development and even production if your app isn't too popular.
Flask By Example
By :
Flask By Example
By:
Overview of this book
This book will take you on a journey from learning about web development using Flask to building fully functional web applications. In the first major project, we develop a dynamic Headlines application that displays the latest news headlines along with up-to-date currency and weather information. In project two, we build a Crime Map application that is backed by a MySQL database, allowing users to submit information on and the location of crimes in order to plot danger zones and other crime trends within an area. In the final project, we combine Flask with more modern technologies, such as Twitter's Bootstrap and the NoSQL database MongoDB, to create a Waiter Caller application that allows restaurant patrons to easily call a waiter to their table. This pragmatic tutorial will keep you engaged as you learn the crux of Flask by working on challenging real-world applications.
Table of Contents (20 chapters)
Flask By Example
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Hello, World!
Getting Started with Our Headlines Project
Using Templates in Our Headlines Project
User Input for Our Headlines Project
Improving the User Experience of Our Headlines Project
Building an Interactive Crime Map
Adding Google Maps to Our Crime Map Project
Validating User Input in Our Crime Map Project
Building a Waiter Caller App
Template Inheritance and WTForms in Waiter Caller Project
Using MongoDB with Our Waiter Caller Project
A Sneak Peek into the Future
Index
Customer Reviews