With Early Release ebooks, you get books in their earliest form—the author's raw and unedited content as he or she writes—so you can take advantage of these technologies long before the official release of these titles. You'll also receive updates when significant changes are made, new chapters as they're written, and the final ebook bundle.
If you have Python experience, and want to learn advanced web development techniques with the Flask microframework, this practical book takes you step-by-step through the development of a real-world project. It’s an ideal way to learn Flask from the ground up without the steep learning curve. The author starts with installation and brings you to more complicated topics such as database migrations, caching, and complex database relationships.
Each chapter in this focuses on a specific aspect of the project—first by exploring background on the topic itself, and then by waking you through a hands-on implementation. Once you understand the basics of Flask development, you can refer back to individual chapters to reinforce your grasp of the framework.
Miguel Grinberg is a Senior Staff Software Engineer at Harmonic, Inc., where he leads a team that works on audio/video software for the broadcast industry. He blogs about a variety of topics including web development, robotics, photography and the occasional movie review. He lives in Portland, Oregon with his wife, four kids, two dogs and cat.
I followed the author's Flask mega tutorial blog posts for three months and learned a lot. The minute this book was pre-released, I rushed out and obtained a copy. And my expectations were exceeded again!
You need some basic knowledge of python -- but everything else is clearly explained.
The books is organized into three sections.
1) In the first part, you begin the journey to Flask mastery by building the piece parts of a blogging application and in the process setup python, flask, virtual environment, web forms etc. Migueul provides a fully functional code base to accompany his book. Each milestone in his lesson is accurately tagged in his Git repository and makes following along a breeze. By the end of this section I had a pretty good mental model of the Flask framework and a decent application was beginning to take shape.
2) The second section is where the baby app blossoms into adulthood. You deal with user authentication, complex database models, organizing the growing body of code, REST APIs, pagination..JSON
3) The third section tackles the go-to-production challenges — building test frameworks, packaging for deployment, deployment platforms.
The hallmark of an accomplished professional is that they understand that in a complete solution there are many components and that all of the components must be present for the system to function, including behind-the-scenes tasks as user login management, database upgrades, test frameworks and production management.
The hallmark of an expert or a coach is that they distill the essence of these overwhelming and daunting concepts into bite-size pieces.
The hallmark of a great educator is that they can weave the concepts with practical tips and tasks while placing themselves in the shoes of students.
I believe this books demonstrates the author's exemplary embodiment of all three roles. It would have been far too easy to leave out the hard parts as "homework", but instead the author has tackled each and every issue head-on, with clear explanation and a working body of code.
Having spent close to 20 years in product development in the software industry I have ready many books and have also helped with training materials for software products. I can honestly say that this book is exemplary. If you have any interest in the Flask framework, get this book!
PS: I am six months into Python and loving every minute of it. When I choose to go down the Python route for a SaaS application, I imagined I'd be learning Django. My research indicated that Flask might be better suited for my project -- a site developed largely by me. I have not been disappointed with my choice. This book is perhaps the single most reason for my rapid progress. Thank you Miguel.
Bottom Line Yes, I would recommend this to a friend