October 23, 2007

Web Presentation Patterns

Pattern

Problem Associated

Model-View-Controller

How do you modularize the user interface functionality of a Web application so that you can easily modify the individual parts?

Page Controller

How do you best structure the controller for moderately complex Web applications so that you can achieve reuse and flexibility while avoiding code duplication?

Front Controller

How do you best structure the controller for very complex Web applications so that you can achieve reuse and flexibility while avoiding code duplication?

(Using HTTP Handler)

Intercepting Filter

How do you implement common pre- and post-processing steps around Web page requests?

(Using HTTP module)

Page Cache

How do you improve the time of dynamically generated Web pages that are requested frequently but consume a large amount of system resources to construct?

(Using Absolute Expiration)

Observer

How can an object notify other objects of state changes without being dependent on their classes?