Python Web Development with Sanic: An in-depth guide for Python web developers to improve the speed and scalability of web applications
Author: Adam Hopkins
Publisher Finelybook 出版社：Packt Publishing (March 28, 2022)
pages 页数：504 pages
Build a performant and scalable web application using Sanic, along with maintaining clean code to fit your unique challenges and business requirements
Expand your knowledge of web application architecture for building scalable web apps
Learn the core philosophies of performance and scalability from one of the creators of Sanic
Create a complete Python web app from scratch and learn to translate the knowledge you gain across various use cases
Today’s developers need something more powerful and customizable when it comes to web app development. They require effective tools to build something unique to meet their specific needs, and not simply glue a bunch of things together built Author: others. This is where Sanic comes into the picture. Built to be unopinionated and scalable, Sanic is a next-generation Python framework and server tuned for high performance.
This Sanic guide starts Author: helping you understand Sanic’s purpose, significance, and use cases. You’ll learn how to spot different issues when building web applications, and how to choose, create, and adapt the right solution to meet your requirements. As you progress, you’ll understand how to use listeners, middleware, and background tasks to customize your application. The book will also take you through real-world examples, so you will walk away with practical knowledge and not just code snippets.
Author: the end of this web development book, you’ll have gained the knowledge you need to design, build, and deploy high-performance, scalable, and maintainable web applications with the Sanic framework.
What you will learn
Understand the difference between WSGI, Async, and ASGI servers
Discover how Sanic organizes incoming data, why it does it, and how to make the most of it
Implement best practices for building reliable, performant, and secure web apps
Explore useful techniques for successfully testing and deploying a Sanic web app
Create effective solutions for the modern web, including task management, bot integration, and GraphQL
Identify security concerns and understand how to deal with them in your Sanic apps