Python Web Development with Sanic
eBook - ePub

Python Web Development with Sanic

  1. 504 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Python Web Development with Sanic

About this book

Build a performant and scalable web application using Sanic, along with maintaining clean code to fit your unique challenges and business requirementsKey Features• 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 casesBook DescriptionToday'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 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 appsWho this book is forThis 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.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Python Web Development with Sanic by Adam Hopkins in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Python Web Development with Sanic
  2. Contributors
  3. Preface
  4. Part 1:Getting Started with Sanic
  5. Chapter 1: Introduction to Sanic and Async Frameworks
  6. Chapter 2: Organizing a Project
  7. Part 2:Hands-On Sanic
  8. Chapter 3: Routing and Intaking HTTP Requests
  9. Chapter 4: Ingesting HTTP Data
  10. Chapter 5: Building Response Handlers
  11. Chapter 6: Operating Outside the Response Handler
  12. Chapter 7: Dealing with Security Concerns
  13. Chapter 8: Running a Sanic Server
  14. Part 3:Putting It All together
  15. Chapter 9: Best Practices to Improve Your Web Applications
  16. Chapter 10: Implementing Common Use Cases with Sanic
  17. Chapter 11: A Complete Real-World Example
  18. Other Books You May Enjoy