Learning Flask Framework
By Matt Copperwaite, Charles Leifer
Publisher: Packt Publishing
Final Release Date: November 2015
Pages: 250

Build dynamic, data-driven websites and modern web applications with Flask

About This Book

  • Discover the most popular Flask resources on the web with ease
  • Familiarize yourself with third-party libraries commonly used with Flask
  • Create a fast, interactive, and secure web app with this hands-on guide

Who This Book Is For

This book is for anyone who wants to develop their knowledge of Python into something that can be used on the web. Flask follows the Python design principles and can be easily understood by anyone who knows Python, and even by those who do not.

What You Will Learn

  • Create your web pages to add modularity and flexibility to your web app using templates
  • Store and retrieve relational data using SQLAlchemy
  • Develop schema migrations with Alembic
  • Produce an admin section using flask-admin
  • Build RESTful APIs using Flask-Restless
  • Simulate requests and sessions using the Flask test client
  • Make Ajax requests from Jinja2 templates

In Detail

Flask is a small and powerful web development framework for Python. It does not presume or force a developer to use a particular tool or library. Flask supports extensions that can add application features as if they were implemented in Flask itself. Flask's main task is to build web applications quickly and with less code. With its lightweight and efficient web development framework, Flask combines rapid development and clean, simple design.

This book will take you through the basics of learning how to apply your knowledge of Python to the web.

Starting with the creation of a “Hello world” Flask app, you will be introduced to the most common Flask APIs and Flask's interactive debugger. You will learn how to store and retrieve blog posts from a relational database using an ORM and also to map URLs to views. Furthermore, you will walk through template blocks, inheritance, file uploads, and static assets.

You will learn to authenticate users, build log in/log out functionality, and add an administrative dashboard for the blog. Moving on, you will discover how to make Ajax requests from the template and see how the Mock library can simplify testing complex interactions.

Finally, you will learn to deploy Flask applications securely and in an automated, repeatable manner, and explore some of the most popular Flask resources on the web.

Style and approach

A comprehensive guide packed with real-world examples and popular use cases; starting with basic overviews and diving into the practical aspects of Flask Framework.

Product Details
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLearning Flask Framework
 
4.0

(based on 1 review)

Ratings Distribution

  • 5 Stars

     

    (0)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 1 customer

Displaying review 1

Back to top

 
4.0

An excellent starting place for Flask studies

By smitty1e

from Northern Virginia

About Me Developer

Verified Reviewer

Pros

  • Concise
  • Easy to understand
  • Helpful examples
  • Methodical

Cons

  • Room To Expand

Best Uses

  • Intermediate

Comments about oreilly Learning Flask Framework:

I've made the code run under python3.5 at
https://github.com/smitty1eGH/drowpress

The code changes needed were not substantial.

The next edition could benefit from more unittest emphasis.
Also, the interaction between GitHub, venv, and the code could bear elaboration.

Displaying review 1

Back to top

 
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook:  $35.99
Formats:  ePub, Mobi, PDF