Skip to content
Free planNo credit card requiredStart writing

other · 2024

Applying Design Patterns

Cited by 0Open access

Abstract

This chapter gives the reader just a taste of how patterns can help them organize object-oriented concepts into high-level designs. The strategy design pattern is one way to support the dependency inversion principle. A factory in real life constructs tangible objects, such as tables or cars. There are two major types of factory-related patterns in object-oriented programming: the abstract factory pattern and the factory method pattern. It discusses the abstract factory pattern. The adapter provides the abstraction that the rest of the code uses and serves as the link between the desired abstraction and the actual underlying code. The proxy pattern is one of several patterns that divorce the abstraction of a class from its underlying representation. The iterator pattern provides a mechanism for separating algorithms or operations from the structure of the data on which they operate.

Cite this paper

APA 7

(2024). Applying Design Patterns. https://doi.org/10.1002/9781394193202.ch33

MLA 9

“Applying Design Patterns.” 2024, pp. 1179–210, https://doi.org/10.1002/9781394193202.ch33.

Chicago

2024. “Applying Design Patterns.” https://doi.org/10.1002/9781394193202.ch33.

Harvard

(2024) ‘Applying Design Patterns’. Available at: https://doi.org/10.1002/9781394193202.ch33.

BibTeX
@misc{anon2024applying,
  title = {{Applying Design Patterns}},
  pages = {1179--1210},
  year = {2024},
  doi = {10.1002/9781394193202.ch33}
}

Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.