Cart
Free US shipping over $10
Proud to be B-Corp

Practical Rust Web Projects Shing Lyu

Practical Rust Web Projects By Shing Lyu

Practical Rust Web Projects by Shing Lyu


$18.34
Condition - Very Good
Only 1 left

Faster Shipping

Get this product faster from our US warehouse

Practical Rust Web Projects Summary

Practical Rust Web Projects: Building Cloud and Web-Based Applications by Shing Lyu

Go beyond the basics of Rust and build web and serverless cloud applications. The applications explained in this practical book include web sites, RESTful APIs, a real-time web chat application, and frontend application with WebAssembly. Each chapter is organized in the following format: what this kind of application looks like; requirements for the example program; an introduction to the Rust libraries used; step-by-step implementation of the example program, including common pitfalls and best practices; and a brief comparison of libraries and frameworks in the same domain.

This book will open your eyes to the world of practical web applications of Rust. After reading the book, you will be able to apply your Rust knowledge to build your own web projects.

What You Will Learn

  • Build dynamic websites with databases
  • Build RESTful APIs
  • Write a WebSocket server that can power a real-time chat app in Rust
  • Discover the benefits of serverless computing using Amazon Web Service's Rust support
  • Compile Rust to WebAssembly for high-performance frontend applications
Who This Book Is For
A reader with basic Rust knowledge, wishing to learn more about how to apply Rust in a real-world scenario. A developer who is evaluating the possibility to build their next project in Rust.

About Shing Lyu

Shing Lyu is a software engineer who is passionate about open source software. He's been working on Rust professionally at Mozilla, on the Firefox (Gecko) and Servo browser engine project. Currently, he is working at DAZN, a sports streaming platform as a backend developer, with a focus on AWS and serverless technology. Shing has worked for many world famous brands like Mozilla, Booking, and Intel. And, he is also active in the open source community. Being one of the founders of the Taiwan Rust community, he loves to share his enthusiasm for Rust with people.

Table of Contents

Chapter 1, IntroductionThis chapter gives a short introduction to why Rust is a solid tool for building all kinds of application, and a brief overview of the format and organization of the book. Introduction Why Rust? Who should read this book? Chapters overviewChapter 2, Developing websitesThis chapter will cover how to use popular web frameworks to build static and dynamic websites. We'll also touch how to build RESTful API and common requirements in web backend programming: database, authentication and authorization What are we going to build? (A web version of the cat breed dictionary, first a static site and then server-side rendering ) Serving a static website Generate dynamic content with templates Fetching data from databases Authentication and authorization SummaryChapter 3, REST APIs What are we going to build? (A web version of the cat breed dictionary, with a single-page app + REST API) Defining the API with Open API specification Building a static frontend with AJAX calls Building a RESTful API Serialize/Deserialize JSON SummaryChapter 4, Chatting in realtime with WebSocketThis chapter will discuss how to build a WebSocket server that can power a real-time chat application in Rust What are we going to build? (A chat app for cats in people can send all kinds of cat noises) What is WebSocket Enabling two way communication Implementing the chat application SummaryChapter 5, Going serverlessThis chapter will demonstrate the benefit of serverless computing using AWS's experimental Rust support. What is serverless? What are we going to build? (Serverless version of Chapter 4) Pros and cons of serverless Setting up an AWS account Building a lambda function with Rust Exposing the API Gateway Cleaning it up SummaryChapter 6, High performance web frontend using WebAssemblyThis chapter will talk about how to compile Rust to WebAssembly and make it work together with JavaScript in the web frontend What is WebAssembly? (We'll implement the bottleneck of Book 1 Chapter 4 in WebAssembly to speed it up) What are we going to build? How to compile Rust to WebAssembly? Exposing Rust function to JavaScript Passing native data type between Rust and JavaScript Manipulating DOM from Rust SummaryChapter 7, Advanced topicsThis chapter will discuss other more advanced use of Rust. Each section will introduce one application, existing projects for that kind of application and their status. But we'll not go into the detail as the previous chapters. Web scraping/Web crawling Browser engine - Servo Conclusion

Additional information

CIN1484265882VG
9781484265888
1484265882
Practical Rust Web Projects: Building Cloud and Web-Based Applications by Shing Lyu
Used - Very Good
Paperback
APress
2021-01-26
256
N/A
Book picture is for illustrative purposes only, actual binding, cover or edition may vary.
This is a used book - there is no escaping the fact it has been read by someone else and it will show signs of wear and previous use. Overall we expect it to be in very good condition, but if you are not entirely satisfied please get in touch with us

Customer Reviews - Practical Rust Web Projects