Rust Web Development with Rocket
Packt Publishing Limited (Verlag)
978-1-80056-130-4 (ISBN)
Explore the world of Rocket-fueled web application development and the power of the Rust programming language
Key Features
Discover solutions to the common problems faced while creating web applications with Rocket
Learn everything about Rust, from structs and crates to generics and debugging
Combine Rust and Rocket to create, test, and deploy a full-featured web app
Book DescriptionLooking for a fast, powerful, and intuitive framework to build web applications? This Rust book will help you kickstart your web development journey and take your Rust programming skills to the next level as you uncover the power of Rocket - a fast, flexible, and fun framework powered by Rust.
Rust Web Development with Rocket wastes no time in getting you up to speed with what Rust is and how to use it. You’ll discover what makes it so productive and reliable, eventually mastering all of the concepts you need to play with the Rocket framework while developing a wide set of web development skills. Throughout this book, you'll be able to walk through a hands-on project, covering everything that goes into making advanced web applications, and get to grips with the ins and outs of Rocket development, including error handling, Rust vectors, and wrappers. You'll also learn how to use synchronous and asynchronous programming to improve application performance and make processing user content easy.
By the end of the book, you'll have answers to all your questions about creating a web application using the Rust language and the Rocket web framework.
What you will learn
Master the basics of Rust, such as its syntax, packages, and tools
Get to grips with Rocket's tooling and ecosystem
Extend your Rocket applications using Rust and third-party libraries
Create a full-fledged web app with Rocket that handles user content
Write pattern-matching logic and handle Rust object lifetimes
Use APIs and async programming to make your apps secure and reliable
Test your Rocket application and deploy it to production
Containerize and scale your applications for maximum efficiency
Who this book is forThis web development book is for software engineers who want to learn how to use the Rocket framework to build web applications. Although not mandatory, basic knowledge of the Rust programming language will help you understand the topics covered easily.
Karuna Murti started out as a network engineer in Indonesia back in 2005. After that, he continued his career as a web developer, engineering manager, and chief engineer at a consulting company, using various languages such as PHP, Ruby, JavaScript, Fortran, and Python. He also worked with web applications and frameworks such as Magento, WordPress, and Ruby on Rails. In 2015, after establishing his own consulting company, he moved to Japan and now works as a technical lead at Merpay, one of the leading mobile payment apps in Japan. He is helping the company to build a cashless society by leading a team that connects millions of users with thousands of financial institutions in Japan. Even though he uses Go as the main language in his day job, Rust and Rocket have been a passion of his ever since their release.
Table of Contents
Introducing the Rust Language
Building Our First Rocket Web Application
Rocket Requests and Responses
Building, Igniting, and Launching Rocket
Designing a User-Generated Application
Implementing User CRUD
Handling Errors in Rust and Rocket
Serving Static Assets and Templates
Displaying Users' Post
Uploading and Processing Posts
Securing and Adding an API and JSON
Testing Your Application
Launching a Rocket Application
Building a Full Stack Application
Improving the Rocket Application
Erscheinungsdatum | 04.07.2022 |
---|---|
Verlagsort | Birmingham |
Sprache | englisch |
Maße | 75 x 93 mm |
Themenwelt | Informatik ► Software Entwicklung ► SOA / Web Services |
Mathematik / Informatik ► Informatik ► Web / Internet | |
ISBN-10 | 1-80056-130-X / 180056130X |
ISBN-13 | 978-1-80056-130-4 / 9781800561304 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich