Rust Servers, Services, and Apps
Book information
Description
Rust Servers, Services, and Apps is a hands-on guide to developing modern distributed web applications with Rust. You’ll learn how to build efficient services, write custom web servers, and even build full stack applications end-to-end in Rust. You’ll start with the foundations, using Rust to build an HTTP server, and RESTful API that you’ll secure, debug, and evolve with fearless refactoring. You’ll then put Rust through its paces to develop a digital storefront service, and a single-page client-side application. This fastpaced book is packed with code samples you can adapt to your own projects, and detailed annotations to help you understand how Rust works under the hood. About the technology The blazingly fast, safe, and efficient Rust language has been voted “most loved” for five consecutive years on the StackOverflow survey. It’s easy to see why. Rust combines all the features of a modern language with the low-latency power of C. Its efficiency will slash your runtime footprint―and your cloud hosting bills―and its flexibility lets you write network programs and high-level applications with equal ease. Rust Servers, Services, and Apps MEAP V01 Copyright Welcome Brief contents Chapter 1: Why Rust for web applications? 1.1 Introduction to modern web applications 1.2 Choosing Rust for web applications 1.2.1 Characteristics of web applications 1.2.2 Benefits of Rust for web applications 1.3 Visualizing the example application 1.3.1 What will be build? 1.3.2 Technical guidelines for the example application 1.4 Summary Chapter 2: Writing a basic web server from scratch 2.1 Writing a TCP server in Rust 2.1.1 Designing the TCP/IP communication flow 2.1.2 Writing the TCP server and client 2.2 Writing an HTTP server in Rust 2.2.1 Parsing HTTP request messages 2.2.2 Constructing HTTP response messages 2.2.3 Writing the main() function and server module 2.2.4 Writing the router and handler modules 2.2.5 Testing the web server 2.3 Summary Chapter 3: Building a RESTful Web Service 3.1 Getting started with Actix 3.1.1 Writing the first REST API 3.1.2 Understanding Actix concepts 3.2 Building web APIs with REST 3.2.1 Define project scope and structure 3.2.2 Define and manage application state 3.2.3 Defining the data model 3.2.4 Post a course 3.2.5 Get all courses for a tutor 3.2.6 Get details of a single course 3.3 Summary
Similar books
Rust Servers, Services, and Apps
2023 · EPUB
Rust Servers, Services, and Apps (Final Release)
2023 · PDF
Rust Servers, Services, and Apps (MEAP V14)
2023 · PDF
Practical System Programming for Rust Developers: Build fast and secure software for Linux/Unix systems with the help of practical examples
2020 · EPUB
Practical System Programming for Rust Developers: Build fast and secure software for Linux/Unix systems with the help of practical examples
2020 · PDF
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF