PresentationComponent

Presentation components are specific to particular user-interface mechanisms or protocols. Their job is to encapsulate details of the mechanism or protocol.

A good test for presentation components is that they use the word [request]?. If a bit of code uses request (or REQUEST), then it had better be code of a presentation component.

There are two kinds of presentation components:

  • Views provide a presentation of some other component,
  • [Resource]?s provide stand-alone objects that can be used in presentations. Resources include things like images and style sheets.

Presentation components have names. They are looked up using names, for example in paths. Of course, they are also looked up using the presentation type and, for views, the interface of the component being viewed.

Presentation components can be customized using [Skin]?s and [Layer]?s.



( 97 subscribers )