Makzan / I share what I learned

Rails from request to response

I need to draw a chart to explain the flow from a client’s browser sending a request to Rails server. Then Router dispatches the request to Controller. Controller grab data it needs from Model. Finally Rails uses the ERB engine to put together the HTML and data to create an HTML file, which sends back to client’s browser and displays.

Here is the chart:

rails request to response


Published on 2015-11-10. More articles like this:
- Ruby on Rails
- Web Technologies

Previous <- How I write everyday
Next -> ReactJS Examples