Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Design pattern used in projects [closed]

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

like image 243
ashmish2 Avatar asked Feb 18 '11 08:02

ashmish2


People also ask

What are the design patterns used in project?

4 Design Patterns You Should Know for Web Development: Observer, Singleton, Strategy, and Decorator.

Are design patterns used in front end?

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 open system?

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.


1 Answers

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.

like image 72
justin Avatar answered Sep 23 '22 11:09

justin