Chapter 11: Understanding Rocket Web Framework
At this point, we have built a fully functioning to-do application with the Actix web framework. In this chapter, we will go through the core concepts so that there will be nothing holding us back if we decide to completely recreate the to-do application in Rocket.
We will not explicitly recreate the application in this chapter, as this would result in pages and pages of repetition. However, there is going to be some repetition here as some of the modules we've created throughout this book are web framework agnostic. We will copy some of the modules we created in the previous chapters for some of the examples provided. Our examples will include constructing basic views, connecting to a database, passing data into the view via the body, and authenticating users using JSON web authentication.
In this chapter, we will cover the following topics:
- High-level differences between Actix and Rocket
- Setting up and configuring...