Rust Web Programming
eBook - ePub

Rust Web Programming

A hands-on guide to developing, packaging, and deploying fully functional Rust web applications, 2nd Edition

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

Rust Web Programming

A hands-on guide to developing, packaging, and deploying fully functional Rust web applications, 2nd Edition

About this book

Use the Rust programming language to build fully functional web applications with async Rust to amplify security and boost the performance of your programs

Key Features

  • Work with cutting-edge web techniques such as distroless Rust servers, Terraform, and AWS deployment
  • Get acquainted with async concepts such as actors and queuing tasks using lower-level frameworks like Tokio
  • Build a full web application in Rust with a database, authentication, and frontend

Book Description

Are safety and high performance a big concern for you while developing web applications?With this practical Rust book, you'll discover how you can implement Rust on the web to achieve the desired performance and security as you learn techniques and tooling to build fully operational web apps.In this second edition, you'll get hands-on with implementing emerging Rust web frameworks, including Actix, Rocket, and Hyper. It also features HTTPS configuration on AWS when deploying a web application and introduces you to Terraform for automating the building of web infrastructure on AWS. What's more, this edition also covers advanced async topics. Built on the Tokio async runtime, this explores TCP and framing, implementing async systems with the actor framework, and queuing tasks on Redis to be consumed by a number of worker nodes. Finally, you'll go over best practices for packaging Rust servers in distroless Rust Docker images with database drivers, so your servers are a total size of 50Mb each.By the end of this book, you'll have confidence in your skills to build robust, functional, and scalable web applications from scratch.

What you will learn

  • Structure and build scalable Rust web apps by creating a basic to-do list web app
  • Manage authentication and databases in Rust web applications
  • Get to grips with wrapping web applications in distroless
  • Understand the building blocks of web development such as HTTPS, TCP, and middleware
  • Build app infrastructure on AWS using Terraform with databases, servers, load balancers, HTTPS, and URL routing
  • Build end-to-end tests using Postman
  • Build async systems implementing the actor model using Tokio

Who this book is for

This Rust programming book is for web developers who want to learn and implement Rust to build web applications. Developers familiar with languages such as Python, Ruby, and JS will be able to use this book to build high performant web apps with Rust.Although no prior experience in Rust is necessary, a solid understanding of web development principles, along with basic knowledge of HTML, CSS, and JavaScript, is necessary to get the most out of this book.

]]>

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 Rust Web Programming by Maxwell Flitton in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Rust Web Programming
  2. Contributors
  3. Preface
  4. Part 1:Getting Started with Rust Web Development
  5. 1
  6. 2
  7. Part 2:Processing Data and Managing Displays
  8. 3
  9. 4
  10. 5
  11. Part 3:Data Persistence
  12. 6
  13. 7
  14. 8
  15. Part 4:Testing and Deployment
  16. 9
  17. 10
  18. 11
  19. Part 5:Making Our Projects Flexible
  20. 12
  21. 13
  22. Part 6:Exploring Protocol Programming and Async Concepts with Low-Level Network Applications
  23. 14
  24. 15
  25. 16
  26. 17
  27. 18
  28. Index
  29. Other Books You May Enjoy