Rust Web Development

Gruber, Bastian

  • 出版商: Manning
  • 出版日期: 2023-01-18
  • 定價: $1,800
  • 售價: 9.0$1,620
  • 語言: 英文
  • 頁數: 400
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1617299006
  • ISBN-13: 9781617299001
  • 相關分類: Rust 語言
  • 相關翻譯: Rust Web開發 (簡中版)
  • 立即出貨 (庫存 < 4)

買這商品的人也買了...

相關主題

商品描述

Create bulletproof, high-performance web apps and servers with Rust.

In Rust Web Development you will learn:

• Handling the borrow checker in an asynchronous environment
• Learning the ingredients of an asynchronous Rust stack
• Creating web APIs and using JSON in Rust
• Graceful error handling
• Testing, tracing, logging, and debugging
• Deploying Rust applications
• Efficient database access

Rust Web Development is a pragmatic, hands-on guide to creating server-based web applications with Rust. If you’ve designed web servers using Java, NodeJS, or PHP, you’ll instantly fall in love with the performance and development experience Rust delivers. Hit the ground running! Author Bastian Gruber’s sage advice makes it easy to start tackling complex problems with Rust. You’ll learn how to work efficiently using pure Rust, along with important Rust libraries such as tokio for async runtimes, warp for web servers and APIs, and reqwest to run external HTTP requests.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology
If you’re sick of cookie-cutter web development tools that are slow, resource hungry, and unstable, Rust is the solution. Rust services deliver rock-solid safety guarantees, an amazing developer experience, and even a compiler that automatically prevents common mistakes!

About the book
Rust Web Development, teaches you to build server-side web apps using Rust, along with important Rust libraries like tokio for async runtimes, warp for web servers and APIs, and reqwest to run external HTTP requests. The book is packed full of examples, code samples, and pro tips for setting up your projects and organizing your code. As you go, you’ll build a complete Q&A web service and iterate on your code chapter-by-chapter, just like a real development project.

What's inside

• Handle the borrow checker in an asynchronous environment
• Build web APIs and handle JSON
• Compose a tech stack for asynchronous Rust development
• Handle errors gracefully
• Test, trace, log, and debug
• Deploy Rust applications to multiple environments

About the reader
This book is for web developers familiar with Java, Node, or Go, and the absolute basics of Rust.

商品描述(中文翻譯)

使用Rust創建堅固、高性能的網絡應用程序和服務器。

在《Rust Web Development》中,您將學習到:

• 在異步環境中處理借用檢查器
• 學習異步Rust堆棧的組成部分
• 在Rust中創建Web API並使用JSON
• 優雅的錯誤處理
• 測試、追蹤、日誌記錄和調試
• 部署Rust應用程序
• 高效的數據庫訪問

《Rust Web Development》是一本實用的、實踐性的指南,教您如何使用Rust創建基於服務器的Web應用程序。如果您曾經使用Java、NodeJS或PHP設計過Web服務器,您將立即愛上Rust所提供的性能和開發體驗。立即開始!作者Bastian Gruber的智慧建議使您能夠輕鬆地開始使用Rust解決複雜的問題。您將學習如何使用純Rust高效地工作,以及重要的Rust庫,如用於異步運行時的tokio、用於Web服務器和API的warp,以及用於運行外部HTTP請求的reqwest。

購買印刷版書籍將包括Manning Publications提供的PDF、Kindle和ePub格式的免費電子書。

關於技術

如果您厭倦了緩慢、資源消耗大且不穩定的模板化Web開發工具,Rust是解決方案。Rust服務提供可靠的安全保證、令人驚嘆的開發體驗,甚至還有一個自動防止常見錯誤的編譯器!

關於本書

《Rust Web Development》教您使用Rust構建服務器端Web應用程序,以及重要的Rust庫,如用於異步運行時的tokio、用於Web服務器和API的warp,以及用於運行外部HTTP請求的reqwest。本書充滿了示例、代碼片段和專業技巧,幫助您設置項目並組織代碼。隨著您的學習進展,您將逐章構建一個完整的問答Web服務,就像一個真實的開發項目一樣。

內容包括:

• 在異步環境中處理借用檢查器
• 構建Web API並處理JSON
• 組合用於異步Rust開發的技術堆棧
• 優雅地處理錯誤
• 測試、追蹤、日誌記錄和調試
• 將Rust應用程序部署到多個環境

讀者對象

本書適合熟悉Java、Node或Go以及Rust的基本知識的Web開發人員。

作者簡介

Bastian Gruber is a Solutions Architect at Twilio Inc. He was part of the official Rust Async Working group, and founded the Rust and Tell Berlin MeetUp group. He has worked for one of the world's largest Digital Currency exchanges, using Rust on its core backend. He has over twelve years experience as a writer, and blogs regularly on Rust for LogRocket, his own blog, and other magazines and news outlets.

作者簡介(中文翻譯)

Bastian Gruber 是 Twilio Inc. 的解決方案架構師。他曾是官方的 Rust Async 工作小組成員,並創立了 Rust and Tell Berlin MeetUp 團體。他曾在全球最大的數位貨幣交易所工作,使用 Rust 在其核心後端進行開發。他擁有超過十二年的寫作經驗,並定期在 LogRocket、自己的部落格以及其他雜誌和新聞媒體上撰寫有關 Rust 的文章。

目錄大綱

PART 1 INTRODUCTION TO RUST
1 Why Rust?
2 Laying the foundation
PART 2 GETTING STARTED
3 Create your first route handler
4 Implement a RESTful API
5 Clean up your codebase
6 Logging, tracing, and debugging
7 Add a database to your application
8 Integrate third-party APIs
PART 3 BRING IT INTO PRODUCTION
9 Add authentication and authorization
10 Deploy your application
11 Testing your Rust application

目錄大綱(中文翻譯)

第1部分 Rust 簡介
1 為什麼選擇 Rust?
2 打下基礎

第2部分 開始使用
3 建立第一個路由處理器
4 實現一個 RESTful API
5 清理程式碼庫
6 日誌、追蹤和除錯
7 在應用程式中加入資料庫
8 整合第三方 API

第3部分 把它投入生產
9 加入身份驗證和授權
10 部署你的應用程式
11 測試你的 Rust 應用程式