0% found this document useful (0 votes)
22 views

Desktop Apps with Rust and Tauri

The RUST-106 course teaches attendees how to build desktop applications using Rust and Tauri, focusing on creating UI elements and integrating with databases and REST APIs. Participants should have prior experience with Rust, JavaScript, HTML, and CSS, and will receive comprehensive courseware via GitHub. The course covers modern desktop app development, including creating and deploying Tauri apps with various frontend frameworks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Desktop Apps with Rust and Tauri

The RUST-106 course teaches attendees how to build desktop applications using Rust and Tauri, focusing on creating UI elements and integrating with databases and REST APIs. Participants should have prior experience with Rust, JavaScript, HTML, and CSS, and will receive comprehensive courseware via GitHub. The course covers modern desktop app development, including creating and deploying Tauri apps with various frontend frameworks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Desktop Apps with Rust and Tauri

Course Number: RUST-106


Duration: 3 days

Overview

This Rust training course teaches attendees how to build desktop applications using Rust and
Tauri to create UI elements such as windows, menus, and tray icons. Participants learn how
to create dialogs, notifications, file system dialogs, and more.
Note: This course can be taught with Leptos, React, Angular, Svelte, or Solid.js.

Prerequisites

This course assumes prior experience with Rust, JavaScript, HTML, and CSS.

Materials

All Rust training students receive comprehensive courseware covering all topics in the
course. Courseware is distributed via GitHub through documentation and extensive code
samples.

Software Needed on Each Student PC

Students will need a free, personal GitHub account to access the courseware. Students need
permission to install Rust and Visual Studio Code on their computers. Also, students will need
permission to install Rust Crates and Visual Studio Extensions. Students will need a local
instance of Postgresql or SQL Server installed on their computer (using Docker is
acceptable). If students cannot configure a local development environment on their
machines, a cloud-based environment can be provided.

Objectives

 Use modern approaches to desktop app development


 Explore how to create desktop apps with Rust and a web browser
 Create a new desktop app using Tauri and a browser-based frontend
 Integrate popular JS frameworks or Rust WASM frameworks with Tauri
 Create UI elements such as windows, menus, and tray icons
 Connect a Tauri app to a database (PostgreSQL or SQL Server)
 Connect a Tauri app to a REST API
 Publish and distribute a Tauri app

Outline

 Introduction
 Desktop Apps with Tauri
o What is Tauri?
o How does it compare to Electron, Qt, and WinForms?

Copyright ©2003-2024 Accelebrate, LLC. Some outlines may contain content from our courseware partners; such
content is protected by these partners' copyrights. All trademarks are owned by their respective owners.
 Getting Started
o Create a Tauri Project
o Integrate with JavaScript or Rust-based browser UI framework
o Run and Debug Tauri Applications
 Call Backend Rust Code from the Front-End
o Define Rust Backend Functions
o Call Rust Backend Functions
o Pass Arguments to Rust Backend Functions
o Return Data from Rust Backend Functions
o Handle Errors from Rust Backend Functions
o Asynchronous Rust Backend Functions
 Interact with App Parts from the Rust Backend
o Window
o AppHandle
o Managed State
o Multiple Commands
 UI Elements
o Window
o Menu
o Tray Icon
o Splash Screen
o Dialog
o Notification
 Interacting with the Operating System
o Create a File System Dialog
o Create a File System Watcher
 Database Programming
o What is a Database?
o Connect to Postgresql
o Query data from the database
o Modify data in the database
o Connect Tauri to a Database
 Deployment
o Create Platform Specific Installers
o Cross-Platform Compilation with CI/CD
o Signing the Application
 Conclusion

Copyright ©2003-2024 Accelebrate, LLC. Some outlines may contain content from our courseware partners; such
content is protected by these partners' copyrights. All trademarks are owned by their respective owners.

You might also like