开发者

Design pattern used in projects [closed]

Closed. This question does not meet Stack Overflow guide开发者_开发问答lines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 4 years ago.

Improve this question

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


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.


There are many libraries which make a good use of patterns, but let me point you to two that seems very good to me:

  • ACE (The Adaptive Communication Environment). Open-source object-oriented (OO) framework that implements many core patterns for concurrent communication software.
  • POCO. Open source C++ class libraries and frameworks for building network- and internet-based applications that run on desktop, server and embedded systems.

Of course, as Justin said, Boost can also be a source of learning.


I found a very helpful examples of how/where is particular pattern used under the java tag (it shouldn't be to hard to understand it): Examples of GoF Design Patterns in Java's core libraries

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