Pattern Components

A DPTK pattern consists of three components that act together to generate multiple instances of an application, one of which is the exemplar from which we build the three components.

There is a design model that describes what is different between the instances of the application. The information unique to an application instance can be thought of as the application instance’s requirements.

There is a view, consisting of a collection of templates, each of which describes how to build a single instance of an application artifact (JSP, Java, XML). These templates can be thought of as JSP’s for Eclipse. They contain the static content that is constant from application instance to application instance. They also contain instructions (in the form of tags) to the toolkit about how to merge the application instance-specific requirements with the static content in the pattern.

Finally, there is a small set of controllers that initiate the use of the pattern templates and direct the resulting application source to the appropriate Eclipse resources (files).


© Copyright IBM Corporation 2000, 2005. All Rights Reserved.