Flask Web Development: Developing Web Applications with Python

Flask Web Development: Developing Web Applications with Python
By Miguel Grinberg

List Price: $39.99
Price: $32.41 Details

Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com

57 new or used available from $20.00

Average customer review:
(56 customer reviews)

Product Description

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

  • Amazon Sales Rank: #114593 in Books
  • Brand: imusti
  • Published on: 2014-05-18
  • Released on: 2014-05-18
  • Original language: English
  • Number of items: 1
  • Dimensions: 9.19" h x .59" w x 7.00" l, .92 pounds
  • Binding: Paperback
  • 258 pages


  • O Reilly Media

Editorial Reviews

About the Author

Miguel Grinberg has over 25 years of experience as a software engineer. In his current position at Rackspace he spends most of his time contributing to open source projects in the OpenStack ecosystem. He blogs at http://blog.miguelgrinberg.com about a variety of topics including web development, robotics, photography, and the occasional movie review. Miguel lives in Portland, Oregon with his wife, four kids, two dogs, and a cat.

Customer Reviews

Most helpful customer reviews

32 of 33 people found the following review helpful.
4Best reference on Flask I've seen
By Zinc
As a newbie to Flask, I was stuggling to find any complete tutorials that would get me from beginner all the way up to the point where I could develop entire apps on my own. I came across several excellent posts on Flask on Miguel's blog, and then got the book to fill in the gaps.

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.

15 of 15 people found the following review helpful.
5Great tutorial with very clear explanations
By Aronbo
I've been using Python for a long time, but hadn't worked with Flask before. I first encountered Miguel's online blog postings: "The Flask Mega-Tutorial" to be very useful and well written. They lead me to this book.

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.

2 of 2 people found the following review helpful.
5A great adquisition
By Amazon Customer
Miguel is a gifted teacher. He explains things step by step carefully in a very clear-to-read language.
The book starts with a simple introduction to Flask; Afterwards a big application is built.
Miguel takes care of the details: this can be seen on his patience explanations in the code and the way the repository is organized - which makes the reader's life very easy. Why things are done the way they are done is always explained.

There is probably nothing new in the book, all the topics can possibly found in the net already.
BUT this books collects them all and put them in the appropriate order, sparing the reader a lot of time and confusion.
You can now concentrate in learning Flask and good principles/way of working, rather than searching. Great investment.

I am very happy and I -of course- recommend it to others interested in learning Flask.

See all 56 customer reviews...

Connect with defaultLogic
What We've Done
Led Digital Marketing Efforts of Top 500 e-Retailers.
Worked with Top Brands at Leading Agencies.
Successfully Managed Over $50 million in Digital Ad Spend.
Developed Strategies and Processes that Enabled Brands to Grow During an Economic Downturn.
Taught Advanced Internet Marketing Strategies at the graduate level.

Manage research, learning and skills at defaultLogic. Create an account using LinkedIn or facebook to manage and organize your IT knowledge. defaultLogic works like a shopping cart for information -- helping you to save, discuss and share.

  Contact Us