Code Monkey home page Code Monkey logo

rust-web-programming-2nd-edition's Introduction

Rust Web Programming - Second Edition

Rust Web Programming - Second Edition

This is the code repository for Rust Web Programming - Second Edition, published by Packt.

A hands-on guide to developing, packaging, and deploying fully functional Rust web applications

What is this book about?

Are safety and high performance a big concern for you while developing web applications? With this practical Rust book, you’ll discover how you can implement Rust on the web to achieve the desired performance and security as you learn techniques and tooling to build fully operational web apps.

This book covers the following exciting features:

  • Structure and build scalable Rust web apps by creating a basic to-do list web app
  • Manage authentication and databases in Rust web applications
  • Get to grips with wrapping web applications in distroless
  • Understand the building blocks of web development such as HTTPS, TCP, and middleware
  • Build app infrastructure on AWS using Terraform with databases, servers, load balancers, HTTPS, and URL routing
  • Build end-to-end tests using Postman
  • Build async systems implementing the actor model using Tokio

If you feel this book is for you, get your copy today!

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

use std::env;

fn main() {
  let args: Vec<String> = env::args().collect();
  println!("{:?}", args);
}

Following is what you need for this book: This Rust programming book is for web developers who want to learn and implement Rust to build web applications. Developers familiar with languages such as Python, Ruby, and JS will be able to use this book to build high performant web apps with Rust. Although no prior experience in Rust is necessary, a solid understanding of web development principles, along with basic knowledge of HTML, CSS, and JavaScript, is necessary to get the most out of this book.

With the following software and hardware list you can run all code files present in the book (Chapter 1-18).

Software and Hardware List

Chapter Software/Hardware required OS required
1-18 Rust Windows, macOS, or Linux (any)
1-18 Node (for JavaScript) Windows, macOS, or Linux (any)
1-18 Python 3 Windows, macOS, or Linux (any)
1-18 Docker Windows, macOS, or Linux (any)
1-18 docker-compose Windows, macOS, or Linux (any)
1-18 Postman Windows, macOS, or Linux (any)
1-18 Terraform Windows, macOS, or Linux (any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Errata

  • Page 29 (line 10): Because one is defined in the inner scope, should be Because two is defined in the inner scope,

Related products

Get to Know the Author

Maxwell Flitton is a software engineer who works for the open source financial loss modeling foundation Oasis LMF. In 2011, Maxwell achieved his Bachelor of Science degree in nursing from the University of Lincoln, UK. While working 12-hour shifts in the A&E departments of hospitals, Maxwell obtained another degree in physics from the Open University in the UK, and then moved on to another milestone, getting a postgraduate diploma in physics and engineering in medicine from UCL in London. He’s worked on numerous projects, such as medical simulation software for the German government and supervising computational medicine students at Imperial College London. He also has experience in financial tech and Monolith AI.

Other books by the author

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781803234694

rust-web-programming-2nd-edition's People

Contributors

packt-itservice avatar josepha-packt avatar maxwellflitton avatar markdsouzapackt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.