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

Ratings Distribution

  • 5 Stars

     

    (10)

  • 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 (11)
  • Helpful examples (11)
  • Well-written (11)
  • Accurate (8)
  • Concise (7)

Cons

    Best Uses

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

    Reviewed by 13 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    Previous | Next »

     
    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.

       
      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.

                  (1 of 1 customers found this review helpful)

                   
                  5.0

                  Fantastic book

                  By Artur Z.

                  from Poland

                  About Me Developer, Educator

                  Verified Reviewer

                  Pros

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

                  Cons

                    Best Uses

                    • Intermediate
                    • Novice
                    • Student

                    Comments about oreilly Flask Web Development:

                    I learned many new things from this book by building professional application starting from scratch. Educational and practical approach of an author gave me a lot of satisfaction.

                    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