Skip to main content
  • Book
  • © 2021

Practical Rust Web Projects

Building Cloud and Web-Based Applications

Apress

Authors:

  • Written by a Rust expert and a leading advocate for the language

  • Covers a variety of practical applications using the Rust programming language

  • Applications include web sites, RESTful APIs, and a real-time web chat application

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 37.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (6 chapters)

  1. Front Matter

    Pages i-xi
  2. Rust in the Web World

    • Shing Lyu
    Pages 1-7
  3. Developing Websites

    • Shing Lyu
    Pages 9-53
  4. REST APIs

    • Shing Lyu
    Pages 55-102
  5. Chatting in Real-Time with WebSocket

    • Shing Lyu
    Pages 103-141
  6. Going Serverless

    • Shing Lyu
    Pages 143-191
  7. Back Matter

    Pages 251-256

About this book

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. 

Authors and Affiliations

  • Amsterdam, The Netherlands

    Shing Lyu

About the author

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.

Bibliographic Information

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 37.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access