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 22 reviews)

Ratings Distribution

  • 5 Stars

     

    (17)

  • 4 Stars

     

    (5)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Well-written (20)
  • Helpful examples (19)
  • Easy to understand (18)
  • Accurate (15)
  • Concise (13)

Cons

  • Not comprehensive enough (4)

Best Uses

  • Intermediate (16)
  • Novice (12)
  • Student (8)
  • Expert (4)
    • Reviewer Profile:
    • Developer (14), Maker (4), Sys admin (3)

Reviewed by 22 customers

Displaying reviews 1-10

Back to top

Previous | Next »

(1 of 1 customers found this review helpful)

 
5.0

Perfect pacing and great coverage

By JeNeSuisPasDave

from Houston, TX, USA

About Me Developer, Software Architect

Verified Reviewer

Pros

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

Cons

    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly Flask Web Development:

    I used the book to get up to speed on Flask, with the intent of using Flask on a proof of concept multi-tenant web product.

    I found the pacing of the book to be perfect for learning the basics of Flask and building a multi-user web site. The book progressively builds up a full-featured blogging platform. To get the most out of the text, you'll want to follow along and maybe add your own tweaks along the way.

    The book is a couple years out of date, but the source code in the text still holds up well, and the companion source code repo is very close to current. (Besides, fixing the package names and other minor API changes will help you learn the material.) I did not hit any roadblocks due to Flask or Python or package changes.

    Unit testing is covered fairly early and more robust testing is covered in the later chapters. Good pointers are provided for additional packages and resources to pursue once you've completed the text.

    If you want to learn, or re-learn, Flask, I don't think you could go wrong with this text.

     
    5.0

    Best book of Flask ever written

    By Hugo

    from Brazil

    About Me Developer, Sys Admin

    Verified Reviewer

    Pros

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

    Cons

      Best Uses

      • Expert
      • Intermediate

      Comments about oreilly Flask Web Development:

      I always followed Miguel's presentations in Python conferences on youtube. I always loved the content and how it's presented. Also, I always keep up with his flask blog. However, I missed some of the process and some of the steps in the videos (it means I cannot understand why some code decisions were made or why a given module was used). This book gave me a clear view of the importance of each module and how each method call works and why it works (without being boring and repetitive). It was an excellent start point to have a strong base app with the essential authentication flows and also with a modular behaviour that let the app grow in an organised matter.

      Miguel, thanks for helping me so much with your knowledge and teaching skills.

       
      5.0

      Enjoyed reading this book

      By Tom

      from Nacka, Sweden

      About Me Developer

      Verified Reviewer

      Pros

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

      Cons

        Best Uses

        • Intermediate

        Comments about oreilly Flask Web Development:

        I really enjoyed reading this book. Is is written in an informative, but easy to read style.

        If you are already up to speed with Python programming, but want to read an introduction to Flask this is a great book.

         
        4.0

        New to dynamic web applications and Flask

        By Ryan the Reviewer

        from Washington

        About Me Curious, Hobbyist

        Verified Buyer

        Pros

        • Accurate
        • Concise
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Intermediate

          Comments about oreilly Flask Web Development:

          I was inspired to pick up the book from a Python podcast. This book started out very strong and inspiring. It was easy for me to grasp the concepts and even make some simple web applications. The code examples were clear and worked. I love the purposeful integration with the github repository which makes it easy to follow along and experiment.

          For me, the additional complexity for large applications put the brakes on my progress. I understand the need for organization, but some of the concepts came quickly without a clear reason why. Admittedly I'm still working through the material so I'll probably find the answer on my own in the future.

          That said, the author really does a great job with his work and puts together coherent and concise explanations. I wouldn't hesitate for a second to pick up another book from him.

           
          5.0

          Really a great book!

          By bs

          from Frankfurt am Main, Germany

          About Me Developer

          Verified Reviewer

          Pros

          • Accurate
          • Well-written

          Cons

          • Not comprehensive enough

          Best Uses

          • Intermediate
          • Novice

          Comments about oreilly Flask Web Development:

          This book was a great source for learning Flask.

           
          5.0

          Recommend this book to others

          By KpH

          from New Egypt, NJ

          About Me Developer, Maker

          Verified Buyer

          Pros

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

          Cons

            Best Uses

            • Intermediate

            Comments about oreilly Flask Web Development:

            Good way to get started with Python / Flask web apps.

             
            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!

            (1 of 1 customers found this review helpful)

             
            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.

              (2 of 2 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.

                  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