architect-handbook

Software Architect Handbook

View on GitHub

Page Controller

An object that handles a request for a specific page or action on a Web site.

Overview

Page Controller has one input controller for logical page of a web site. That controller may be the page itself, as it often is in server page environments, or it may be a separate object that corresponds to that page.

How It Works

When to Use It

The main decision is whether to use Page Controller or Front Controller. It’s not uncommon to have a site where some requests are dealt with one and some with the other.