How Objects Flow Through Web Applications

This is a free resource from my online course, From Idea To Launch, where I teach you how to build a full Laravel web application, step by step, at beginner's speed. Learn more →

When you a make a request to a web application, that request is sent to the back end of the application. The back end then retrieves all of the necessary information from the database that in needs to fulfill your request. That information is then passed to the front end where it’s used to render the requested page.

The flow of a request in a web application

The flow of a request in a web application

An example

Let’s say you’re building a web application based around recipes — recipe objects.

Let’s say you make a request to view a page that displays all of those recipe objects. Remember, when you make that request — by typing a URL into your browser — the request is handled by the back end.

The back end then communicates with the database to retrieve all of the recipe objects.

It then passes those objects off to the front end, where they’re rendered and displayed to you back in your browser. Request fulfilled.

The flow of objects when fulfilling a request in a web application

The flow of objects when fulfilling a request in a web application