What Is a Design Pattern?

[Previous] [Next]

A design pattern is a predefined solution to a recurring object-oriented design problem. The design pattern defines a relationship between collaborating interfaces, classes, and objects, each with a unique role that helps solve the problem. An interface defines a group of property and method signatures. A class defines an implementation of the interfaces it supports. An object is constructed based on a class; therefore, an object supports the interfaces implemented by its class. Furthermore, interaction with an object is possible only through the interfaces exposed by that object. Object-oriented systems are based on objects. Clearly, then, design patterns are an abstraction of a solution to a problem in a specified context. Objects constructed based on classes defined by a design pattern are instances of the design pattern solution.



Microsoft Visual Basic Design Patterns
Microsoft Visual Basic Design Patterns (Microsoft Professional Series)
ISBN: B00006L567
EAN: N/A
Year: 2000
Pages: 148

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net