Class Patterns and Templates in Software Design

Class Patterns and Templates in Software Design

Julio Sanchez, Maria P. Canton
ISBN13: 9781605660608|ISBN10: 1605660604|EISBN13: 9781605660615
DOI: 10.4018/978-1-60566-060-8.ch037
Cite Chapter Cite Chapter

MLA

Sanchez, Julio, and Maria P. Canton. "Class Patterns and Templates in Software Design." Software Applications: Concepts, Methodologies, Tools, and Applications, edited by Pierre F. Tiako, IGI Global, 2009, pp. 546-587. https://doi.org/10.4018/978-1-60566-060-8.ch037

APA

Sanchez, J. & Canton, M. P. (2009). Class Patterns and Templates in Software Design. In P. Tiako (Ed.), Software Applications: Concepts, Methodologies, Tools, and Applications (pp. 546-587). IGI Global. https://doi.org/10.4018/978-1-60566-060-8.ch037

Chicago

Sanchez, Julio, and Maria P. Canton. "Class Patterns and Templates in Software Design." In Software Applications: Concepts, Methodologies, Tools, and Applications, edited by Pierre F. Tiako, 546-587. Hershey, PA: IGI Global, 2009. https://doi.org/10.4018/978-1-60566-060-8.ch037

Export Reference

Mendeley
Favorite

Abstract

This chapter describes the use of design patterns as reusable components in program design. The discussion includes the two core elements: the class diagram and examples implemented in code. The authors believe that although precanned patterns have been popular in the literature, it is the patterns that we personally create or adapt that are most useful. Only after gaining intimate familiarity with a particular class structure will we be able to use it in an application. In addition to the conventional treatment of class patterns, the discussion includes the notion of a class template. A template describes functionality and object relations within a single class, while patterns refer to structures of communicating and interacting classes. The class template fosters reusability by providing a guide in solving a specific implementation problem. The chapter includes several class templates that could be useful to the software developer.

Request Access

You do not own this content. Please login to recommend this title to your institution's librarian or purchase it from the IGI Global bookstore.