GET /posts index GET /posts/:id GET /posts/new DELETE /posts/:id PATCH /posts/:id POST /posts GET /posts/:id/edit
- The client (browser) makes a GET request to a particular route
- Sinatra catches that request and routes to the appropriate action in the controller
- The controller asks the model for data
- The model queries the database for the data
- The model passes the data back to the controller
- The controller passes that data to the view to render html
- The view parses both the data and the html markup to create that html and passes that html back to the controller
- The controller sends that html back to the client for the user to view