๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Python Web Development with Sanic: An in-depth guide for Python web developers to improve the speed and scalability of web applications

โœ Scribed by Adam Hopkins


Publisher
Packt Publishing - ebooks Account
Year
2022
Tongue
English
Leaves
355
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Follow along with author Adam Hopkins and build a performant and scalable web application using Sanic, along with maintaining clean code to fit your unique challenges and business requirements

Key Features

  • Use the power of Sanic to build a scalable and high-performant web application
  • Analyze and implement Sanic in common use cases
  • Create a complete web application from scratch using the latest features of the Sanic framework

Book Description

Todayโ€™s developers need something more powerful and customizable when it comes to web app development. They want the tools to build something, and not simply glue a bunch of things together built by others. This is where Sanic comes into the picture. Itโ€™s a next-generation Python framework and server tuned for high performance and built to be unopinionated and scalable.

Youโ€™ll start by understanding Sanicโ€™s purpose, significance, and use cases. Next, youโ€™ll learn to spot different issues when building web applications, and how to choose, create, and adapt the right solution to meet your needs. As you progress, youโ€™ll understand how to use listeners, middleware, and background tasks to customize your application. The book will take you through real-world examples, so you walk away with practical knowledge and not just code snippets.

By the end of this web development book, you will 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

  • Strengthen your knowledge of web application architecture
  • Explore the difference between WSGI, Async, and ASGI servers
  • Understand the core philosophies of performance, scalability, and unopinionated
  • Focus on how Sanic organizes incoming data, why it does it, and how to make the most of it
  • Implement best practices for reliable, performant, and secure web apps
  • Understand useful techniques for successfully deploying a Sanic web app
  • Create an effective custom task manager within Sanic
  • Discover security concerns and how to deal with them in your Sanic apps

Who This Book Is For

This book is for Python web developers who have knowledge of how web technologies work and are looking to enhance their skills by taking their applications to the next level using the power of the Sanic framework. Working knowledge of Django and/or Flask is 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 is also assumed.

Table of Contents

  1. An Introduction to Sanic and Async Frameworks
  2. Organizing a Project
  3. Routing and Intaking HTTP Requests
  4. Ingesting HTTP Data
  5. Handling and Responding Views
  6. Outside the Response Cycle
  7. Dealing with Security Concerns
  8. Running a Server
  9. Best Practices to Improve Your Web Applications
  10. Implementing Sanic in Common Use Cases
  11. A Complete Real-World Example


๐Ÿ“œ SIMILAR VOLUMES


Python Web Development with Sanic: An in
โœ Adam Hopkins ๐Ÿ“‚ Library ๐Ÿ“… 2022 ๐Ÿ› Packt ๐ŸŒ English

Build a performant and scalable web application using Sanic, along with maintaining clean code to fit your unique challenges and business requirements Key Features Expand your knowledge of web application architecture for building scalable web apps Learn the core philosophies of performance and s

Flask Web Development: Developing Web Ap
โœ Miguel Grinberg ๐Ÿ“‚ Library ๐Ÿ“… 2018 ๐Ÿ› Oโ€™Reilly Media ๐ŸŒ English

Take full creative control of your web applications with Flask, the Python-based microframework. With the second edition of this hands-on book, youโ€™ll learn Flask from the ground up by developing a complete, real-world application created by author Miguel Grinberg. This refreshed edition accounts fo

Flask Web Development: Developing Web Ap
โœ Grinberg, Miguel ๐Ÿ“‚ Library ๐Ÿ“… 2014 ๐Ÿ› O'Reilly Media ๐ŸŒ English

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 functionali

Flask Web Development: Developing Web Ap
โœ Grinberg, Miguel ๐Ÿ“‚ Library ๐Ÿ“… 2014 ๐Ÿ› O'Reilly Media ๐ŸŒ English

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 functionali