Price: $35.99 - $2.99
(as of Mar 20, 2025 02:00:16 UTC – Details)
Build a performant and scalable web application using Sanic, along with maintaining clean code to fit your unique challenges and business requirements
Key FeaturesExpand your knowledge of web application architecture for building scalable web appsLearn the core philosophies of performance and scalability from one of the creators of SanicCreate a complete Python web app from scratch and learn to translate the knowledge you gain across various use casesBook Description
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 by 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 by 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.
By 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 learnUnderstand the difference between WSGI, Async, and ASGI serversDiscover how Sanic organizes incoming data, why it does it, and how to make the most of itImplement best practices for building reliable, performant, and secure web appsExplore useful techniques for successfully testing and deploying a Sanic web appCreate effective solutions for the modern web, including task management, bot integration, and GraphQLIdentify security concerns and understand how to deal with them in your Sanic appsWho this book is for
This book is for Python web developers who have basic to intermediate-level knowledge of how web technologies work and are looking to take their applications to the next level using the power of the Sanic framework. Working knowledge of Python web development along with frameworks such as Django and/or Flask will be helpful but is not required. A basic to intermediate-level understanding of Python 3, HTTP, RESTful API patterns, and modern development practices and tools, such as type annotations, pytest, and virtual environments will also be beneficial.
Table of ContentsIntroduction to Sanic and Async FrameworksOrganizing a ProjectRouting and Intaking HTTP RequestsIngesting HTTP DataBuilding Response HandlersOperating Outside the Response HandlerDealing with Security ConcernsRunning a Sanic ServerBest Practices to Improve Your Web ApplicationsImplementing Common Use Cases with SanicA Complete Real-World Example
ASIN : B09N71KNP8
Publisher : Packt Publishing; 1st edition (March 28, 2022)
Publication date : March 28, 2022
Language : English
File size : 7506 KB
Text-to-Speech : Enabled
Screen Reader : Supported
Enhanced typesetting : Enabled
X-Ray : Not Enabled
Word Wise : Not Enabled
Print length : 504 pages
Price: $35.99 - $2.99
(as of Mar 20, 2025 02:00:16 UTC – Details)