Practical Rust Web Projects
Building Cloud and Web-Based Applications
(Sprache: Englisch)
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...
Voraussichtlich lieferbar in 3 Tag(en)
versandkostenfrei
Buch (Kartoniert)
37.44 €
Produktdetails
Produktinformationen zu „Practical Rust Web Projects “
Klappentext zu „Practical Rust Web Projects “
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.
Inhaltsverzeichnis zu „Practical Rust Web Projects “
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
... mehr
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
... weniger
Autoren-Porträt von 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.
Bibliographische Angaben
- Autor: Shing Lyu
- 2021, 1st ed., XI, 256 Seiten, Maße: 15,5 x 23,5 cm, Kartoniert (TB), Englisch
- Verlag: Springer, Berlin
- ISBN-10: 1484265882
- ISBN-13: 9781484265888
Sprache:
Englisch
Kommentar zu "Practical Rust Web Projects"
0 Gebrauchte Artikel zu „Practical Rust Web Projects“
Zustand | Preis | Porto | Zahlung | Verkäufer | Rating |
---|
Schreiben Sie einen Kommentar zu "Practical Rust Web Projects".
Kommentar verfassen