Flask Web Development
Developing Web Applications with Python
Publisher: O'Reilly Media
Final Release Date: April 2014
Pages: 258

Take full creative control of your web applications with Flask, the Python-based microframework. With this hands-on book, you’ll learn Flask from the ground up by developing a complete social blogging application step-by-step. Author Miguel Grinberg walks you through the framework’s core functionality, and shows you how to extend applications with advanced web techniques such as database migration and web service communication.

Rather than impose development guidelines as other frameworks do, Flask leaves the business of extensions up to you. If you have Python experience, this book shows you how to take advantage of that creative freedom.

  • Learn Flask’s basic application structure and write an example app
  • Work with must-have components—templates, databases, web forms, and email support
  • Use packages and modules to structure a large application that scales
  • Implement user authentication, roles, and profiles
  • Build a blogging feature by reusing templates, paginating item lists, and working with rich text
  • Use a Flask-based RESTful API to expose app functionality to smartphones, tablets, and other third-party clients
  • Learn how to run unit tests and enhance application performance
  • Explore options for deploying your web app to a production server
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyFlask Web Development
 
4.8

(based on 16 reviews)

Ratings Distribution

  • 5 Stars

     

    (12)

  • 4 Stars

     

    (4)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (14)
  • Helpful examples (14)
  • Well-written (14)
  • Accurate (10)
  • Concise (9)

Cons

  • Not comprehensive enough (3)

Best Uses

  • Novice (11)
  • Intermediate (10)
  • Student (8)
    • Reviewer Profile:
    • Developer (9), Maker (3)

Reviewed by 16 customers

Sort by

Displaying reviews 1-10

Back to top

Previous | Next »

 
4.0

wish it went a bit deeper at the end

By Ryan

from Tallahassee, fl

About Me Developer, Maker

Verified Buyer

Pros

  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

  • Not comprehensive enough
  • Too basic

Best Uses

  • Intermediate
  • Novice
  • Student

Comments about oreilly Flask Web Development:

the last mile was a little sparse. otherwise, great book!

 
5.0

Clear, concise, simple yet deep

By John

from Vancouver, The frozen tundra

About Me Developer

Verified Reviewer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate
    • Novice
    • Student

    Comments about oreilly Flask Web Development:

    This is the best technical book I've read in a long time. It comes in from the basic installation and environment setup but its ambitions are a blueprint for any server side web app.

    No nonsense attitude which gives the reader what they need to know- when describing how to tackle a problem Miguel offers clear cut rational which gives a beginner the starting point to do their research and reminds more expert readers of best practises.

    If you are thinking about a python backend and debating Django vs Flask this book will illuminate you as you just how simple but powerful flask is.

    (1 of 1 customers found this review helpful)

     
    5.0

    Great primer beginners or non-engineers

    By Andrew

    from Seattle, WA

    About Me Product

    Verified Buyer

    Pros

    • Accurate
    • Easy to understand
    • Fun
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Novice
      • Semi-technical
      • Student

      Comments about oreilly Flask Web Development:

      Mr. Grinberg's approach is practical, direct, and encourages intelligent practices right off the bat. The content is geared towards moderately technical readers who are new to building web applications. The book strikes an effective balance between nuance and generality such that the reader can understand why and how everything is done without getting overwhelmed.

      The effective use of git branches per chapter readily illuminates the progressive enhancements that follow the explanation of each foundational pattern and practice covered by Mr. Grinberg. An enthusiastic beginner could readily extend the book's example application to cover any number of use cases.

      Overall, I would recommend this to anyone who knows a little Python, is enthusiastic to learn, and wants to build a web app.

      (1 of 1 customers found this review helpful)

       
      5.0

      Great insights and detailed explanations

      By Neoflo

      from San Luis Potosi, Mexico

      About Me Designer

      Verified Reviewer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Intermediate
        • Novice

        Comments about oreilly Flask Web Development:

        The only downside is that it focuses only in a blog app, it could be useful to see other type of app in the making, but it's a great foundation nonetheless.

        (1 of 1 customers found this review helpful)

         
        4.0

        Well Written

        By LLLLL

        from Seattle

        About Me Maker

        Verified Buyer

        Pros

        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Intermediate

          Comments about oreilly Flask Web Development:

          One of the clearest books on any computing topic I have read. Useful example is used. And the example goes well beyond cookbook because the text addresses the broader technique being shown.

          Flask itself is good for very simple things but when websites gain realistic scale the plugins become so complicated that much or all of the initial simplicity is gone.

          The author really tries to show how the complexity can be managed. The writing is clear and good. The tool itself has shortcomings.

           
          4.0

          Does the job

          By Vasili

          from Sydney

          About Me Sys Admin

          Verified Buyer

          Pros

          • Easy to understand
          • Helpful examples

          Cons

          • Not comprehensive enough

          Best Uses

          • Novice

          Comments about oreilly Flask Web Development:

          Good book for people uninitiated with flask. I've made a nice website out of it, with custom authentication and other features.

          I think that the book could have been a bit longer, with other potential options covered, for example, Redis as an alternative to SQLite could have been shown in just a couple of extra pages.

          Also, a lot of Flask extensions were difficult to get a hold of... some package names differed, and some seemed to be incompatible.

          Overall though, I would say it was a good purchase and I got a lot out of it.

          (1 of 1 customers found this review helpful)

           
          5.0

          Great Book

          By Thor

          from Baltimore, MD

          About Me Developer

          Verified Buyer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Intermediate

            Comments about oreilly Flask Web Development:

            Clear and engaging writing style, good organization of material, well thought-out examples, covered most of the things that I will need to build my own websites. I would highly recommend this book, it was well worth the time and money.

             
            5.0

            Very Nice

            By Zaal

            from Philadelphia, PA

            Verified Reviewer

            Pros

            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Intermediate
              • Novice

              Comments about oreilly Flask Web Development:

              I've read the first and last parts of the book so far and it's been very informative. I knew some web programming concepts before and this book is helping to consolidate those and start building real-world apps.

               
              4.0

              Good beginners book

              By Eric

              from San Francisco, CA

              About Me Developer

              Verified Buyer

              Pros

              • Easy to understand
              • Well-written

              Cons

              • Not comprehensive enough
              • Too basic

              Best Uses

              • Novice

              Comments about oreilly Flask Web Development:

              Good reading for beginners to Flask. Wish it had gone more in-depth, perhaps with more chapters diving further in SQLAlchemy or extensions like Flask-Uploads. Still, well written and worth it.

              (1 of 1 customers found this review helpful)

               
              5.0

              excellent

              By K

              from SF, CA

              Verified Buyer

              Comments about oreilly Flask Web Development:

              excellent, easy to read, great coverage of topics. I'd consider myself a python (systems) expert, but previously didn't know (that) about building a web stack. This book, combined with the excellent (!!) source examples and follow-along git repo, jumpstarted my learning by a mile. A+

              Displaying reviews 1-10

              Back to top

              Previous | Next »

               
              Buy 2 Get 1 Free Free Shipping Guarantee
              Buying Options
              Immediate Access - Go Digital what's this?
              Ebook: $33.99
              Formats:  DAISY, ePub, Mobi, PDF
              Print & Ebook: $43.99
              Print: $39.99