Artículos relacionados a Mastering Tauri 2 Desktop Development: Engineering...

Mastering Tauri 2 Desktop Development: Engineering Secure Rust-Based Applications with React, TypeScript, SQLite, Native APIs, IPC, Sandboxing, Auto-Updates, and CI/CD - Tapa blanda

Ellsworth, Hugh

 
9798194495351: Mastering Tauri 2 Desktop Development: Engineering Secure Rust-Based Applications with React, TypeScript, SQLite, Native APIs, IPC, Sandboxing, Auto-Updates, and CI/CD

Sinopsis

Mastering Tauri 2 Desktop Development
Engineering Secure Rust-Based Applications with React, TypeScript, SQLite, Native APIs, IPC, Sandboxing, Auto-Updates, and CI/CD
Electron taught a generation of web developers that they could build desktop apps with the skills they already had. It also taught users that "desktop app" now meant a 300MB installer and a Chromium instance quietly eating half a gigabyte of RAM just to show a to-do list. Tauri fixes that, pairing a compiled Rust core with your operating system's own WebView instead of a bundled browser, and this book is the complete, hands-on guide to building something real with it.
You do not need to know Rust to start this book. You need to know how to build with React and TypeScript, and a willingness to learn a systems language the way it's actually used in production, not through abstract syntax drills. From Chapter 1, every concept is taught through a single running project: Fieldnote, a real-shaped field-inspection application for utility technicians, that grows chapter by chapter from a blank window into a fully signed, tested, auto-updating desktop product you could hand to an actual fleet of users.
Across 14 chapters and five parts, you'll build:

  • A Rust core with proper ownership, error handling, and async services, taught as the practical subset a Tauri application actually needs
  • A typed, secure IPC bridge between your React frontend and Rust backend, with structured error handling that never leaks a bare "undefined" to your UI
  • Native windows, menus, system tray, dialogs, and notifications that feel like they belong on the user's actual desktop
  • Durable local storage with SQLite, connection pooling, parameterized queries, and platform-correct file handling
  • A capability-based security model that assumes your frontend is untrustworthy by default, and locks it down permission by permission
  • Vendor hardware integration through safely wrapped FFI, and cross-platform native access that doesn't leak platform checks through your whole codebase
  • A resilient, concurrent background sync engine built on Tokio, with real timeouts, retries, and backoff
  • A genuine testing strategy spanning Rust unit tests, IPC integration tests, and React component tests, run across Windows, macOS, and Linux in CI
  • Evidence-based performance tuning, profiling real bottlenecks instead of guessing at them
  • Code signing, notarization, and a secure auto-update pipeline your users never have to think about
  • A fully automated CI/CD release pipeline from GitHub Actions to signed, published installers
Every code listing is verified to run, every native API call is explained by what the operating system is actually doing underneath it, and every chapter closes with hands-on exercises and take-home takeaways you can screenshot and keep. A companion GitHub repository ships the complete, working Fieldnote source so you can read, run, and extend the exact application this book builds.
Whether you're a web developer ready to ship your first real desktop application, or a Rust-curious engineer who wants to see the language used for something other than a CLI tool, this book takes you from a blank window to a production system you'd actually trust in the field.

"Sinopsis" puede pertenecer a otra edición de este libro.