top | item 2018532 What is controller in MVC 2 points| jack83 | 15 years ago Hello,What is the real function of a controller in a MVC architecture ?Thank you for your advices. 2 comments order hn newest Kudose|15 years ago The controller generally accepts requests and fires an action. i.e. You may request index.php/admin/users/view/id/123Your controller in the above example is Users firing the view Action it got from the request (usually another object). Kudose|15 years ago Sorry for the double comment ... you can see the controller in action at http://code.google.com/p/sharpy/ ... which is my less than a week old PHP framework.
Kudose|15 years ago The controller generally accepts requests and fires an action. i.e. You may request index.php/admin/users/view/id/123Your controller in the above example is Users firing the view Action it got from the request (usually another object).
Kudose|15 years ago Sorry for the double comment ... you can see the controller in action at http://code.google.com/p/sharpy/ ... which is my less than a week old PHP framework.
Kudose|15 years ago
Your controller in the above example is Users firing the view Action it got from the request (usually another object).
Kudose|15 years ago