Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Intermediate Rust Programming and Web Server Development

Packt via Coursera

Overview

Elevate your Rust programming expertise and dive into web server development with this comprehensive course. You’ll begin by solidifying your understanding of Rust through a crash course that covers intermediate to advanced concepts, including enums, structs, traits, lifetimes, and smart pointers. Each section is packed with practical coding exercises designed to reinforce your learning and ensure you can apply Rust's powerful features in real-world scenarios. Once you’ve mastered Rust, the course transitions into web development, where you’ll learn to build a web server using Actix Web, a high-performance framework that simplifies building scalable web applications. From setting up your project and defining data structures to implementing full CRUD operations and securing user authentication, you’ll gain hands-on experience in creating a robust web server. You’ll also explore advanced topics like managing state with Mutex, handling async API calls, and integrating a database. By the end of this course, you’ll have a deep understanding of intermediate Rust programming and the practical skills needed to build and deploy high-performance web servers. Whether you’re looking to enhance your web development capabilities or advance your career as a Rust developer, this course will provide you with the tools to succeed. This course is ideal for developers with basic Rust knowledge who want to advance their skills and learn web server development. It’s perfect for those aiming to build robust, scalable applications using Rust and Actix Web. Prerequisites include familiarity with Rust basics and an interest in web development.

Syllabus

  • Rust Crash Course - Basics
    • In this module, we will establish a solid foundation in Rust basics. You'll create your first Rust project, learn to handle fixed-size and dynamic-sized variables, and dive into basic collections like arrays and vectors. Additionally, we'll explore closures, number literals, raw strings, and work with binary data at a low level. The module concludes with an overview of the Rust standard library, equipping you with essential tools and knowledge for efficient coding.
  • Rust Crash Course - Intermediate
    • In this module, we will advance your Rust programming skills. You'll create modules, work with Enums and Structs, and explore Rust's powerful traits and generics. We will also delve into lifetimes, ensuring proper memory management, and practice pattern matching with various data types. Additionally, you'll perform your first async API call, handle errors gracefully, and revisit collections with HashMaps and HashSets. This comprehensive module prepares you for complex Rust programming challenges.
  • Rust Crash Course - Advanced
    • In this module, we will explore advanced Rust programming concepts. You'll learn about declarative and procedural macros, enhancing your ability to generate and abstract code. We will dive into smart pointers like Box, RefCell, and Weak for dynamic memory management. Furthermore, you'll master Rust concurrency with Mutex and Arc, ensuring thread-safe data sharing and synchronization. Finally, you'll learn how to publish packages to crates, contributing to the Rust ecosystem and sharing your creations with the community.
  • Build Web Server Template - First Project
    • In this module, we will build your first web server template using Rust and Actix Web. You'll start with an introduction to web servers and Actix Web, followed by a project setup and struct definitions. We'll implement database functionality and ensure thread safety with AppState and Mutex. You'll develop and test the initial web server, complete task CRUD operations, and enable user registration and login. The module concludes with mutation adjustments and guidance on the next steps for future development, laying the groundwork for robust and scalable web applications.

Taught by

Packt

Reviews

Start your review of Intermediate Rust Programming and Web Server Development

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.