Archive for the ‘Design Patterns’ Category

Hybrid Parser Architectural Pattern

Posted November 25th, 2007 by Nazmul
Summary

The Hybrid Parser architectural pattern applies to software systems which need to parse documents but are constrained by memory resources and processing power available. The pattern combines the processing advantages concerning execution speed and memory resources of event driven parsers with the programming comfort of a fully-fledged document object model, provided by an object tree parser.

Click here to read this tutorial...   |  

Factory Pattern

Posted March 27th, 1999 by Nazmul
Summary

When using interfaces, it is important NOT to access the implementation classes (which implement these interfaces) directly.

Click here to read this tutorial...   |  

Delegation Pattern

Posted March 27th, 1999 by Nazmul
Summary

The delegation pattern can be defined as follows. When you are creating a class that does everything another class does and more, then instead of subclassing the other class, you have to declare it as a data member or property of your class.

Click here to read this tutorial...   |  

Adapter Pattern

Posted March 27th, 1999 by Nazmul
Summary

The adapter pattern can be described as follows. When you have to implement an interface, but you want to use another class’ (or interface’s) methods in order to implement it you are using the Adapter Pattern.

Click here to read this tutorial...   |