- Use promo code PRIMEBOOKS18 to save $5.00 when you spend $20.00 or more on Books offered by Amazon.com. Enter code PRIMEBOOKS18 at checkout. Here's how (restrictions apply)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Flask Web Development: Developing Web Applications with Python 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Fulfillment by Amazon (FBA) is a service we offer sellers that lets them store their products in Amazon's fulfillment centers, and we directly pack, ship, and provide customer service for these products. Something we hope you'll especially enjoy: FBA items qualify for FREE Shipping and Amazon Prime.
If you're a seller, Fulfillment by Amazon can help you increase your sales. We invite you to learn more about Fulfillment by Amazon .
There is a newer edition of this item:
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
Special offers and product promotions
About the Author
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
Miguel does a great job of setting up the environment right from the start (explaining virtualenv and project structure, things often overlooked in the community).
- Using the single example throughout the book is cumbersome. I was truly hoping that you'd switch to a new example in Chapter 7 when we got to Large Application Structure. It's not that the example isn't great, it's just that when you're reading the book over multiple sessions, you tend to forget some of the things covered earlier in the book -- and then a cycle of uncertainty continues to play in the back of your mind .. and eventually reaches a point where you throw your hands in the air, and start the book over. I did that 3 times before the book was finally done. Perhaps using multiple smaller examples might make it easier to grasp.
The book is great, and I've already added it as recommended reading to any developer that joins our company.
The book covers everything from how to set up Flask in a virtualenv through development, testing and deployment. He fully explains his specific project organization style with the reasoning as to why he made those choices. Again, these items are rarely covered in books and often haphazardly done by naive developers.
Along the way, through Part 1 "Introduction to Flask" he covers the capabilities with examples. Common Flask extensions and useful ancillary packages are well described, again with examples.
Part 2 goes deeper into a larger project, and provides examples and rationalizations for his choices along the way. There are all sorts of great tidbits in there that apply to nearly any project, so don't be put off by what appears to be a highly specific example project.
I think in summary the book has two overriding values to me. First, he covers a lot of ground with examples. After reading, you will have a solid understanding of how to use Flask, and a great reference to flip back through. Second he explains the rationale behind his choices. Anyone can find the documentation online for Flask and the extensions, but understanding what is appropriate and how to use those parts is where this book really helps.
As an example: At the Large Application stage, this reviewer took another short, paint-by-numbers, online tutorial just in constructing the file structure of a project. This gave me another view. Additionally, I was not afraid to break things. I cloned the project as another directory and did my experimentation along that folder path. Also, I made use of an sqlite plugin so that I could get a graphical representation of the database structure.
I used a full-blown IDE - so to speak. Emacs with elpy-mode and jinja2-mode plugins. The completion facilities gave insights into the resources and possibilites of the Python Classes. Emacs' robust help system (which extends as the programmer extends emacs functionality though elisp) contributed to that end.
Although the author recommends this book to those who already know python (this reviewer has 20 years of CGI programming, 13 in Python) I believe that someone with extensive programming experience in languages other than python could make constructive use of the book as he/she learned python.
I found no logical or informational gaps between the indivual stages (chapters and subchapters). The author is very approachable and quick to answer questions.
While Django is the gold-standard for Python web frameworks, Flask is suitable for people just learning how web frameworks are used, as well as for comparatively light-weight web sites that don't need the full suite of tools provided by Django.
This book is great as a tutorial/walk-through, but is useful enough to keep around as a reference.
Most recent customer reviews
The hardest part is chapter 2, it is extremely crazy to write a book for reading.