Let’s do another one of our now-infamous architectural diagrams to see what this controller and its support components might look like.
1 Having received a request, the Controller locates the correct Form Validation Component in the Declarations XML file. The Controller invokes the Form validator, sending it the request. If the validator finds any errors, it tells the controller which view to return.
2 Using the Declarations XML file, the Controller locates and invokes the Request Action Component component, which invokes the model.
3 Using the Declarations XML file, the Controller locates and invokes the View.