HOME > Development > Real time web applications in Rust

Real time web applications in Rust

  • Development
  • Nov 29, 2024
SynopsisReal time web applications in Rust, available at $19.99, has...
Real time web applications in Rust  No.1

Real time web applications in Rust, available at $19.99, has an average rating of 4.75, with 24 lectures, based on 24 reviews, and has 311 subscribers.

You will learn about Creating websocket clients with yew Creating websocket servers with rocket Sharing Rust code between server and client Building a chat frontend with yew This course is ideal for individuals who are Web developers evaluating Rust for their next websockets project or Web developers evaluating Rust for their next full-stack project or Rust developers looking to leverage the browser as a UI via websockets It is particularly useful for Web developers evaluating Rust for their next websockets project or Web developers evaluating Rust for their next full-stack project or Rust developers looking to leverage the browser as a UI via websockets.

Enroll now: Real time web applications in Rust

Summary

Title: Real time web applications in Rust

Price: $19.99

Average Rating: 4.75

Number of Lectures: 24

Number of Published Lectures: 24

Number of Curriculum Items: 25

Number of Published Curriculum Objects: 25

Original Price: $64.99

Quality Status: approved

Status: Live

What You Will Learn

  • Creating websocket clients with yew
  • Creating websocket servers with rocket
  • Sharing Rust code between server and client
  • Building a chat frontend with yew
  • Who Should Attend

  • Web developers evaluating Rust for their next websockets project
  • Web developers evaluating Rust for their next full-stack project
  • Rust developers looking to leverage the browser as a UI via websockets
  • Target Audiences

  • Web developers evaluating Rust for their next websockets project
  • Web developers evaluating Rust for their next full-stack project
  • Rust developers looking to leverage the browser as a UI via websockets
  • WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection. The WebSocket protocol enables interaction between a web browser (or other client application) and a web server with lower overhead than half-duplex alternatives such as HTTP polling, facilitating real-time data transfer from and to the server.

    Rust is a systems programming language which you can use to write applications with high performance. It is amazingly refreshing with a very helpful compiler who is your mentor since the very beginning.

    Given that the WebSocket protocol is key for real-time applications, where reliability and speed matter, it is no wonder that Rust is the best option for implementing WebSocket servers.

    Also given that Rust can now run in the browser, thanks to WebAssembly, we can also use Rust on the client.

    Which means that one can code a real-time, chat-like application 100% in just Rust!

    This is what we will do in this course! We will leverage Tokio and Rocket in the back-end, yew webassembly and trunk in the front-end and we will end up with a full-stack Rust, real-time chat app. While doing that we will learn how to set-up a WebSocket connection, send/receive messages and update out application state.

    Course Curriculum

    Chapter 1: Introduction

    Lecture 1: Introduction

    Lecture 2: Local setup

    Lecture 3: Gitlab repository

    Chapter 2: Websocket Server (Backend)

    Lecture 1: Rocket setup

    Lecture 2: Stream split

    Lecture 3: Atomic user ID and rocket state

    Lecture 4: Mutex and locks

    Lecture 5: ChatRoom implementations

    Chapter 3: Websocket Client (Frontend)

    Lecture 1: Yew setup

    Lecture 2: Hooks and websocket connection

    Lecture 3: Message sending

    Lecture 4: Bootstrap styling

    Chapter 4: JSON messages

    Lecture 1: ChatMessage contract

    Lecture 2: Backend and JSON

    Lecture 3: Frontend and JSON

    Chapter 5: Chatroom users list

    Lecture 1: Websocket message types

    Lecture 2: Broadcasting user list

    Lecture 3: User list component

    Chapter 6: Changing usernames

    Lecture 1: Username change message type

    Lecture 2: Storing the username

    Lecture 3: Username change FE logic

    Lecture 4: Username change BE logic

    Chapter 7: System messages

    Lecture 1: Username changed system message

    Lecture 2: System messages styling

    Instructors

  • Real time web applications in Rust  No.2
    Paris Liakos
    Web rustler
  • Rating Distribution

  • 1 stars: 0 votes
  • 2 stars: 1 votes
  • 3 stars: 1 votes
  • 4 stars: 6 votes
  • 5 stars: 16 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!