Walk through the basics of Tornado, the high-performance web server known for its speed, simplicity, and scalability on projects large and small. With this hands-on guide, you'll learn how to use Tornado's acclaimed features by working with several example applications. You also get best practices for using Tornado in the real world.Are you interested in creating a scalable social application, real-time analytics engine, or RESTful API--all with the power and simplicity of Python? This book shows you why Tornado is fantastic choice for writing powerful applications that are simple to create, extend, and deploy. Learn how to use Tornado's lightweight and flexible templating language Extend templates to repurpose headers, footers, layout grids, and other content Use persistent storage like MongoDB to store, serve, and edit dynamic content Explore Tornado's ability to make asynchronous web requests Secure your application against cookie and request vulnerabilities Authenticate with external services, using Tornado's auth module Adopt deployment strategies that help harden your application and increase request throughput
This book shows many examples of well commented and described code, but is very basic, it's probably recommended for someone who is starting out in programming with Python.
In the examples in relation to a database, it consider using PyMongo and although they warn that they take into account in its simplicity, this driver is blocking and never speak of this issue. Just one example shows an asynchronous process using a callback, this I think is something that should extend well throughout the content.
What awesome is that being a book written by three people, they have not had enough criticism in order to improve and describe what is really Tornado and using a event loop. Anyone who reads this book will have the impression that Tornado is a framework that works like Flask or web.py or itty. Tornado is a well documented project and enough to understand everything that mentions this book.
I honestly had expected much more and definitely not recommend it for someone who wants to learn asynchronous programming with Tornado.
If you consider to learn tornado you have to dig into code this is a nice book for beginners. but do not recommended if you already deploy a live application with tornado which in case you know most of them.