Rust Servers, Services, and Apps

ยท Simon and Schuster
5,0
1 เบ„เบณเบ•เบดเบŠเบปเบก
เบ›เบถเป‰เบกเบญเบตเบšเบธเบ
328
เปœเป‰เบฒ
เบกเบตเบชเบดเบ”
เบšเปเปˆเป„เบ”เป‰เบขเบฑเป‰เบ‡เบขเบทเบ™เบเบฒเบ™เบˆเบฑเบ”เบญเบฑเบ™เบ”เบฑเบš เปเบฅเบฐ เบ„เบณเบ•เบดเบŠเบปเบก เบชเบถเบเบชเบฒเป€เบžเบตเปˆเบกเป€เบ•เบตเบก

เบเปˆเบฝเบงเบเบฑเบšเบ›เบถเป‰เบก e-book เบ™เบตเป‰

Deliver fast, reliable, and maintainable applications by building backend servers, services, and frontends all in nothing but Rust.

In Rust Servers, Services, and Apps, youโ€™ll learn:

  • Developing database-backed web services in Rust
  • Building and securing RESTful APIs
  • Writing server-side web applications in Rust
  • Measuring and benchmarking web service performance
  • Packaging and deploying web services
  • Full-stack Rust applications

The blazingly fast, safe, and efficient Rust language has been voted โ€œmost lovedโ€ for multiple consecutive years on the StackOverflow survey. Rust Server, Services, and Apps shows you why! Inside, youโ€™ll build web servers, RESTful services, server-rendered apps, and client frontends just using Rust. Youโ€™ll learn to write code with small and predictable resource footprints, and build high-performing applications with unmatched safety and reliability.

About the technology

Build speedy, stable, and safe web servers in Rust! With a unique approach to memory management and concurrency, Rust excels at getting the low-level details right so your applications run fast and flawlessly. And Rustโ€™s incredible compiler helps you avoid expensive mistakes when youโ€™re deploying web services and other core components in production.

About the book

Rust Servers, Services, and Apps shows you how to create modern distributed web apps using the Rust language. Youโ€™ll start with the basics: building a simple HTTP server and a RESTful web service. Then, youโ€™ll make them production ready by adding security, database interactivity, and error handling. Finally, youโ€™ll tackle a digital storefront service, create a single page app, and dig into asynchronous programming. All examples are fully illustrated and include annotated code you can easily adapt to your own projects.

What's inside

  • Craft resilient and secure RESTful APIs
  • Package and deploy web services
  • Refactor fearlessly thanks to Rustโ€™s guaranteed safety
  • Slash costs with Rustโ€™s runtime and compile-time optimizations
  • Asynchronous programming with Rust

About the reader

For web developers who know the basics of Rust.

About the author

Prabhu Eshwarla is the CTO of a startup building a layer-1 blockchain using Rust. Previously, he held engineering and leadership roles at Hewlett Packard.

Table of Contents

PART 1 - WEB SERVERS AND SERVICES
1 Why Rust for web applications?
2 Writing a basic web server from scratch
3 Building a RESTful web service
4 Performing database operations
5 Handling errors
6 Evolving the APIs and fearless refactoring
PART 2 - ERVER-SIDE WEB APPLICATIONS
7 Introducing server-side web apps in Rust
8 Working with templates for tutor registration
9 Working with forms for course maintenance
PART 3 - ADVANCED TOPIC: ASYNC RUST
10 Understanding async Rust
11 Building a P2P node with async Rust
12 Deploying web services with Docker

เบเบฒเบ™เบˆเบฑเบ”เบญเบฑเบ™เบ”เบฑเบš เปเบฅเบฐ เบ„เบณเบ•เบดเบŠเบปเบก

5,0
1 เบ„เบณเบ•เบดเบŠเบปเบก

เบเปˆเบฝเบงเบเบฑเบšเบœเบนเป‰เบ‚เบฝเบ™

Prabhu Eshwarla is currently the CTO of a startup building a layer-1 blockchain engineered using Rust. Prabhu became deeply interested in Rust as a programming language and has been actively learning and working on it since July 2019. He has earlier held several tech leadership roles in Hewlett Packard.

เปƒเบซเป‰เบ„เบฐเปเบ™เบ™ e-book เบ™เบตเป‰

