Rust Web Development with Rocket
eBook - ePub

Rust Web Development with Rocket

A practical guide to starting your journey in Rust web development using the Rocket framework

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

Rust Web Development with Rocket

A practical guide to starting your journey in Rust web development using the Rocket framework

About this book

Explore the world of Rocket-fueled web application development and the power of the Rust programming language

Key Features

  • Discover solutions to the common problems faced while creating web applications with Rocket
  • Learn everything about Rust, from structs and crates to generics and debugging
  • Combine Rust and Rocket to create, test, and deploy a full-featured web app

Book Description

Looking for a fast, powerful, and intuitive framework to build web applications? This Rust book will help you kickstart your web development journey and take your Rust programming skills to the next level as you uncover the power of Rocket - a fast, flexible, and fun framework powered by Rust.

Rust Web Development with Rocket wastes no time in getting you up to speed with what Rust is and how to use it. You'll discover what makes it so productive and reliable, eventually mastering all of the concepts you need to play with the Rocket framework while developing a wide set of web development skills. Throughout this book, you'll be able to walk through a hands-on project, covering everything that goes into making advanced web applications, and get to grips with the ins and outs of Rocket development, including error handling, Rust vectors, and wrappers. You'll also learn how to use synchronous and asynchronous programming to improve application performance and make processing user content easy.

By the end of the book, you'll have answers to all your questions about creating a web application using the Rust language and the Rocket web framework.

What you will learn

  • Master the basics of Rust, such as its syntax, packages, and tools
  • Get to grips with Rocket's tooling and ecosystem
  • Extend your Rocket applications using Rust and third-party libraries
  • Create a full-fledged web app with Rocket that handles user content
  • Write pattern-matching logic and handle Rust object lifetimes
  • Use APIs and async programming to make your apps secure and reliable
  • Test your Rocket application and deploy it to production
  • Containerize and scale your applications for maximum efficiency

Who this book is for

This web development book is for software engineers who want to learn how to use the Rocket framework to build web applications. Although not mandatory, basic knowledge of the Rust programming language will help you understand the topics covered easily.

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

Information

Table of contents

  1. Rust Web Development with Rocket
  2. Contributors
  3. Preface
  4. Part 1: An Introduction to the Rust Programming Language and the Rocket Web Framework
  5. Chapter 1: Introducing the Rust Language
  6. Chapter 2: Building Our First Rocket Web Application
  7. Chapter 3: Rocket Requests and Responses
  8. Chapter 4: Building, Igniting, and Launching Rocket
  9. Chapter 5: Designing a User-Generated Application
  10. Part 2: An In-Depth Look at Rocket Web Application Development
  11. Chapter 6: Implementing User CRUD
  12. Chapter 7: Handling Errors in Rust and Rocket
  13. Chapter 8: Serving Static Assets and Templates
  14. Chapter 9: Displaying Users' Post
  15. Chapter 10: Uploading and Processing Posts
  16. Chapter 11: Securing and Adding an API and JSON
  17. Part 3: Finishing the Rust Web Application Development
  18. Chapter 12: Testing Your Application
  19. Chapter 13: Launching a Rocket Application
  20. Chapter 14: Building a Full Stack Application
  21. Chapter 15: Improving the Rocket Application
  22. Other Books You May Enjoy