Chapter 4. TEMPLATES
Topics in this Chapter
Encapsulating Layout
Optional Content
Role-based Content
Defining Regions Separately
Nesting Regions
Extending Regions
Combining Features
Region Tag Implementations
Conclusion
Window toolkits typically provide three types of objects that greatly facilitate the implementation of flexible, extensible, and reusable applications: components, containers, and layout managers. Components are graphic objects such as buttons, menus, or lists, and containers are groups of components. Layout managers position and size a container's components.[1]
Components, containers, and layout managers are typically implemented with two design patterns: Composite and Strategy.[2] The Composite design pattern, used to implement components ...
Get Advanced JavaServer Pages™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.