เบšเบญเบเบžเบงเบเป€เบฎเบปเบฒเบงเปˆเบฒเบ—เปˆเบฒเบ™เบ„เบดเบ”เปเบ™เบงเปƒเบ”.

เบญเปˆเบฒเบ™โ€‹เบ‚เปเป‰โ€‹เบกเบนเบ™โ€‹เบ‚เปˆเบฒเบงโ€‹เบชเบฒเบ™

เบชเบฐเบกเบฒเบ”เป‚เบŸเบ™ เปเบฅเบฐ เปเบ—เบฑเบšเป€เบฅเบฑเบ”
เบ•เบดเบ”เบ•เบฑเป‰เบ‡ เปเบญเบฑเบš Google Play Books เบชเบณเบฅเบฑเบš Android เปเบฅเบฐ iPad/iPhone. เบกเบฑเบ™เบŠเบดเป‰เบ‡เบ‚เปเป‰เบกเบนเบ™เป‚เบ”เบเบญเบฑเบ”เบ•เบฐเป‚เบ™เบกเบฑเบ”เบเบฑเบšเบšเบฑเบ™เบŠเบตเบ‚เบญเบ‡เบ—เปˆเบฒเบ™ เปเบฅเบฐ เบญเบฐเบ™เบธเบเบฒเบ”เปƒเบซเป‰เบ—เปˆเบฒเบ™เบญเปˆเบฒเบ™เบ—เบฒเบ‡เบญเบญเบ™เบฅเบฒเบ เบซเบผเบท เปเบšเบšเบญเบญเบšเบฅเบฒเบเป„เบ”เป‰ เบšเปเปˆเบงเปˆเบฒเบ—เปˆเบฒเบ™เบˆเบฐเบขเบนเปˆเปƒเบช.
เปเบฅเบฑเบšเบ—เบฑเบญเบš เปเบฅเบฐ เบ„เบญเบกเบžเบดเบงเป€เบ•เบต
เบ—เปˆเบฒเบ™เบชเบฒเบกเบฒเบ”เบŸเบฑเบ‡เบ›เบถเป‰เบกเบชเบฝเบ‡เบ—เบตเปˆเบŠเบทเป‰เปƒเบ™ Google Play เป‚เบ”เบเปƒเบŠเป‰เป‚เบ›เบฃเปเบเบฃเบกเบ—เปˆเบญเบ‡เป€เบงเบฑเบšเบ‚เบญเบ‡เบ„เบญเบกเบžเบดเบงเป€เบ•เบตเบ‚เบญเบ‡เบ—เปˆเบฒเบ™เป„เบ”เป‰.
eReaders เปเบฅเบฐเบญเบธเบ›เบฐเบเบญเบ™เบญเบทเปˆเบ™เป†
เป€เบžเบทเปˆเบญเบญเปˆเบฒเบ™เปƒเบ™เบญเบธเบ›เบฐเบเบญเบ™ e-ink เป€เบŠเบฑเปˆเบ™: Kobo eReader, เบ—เปˆเบฒเบ™เบˆเบณเป€เบ›เบฑเบ™เบ•เป‰เบญเบ‡เบ”เบฒเบงเป‚เบซเบผเบ”เป„เบŸเบฅเปŒ เปเบฅเบฐ เป‚เบญเบ™เบเป‰เบฒเบเบกเบฑเบ™เป„เบ›เปƒเบชเปˆเบญเบธเบ›เบฐเบเบญเบ™เบ‚เบญเบ‡เบ—เปˆเบฒเบ™เบเปˆเบญเบ™. เบ›เบฐเบ•เบดเบšเบฑเบ”เบ•เบฒเบกเบ„เบณเปเบ™เบฐเบ™เบณเบฅเบฐเบญเบฝเบ”เบ‚เบญเบ‡ เบชเบนเบ™เบŠเปˆเบงเบเป€เบซเบผเบทเบญ เป€เบžเบทเปˆเบญเป‚เบญเบ™เบเป‰เบฒเบเป„เบŸเบฅเปŒเป„เปƒเบชเปˆ eReader เบ—เบตเปˆเบฎเบญเบ‡เบฎเบฑเบš.