Szczegóły ebooka

Rust Web Programming. A hands-on guide to Rust for modern web development, with microservices and nanoservices - Third Edition

Rust Web Programming. A hands-on guide to Rust for modern web development, with microservices and nanoservices - Third Edition

Maxwell Flitton

Ładowanie...
EBOOK
Rust is no longer just for systems programming. This book will show you why this safe and performant language is a crucial up-and-coming option for developing web applications, and get you on your way to building fully functional Rust web apps. You don’t need any experience with Rust to get started, and this new edition also comes with a shallower learning curve.

You’ll get hands-on with emerging Rust web frameworks including Actix, Axum, Rocket, and Hyper. You’ll look at injecting Rust into the frontend with WebAssembly and HTTPS configuration with NGINX. Later, you’ll move on to more advanced async topics, exploring TCP and framing, and implementing async systems.

As you work through the book, you’ll build a to-do application with authentication using a microservice architecture that compiles into one Rust binary, including the embedding of a frontend JavaScript application in the same binary. The application will have end-to-end atomic testing and a deployment pipeline.

By the end of this book, you’ll fully understand the significance of Rust for web development. You’ll also have the confidence to build robust, functional, and scalable Rust web applications from scratch.
  • 1. A Quick Introduction to Rust
  • 2. Useful Rust Patterns for Web Programming
  • 3. Designing Your Web Application in Rust
  • 4. Async Rust
  • 5. Handling HTTP Requests
  • 6. Processing HTTP Requests
  • 7. Displaying Content in the Browser
  • 8. Injecting Rust in the Frontend with WebAssembly
  • 9. Data Persistence with PostgreSQL
  • 10. Managing User Sessions
  • 11. Communicating Between Servers
  • 12. Caching Auth Sessions
  • 13. Observability Through Logging
  • 14. Unit Testing
  • 15. End-to-End Testing
  • 16. Deploying Our Application on AWS
  • 17. Configuring HTTPS with NGINX on AWS
  • 18. Practicalities of Using Microservices and Nanoservices
  • 19. Low-Level Networking
  • 20. Distributed Computing
  • Tytuł:Rust Web Programming. A hands-on guide to Rust for modern web development, with microservices and nanoservices - Third Edition
  • Autor:Maxwell Flitton
  • Tytuł oryginału:Rust Web Programming. A hands-on guide to Rust for modern web development, with microservices and nanoservices - Third Edition
  • ISBN:9781835887776, 9781835887776
  • Data wydania:2026-01-30
  • Format:Ebook
  • Identyfikator pozycji: e_3zzj
  • Wydawca: Packt Publishing
Ładowanie...
Ładowanie...