Rust Web Programming - Second Edition: A hands-on guide to developing, packaging, and deploying fully functional Rust web applications (Paperback or Softback)
Language: English
Published by Packt Publishing 1/27/2023, 2023
- Softcover
- New

Seller: BargainBookStores, Grand Rapids, MI, U.S.A.BargainBookStores
AbeBooks seller since January 23, 2002
Condition: New
£ 43.10
Quantity: 5 available
Add to basketItem description from seller
Seller Inventory # BBS-9781803234694
- Title
- Rust Web Programming - Second Edition: A hands-on guide to developing, packaging, and deploying fully functional Rust web applications (Paperback or Softback)
- Author
- Flitton, Maxwell
- Publisher
- Packt Publishing 1/27/2023
- Publication year
- 2023
- Condition
- New
- Book Type
- Book
- Binding
- Paperback or Softback
- Language
- English
- ISBN 10
- 1803234695
- ISBN 13
- 9781803234694
- Edition
- 2nd Edition
- Item weight
- 2.48 pounds
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.
Table of Contents
- A Quick Introduction to Rust
- Designing Your Web Application in Rust
- Handling HTTP Requests
- Processing HTTP Requests
- Displaying Content in the Browser
- Data persistence with PostgreSQL
- Managing User Sessions
- Building RESTful Services
- Testing Our Application Endpoints and Components
- Deploying Our Application on AWS
- Configuring HTTPS with NGINX on AWS
- Recreating Our Application in Rocket
- Best Practices for a Clean Web App Repository
- Exploring the Tokio Framework
- Accepting TCP Traffic with Tokio
- Building Protocols on Top of TCP
- Implementing Actors and Async with the Hyper Framework
- Queuing Tasks with Redis
"Synopsis" may belong to another edition of this title.
About the Author
Maxwell Flitton is a software engineer who works for the open source financial loss modeling foundation OasisLMF. In 2011, Maxwell achieved his Bachelor of Science degree in nursing from the University of Lincoln, UK. While working 12-hour shift s in the A&E departments of hospitals, Maxwell obtained another degree in physics from the Open University in the UK and then moved on to another milestone, with a postgraduate diploma in physics and engineering in medicine from UCL in London. He's worked on numerous projects such as medical simulation soft ware for the German government and supervising computational medicine students at Imperial College London. He also has experience in financial tech and Monolith AI.
"About the title" may belong to another edition of this title.
BargainBookStores
Grand Rapids, MI, U.S.A.
AbeBooks seller since January 23, 2002
Shipping rates within U.S.A.
| Item | 4 to 10 business days | 4 to 9 business days |
|---|---|---|
| First item | £ 0.00 | £ 29.22 |
Payment methods
Store description
Specialty
Out of Print Books, Specializing in Academic and Professional Books, Bargain Books - Save Up to 90% Off Publisher's List Price!, Remainder Books, Store-Wide Range of New Books in all CategoriesSeller's business information
BargainBookStores
3423 Lousma Dr SE
Grand Rapids, MI U.S.A. 49548
Terms of sale
BargainBookStores guarantees 100% Customer Satisfaction. We ship worldwide and offer a variety of shipping methods to meet your needs. Please place your order directly via ABEBooks.com. We accept payment by MasterCard and Visa. For more information, contact us by email at cs@bargainbookstores.com. Full contact info is below:
BargainBookStores.com LLC
3423 Lousma Dr SE
Grand Rapids, MI 49548
Right of withdrawal
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to BargainBookStores, Grand Rapids, Michigan, U.S.A., without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
- The delivery of newspapers, journals or magazines with the exception of subscription contracts; and
- The supply of digital content which is not supplied on a tangible medium (e.g. on a CD or DVD) if you accepted when you placed your order that we could start to deliver it, and that you could not withdraw once delivery had started.
Shipping terms
We will ship to all domestic and most international destinations.
Please note: Shipping times are estimated and are not guaranteed by BargainBookStores.