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

Ratings Distribution

  • 5 Stars

     

    (11)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (12)
  • Helpful examples (12)
  • Well-written (12)
  • Accurate (9)
  • Concise (7)

Cons

    Best Uses

    • Novice (9)
    • Intermediate (8)
    • Student (6)
      • Reviewer Profile:
      • Developer (7)

    Reviewed by 14 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    Previous | Next »

    (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+

              (1 of 1 customers found this review helpful)

               
              5.0

              READ THIS BOOK!

              By David in Austin

              from Austin, Tx

              About Me Developer, Maker

              Verified Buyer

              Pros

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

              Cons

                Best Uses

                  Comments about oreilly Flask Web Development:

                  Allow me to give one complaint about this book before I give the rest of my review. The only hard part about this book to understand is the deployment portion because I was not familiar with deploying a python application via Apache. I was using a DigitalOcean account and deploying my Flask application was my biggest headache. NOW FOR THE REST!

                  I needed to learn Flask for a coding challenge I was given and I first found Miguel's blog post about it. After using that post, almost exclusively to develop my application, I noticed he was writing this book. I bought the book and read the first few chapters and it contained all the information from the blog post and then went even further in depth. I would recommend this book to anyone investigating Flask because it takes an incredible framework and explains it amazingly.

                  Miguel doesn't assume anything in this book so he doesn't talk over your head with extended use of acronyms but he also doesn't talk down to you by making anything seem "obvious". I recommended this book to friends deciding on Python/Flask vs Ruby/Sinatra because this book coupled with Flask makes web development as much fun and painless as doing Ruby on Rails.

                  (5 of 5 customers found this review helpful)

                   
                  5.0

                  Excellent tutorial

                  By gev

                  from Velvary, Czech Republic

                  Verified Buyer

                  Pros

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

                  Cons

                    Best Uses

                    • Novice
                    • Student

                    Comments about oreilly Flask Web Development:

                    The book is a great introduction to development with Flask, using a tutorial approach going from the basics to building a simple yet full-blown web application. The book is very easy to follow, it's written in a way easy to understand even for a non-native speaker like me.

                    I would definitely consider other books by Miguel Grinberg, if he writes any in the future. I like his way of explaining things and level of details provided.

                    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