A user's request to delete an item from the cart goes through a series of steps in the MVC architecture. Identify the correct order: ________.

  • 1 (Model), 2 (Controller), 3 (View)
  • 2 (Controller), 1 (Model), 3 (View)
  • 2 (Controller), 3 (View), 1 (Model)
  • 3 (View), 2 (Controller), 1 (Model)
The correct order is: Model processes the delete request (1), Controller handles the request and updates the data (2), and View reflects the updated cart to the user (3).
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *