    |

|
White Papers -
Articles
|
|
"Creating
Synergistic Components with Delphi"
|
|
James Callan
- KOG Webzine (Page 14)
|
Your Link to Synergy
The TMacroRecorder is but one component
that can be constructed using link-based associations between classes. This same
synergistic component-creation technique can be used to provide application-wide
security, portable database integrity, user defined product extensions, foreign language
support and an array of advanced features. Such features can be difficult to add
without building unwieldy class hierarchies. Understanding how to dynamically override
event handlers is critical to widening the gates to complex, feature-rich software.
OOP offers a world of exciting possibilities, and by adding links to your list of
tools and techniques, you will now have an alternative to aggregation. Links are
not the answer for most design problems. For applications where links are appropriate,
they can save many lines of code and greatly reduce the sheer number of custom components
you will need to create. So, the next time you face a ticklish design dilemma, consider
creating synergistic components. It might be your link with success. |
 
|