Instant Flask Web Development

Impatient for results? This is a fast, concise guide to the essentials of Flask with a totally practical approach that means you’ll be up and running on your first Flask app before you know it.
Preview in Mapt

Instant Flask Web Development

Ron DuPlain

1 customer reviews
Impatient for results? This is a fast, concise guide to the essentials of Flask with a totally practical approach that means you’ll be up and running on your first Flask app before you know it.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$9.10
RRP $12.99
Save 29%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$9.10
$29.99p/m after trial
RRP $12.99
Subscription
eBook
Start 30 Day Trial

Frequently bought together


Instant Flask Web Development Book Cover
Instant Flask Web Development
$ 12.99
$ 9.10
Web API Development with Flask [Video] Book Cover
Web API Development with Flask [Video]
$ 74.99
$ 63.75
Buy 2 for $26.60
Save $61.38
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781782169628
Paperback78 pages

Book Description

Flask is a web framework for Python, which lets you start simply and grow carefully without facing any issues with the framework as your project gets large. Flask integrates Werkzeug (a web programming toolkit) and Jinja (a templating engine) and adds a layer that lets you build web applications and services in a compact way, while letting you choose your own tools.

Instant Flask Web Development takes you beyond the quick start in the Flask documentation and shows you a bottom-up approach to organizing your Flask application. It shows you how to build a small deployable scheduling application with pointers to the various design decisions you can make when developing with Flask.

Instant Flask Web Development lets you set up your development environment and learn how Flask handles web requests, then shows you how to build a functional data-driven web application that is ready to publish, by adding one layer at a time. When working with Flask, you can work with Python and utilize its best tools for the job. The book will help you build the layers of a simple application: URL routes with Flask, a database with SQLAlchemy, form validation with WTForms, user authentication and sessions, page layout with Twitter Bootstrap, and browser code with jQuery.

This book promises to get you up and running on your first Flask app, so that you can use Flask and Python on your next web project.

Table of Contents

Chapter 1: Instant Flask Web Development
Preparing for development (Simple)
Running a simple application (Simple)
Routing URLs and accepting requests (Simple)
Handling requests and responses (Simple)
Handling static files (Simple)
Using a database (Simple)
Handling forms and file uploads (Simple)
Templating with Jinja – setting a base template (Simple)
Creating a new record (Intermediate)
Displaying a record (Intermediate)
Editing a record (Intermediate)
Listing all records (Simple)
Deleting a record (Advanced)
Using custom template filters in Jinja (Advanced)
Sending error responses (Simple)
Authenticating users (Advanced)
Handling sessions and users (Intermediate)
Deploying to the world (Advanced)

What You Will Learn

  • Manage your project dependencies using virtualenv
  • Understand how Flask provides URL routing and web request handling
  • Recognize how Flask serves static files on disk
  • Learn about modeling, storing, and querying data with SQLAlchemy
  • Present HTML forms and validate input with WTForms
  • Build a page layout with Twitter Bootstrap using a base Jinja template
  • Create, recall, update, delete, and list database records
  • Build custom template filters in Jinja to format data
  • Authenticate users and maintain sessions

Authors

Table of Contents

Chapter 1: Instant Flask Web Development
Preparing for development (Simple)
Running a simple application (Simple)
Routing URLs and accepting requests (Simple)
Handling requests and responses (Simple)
Handling static files (Simple)
Using a database (Simple)
Handling forms and file uploads (Simple)
Templating with Jinja – setting a base template (Simple)
Creating a new record (Intermediate)
Displaying a record (Intermediate)
Editing a record (Intermediate)
Listing all records (Simple)
Deleting a record (Advanced)
Using custom template filters in Jinja (Advanced)
Sending error responses (Simple)
Authenticating users (Advanced)
Handling sessions and users (Intermediate)
Deploying to the world (Advanced)

Book Details

ISBN 139781782169628
Paperback78 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Flask Framework Cookbook Book Cover
Flask Framework Cookbook
$ 26.99
$ 18.90
Mastering Object-oriented Python Book Cover
Mastering Object-oriented Python
$ 26.99
$ 18.90
Building Machine Learning Systems with Python Book Cover
Building Machine Learning Systems with Python
$ 29.99
$ 6.00
Flask Framework Cookbook Book Cover
Flask Framework Cookbook
$ 26.99
$ 18.90
Python Data Analysis Book Cover
Python Data Analysis
$ 29.99
$ 21.00
Python High Performance Programming Book Cover
Python High Performance Programming
$ 17.99
$ 12.60