The goal of this exercise is to help you learn to easily identify how objects flow through web applications when requests are made.
For a refresher, check out a recap of how objects flow through a web application.
- Go back in your Field Notes, or notebook, to the 3 web applications you identified in the Discovering Web Application Requests In The Wild Exercise.
- Choose three individual requests (you should have originally come up with 9 total, 3 request for 3 different web apps) and copy those requests over to a new page in your notebook.
- For each of those requests, answer the following:
- What types of objects are involved in this request?
- How do those objects flow throughout the web application?
- How do you know when your request has been fulfilled?
The web application request:
In Facebook, click the Profile link in the main menu
What types of objects are involved in this request?
Users, Posts, Comments
How do those objects flow throughout the web application?
When I request to view my Profile, that request is sent to the back end of the web application. Then, using my — I presume — username, the back end retrieves all of my User connections (Friends), Posts, and Comments from the database. That information is then passed to the front end where it’s used to render my Profile page.
How do you know when your request has been fulfilled?
When my Profile page is displayed in my browser!