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).
Loading...
Related Quiz
- To enable RESTful API functionality in CodeIgniter, the ________ must be configured correctly.
- In a typical payment gateway integration, which component is responsible for handling customer payment details securely?
- What does OAuth stand for, and why is it important in social media integration?
- What are the challenges faced when unit testing CodeIgniter applications that heavily rely on database interactions?
- What is the primary function of a payment gateway in an online shopping platform?