Hi I am learning Design patterns these days. I want to read design pattern used in various projects and how it is implemented. Implementation is helpful to connect the design pattern in broader picture and why they deiced to use that pattern. Problem with open source projects are they are not documented properly.
Can anone help me with sm online resource?
PS: if possible i need in c or C++
UPDATE:
projects that are listed below :
http://www.boost.org
http://sourceforge.net/projects/loki-lib/
'POCO.'
ACE (The Adaptive Communication Environment).
If anyone want to add more please do. Personaly i looked at the above projects and found boost to be a good choice to start.
UPDATE: Due to a nice post on java which describe design pattern Examples of GoF Design Patterns in Java's core libraries .I am including some other languages in tag as well that i know
4 Design Patterns You Should Know for Web Development: Observer, Singleton, Strategy, and Decorator.
Design Patterns are best software practices used by Software Developers in solving recurring problems in Software Development. They aren't code-related but rather a blueprint to use in designing a solution for a myriad of use cases.
Which mechanism is applied to use a design pattern in an OO system? Explanation: Using inheritance, an existing design pattern becomes a template for a new subclass. Composition is a concept that leads to aggregate objects.
boost, a very well written and documented library implements several design patterns. it's quite a large library, and these implementations are used in the libraries.
http://www.boost.org
boost is found in many projects, but loki's also worth reading:
http://sourceforge.net/projects/loki-lib/
the original author of loki (Andrei Alexandrescu) went over many of the design details in a c++ classic Modern C++ Design: Generic Programming and Design Patterns Applied.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With