want to join us? register, it's easy | help
category icon

Implementing MVC in PHP: The Controller

in PHP added by goodphptutorials, on 5/2/2006 controller mvc oo programming oop patterns

Quite simply, the controller handles incoming requests. It uses input, in this case from the URI, to load a module and refresh/render the presentation layer. The controller for the aptly named Framework 1.0 uses a few GET arguments to figure out which module to load.

comment save report
 
submitted
Sun, Feb 5th 2006, 14:15
clicks today
737
clicks this month
759
clicks all time
4566