Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Rust Web Development with Rocket
Rust Web Development with Rocket

Rust Web Development with Rocket: A practical guide to starting your journey in Rust web development using the Rocket framework

eBook
$24.99
Paperback
$30.99
Subscription
Free Trial
Renews at $12.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Key benefits

  • 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

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.

Who is this book 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.

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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jun 30, 2022
Length: 420 pages
Edition : 1st
Language : English
ISBN-13 : 9781800560826
Languages :
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Jun 30, 2022
Length: 420 pages
Edition : 1st
Language : English
ISBN-13 : 9781800560826
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$12.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$129.99 billed annually
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$179.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 126.97
Rust Web Development with Rocket
$30.99
Game Development with Rust and WebAssembly
$43.99
Practical WebAssembly
$51.99
Total $ 126.97 Stars icon
Banner background image

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3
(6 Ratings)
5 star 66.7%
4 star 16.7%
3 star 0%
2 star 16.7%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Amazon Customer Oct 10, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I like how book builds upon one large project that includes generating Docker images, connecting to a database and building a full stack app in Rust. Well written! #RustLang #Postgresql
Amazon Verified review Amazon
Drew Osmond Aug 20, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book walks you through each step of building a web server, and is a good intro to the rust programming language. Coming from a nodejs background, this book made me realize I could start branching out to other backend stacks.
Amazon Verified review Amazon
elliottwins Aug 22, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Rocket is one of the most full featured web frameworks for Rust. Due to the amount of features it offers, Rocket can be overwhelming to take on for someone looking at getting into Rust web development. This book does a fantastic job of guiding the reader throughout the many different concepts found in Rocket, helping to dispel and explain some of the magic found under the hood. The book covers areas that are vital for being able to build a functional web app, such as middleware, using fairings, DB connections using SQLx and asynchronous processing using tokio.If you're looking to get started with building web apps using Rust, this book is a great resource to gain an understanding of how to do so using Rocket.
Amazon Verified review Amazon
L. Smith Aug 30, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Goods books (or any books really) on Rust web frameworks are few and far between. I haven't read the entire book but I did sit down and devote 3 hours or so to it and read through page 189 (of 420 pages). It's well written and straight forward. Literally anyone who has done any coding (from simple JS or PHP to complicated C++) should be able grasp the information presented in this book and probably start use the Rocket web framework for Rust within hours if they want to try it out (for hobby or for serious projects / work). I am so glad I had the opportunity the check this book out!
Amazon Verified review Amazon
Geraldo Netto Sep 30, 2022
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
As always, a bit of contextRust can cover a wide number of cases, from system tools (even operating systems (redox) and virtual machines (firecracker from Amazon/AWS)) to webappsIt can do the same as java/go with more "fences" (e.g.: thread-safety by design) and/or performance (no GC as in java/go)Rocket is a mature web framework with more or less 5 ~ 6 years of existence, now developed/kept by the communityIt's on par with other popular web frameworks from other languagesAlso, it is based on Tokio - probably the most used/trusted framework for network applications (http, grpc, sockets, ...) in rustThe book starts with a quick introduction to rust which can be useful if you don't know rustIt slowly develops rust programming with the rocket frameworkIt also covers the usage of templates and webassembly which are part of any modern web applicationSome highlights:- covers rocket structure and lifecycle- explains how to use databases with rocket through the crate sqlx-cli (CRUD)- explains the usage of templating- discuss some best practices (e.g.: how to avoid Insecure Direct Object References)- WebAssembly- json handling- testingTo summarize, it is a good introduction to the usage of rocketThe only thing I wish I could be done in a different way is that some rust programming details like borrowing are not explained in the introduction to rust but instead diluted through the bookI think this could be part of the first chapter and for those who are already experienced with rust, could skip the introduction to rust chapter altogether
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.