GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - devesh2408/Design-Patterns-GoF: Working code for the Design Patterns book from the Gang of Four.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

61 Commits
61 Commits

Folders and files

NameName
Last commit message
Last commit date
Behavioral_Patterns
Behavioral_Patterns
 
 
Creational_Patterns
Creational_Patterns
 
 
Foundation_Classes
Foundation_Classes
 
 
Structural_Patterns
Structural_Patterns
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
README.txt
README.txt
 
 

Repository files navigation

This is my implementation of the Design Patterns from the book

  'Design Patterns: Elements of Reusable Object-Oriented Software'
  Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides
  ISBN 0-201-63361-2
  Copyright 1995
  21th Printing, November 2000

The webpage and official 'code' for this book were previously available from

  [1] http://st-www.cs.illinois.edu/users/patterns/DPBook/DPBook.html
  [2] http://st-www.cs.illinois.edu/patterns/dpbook/Source.html

(TODO: link [1] and [2] no longer work.  Does anybody know the new location of
 the 'official' source code for the book?)

The nice thing about the book is that it is... well... not complete :-) To come
to a complete working implementation of all the Design Patterns presented in the
book, and be able to play with them, requires some extra coding.  The goal of
this project is to actually provide the missing pieces and come to something
that will compile and run cleanly.

On the following websites, I have found some more C++ code that helped me
complete everything:

  [3] http://www.c-jump.com/CIS75/Week11/
  [4] http://www.c-jump.com/Download/Patterns/Prototype/html/
  [5] https://code.google.com/p/basic-algorithm-operations/source/browse/trunk/DP
  [6] http://dislab.hufs.ac.kr/wiki/Lecture/Design_Pattern
  [7] http://blog.csdn.net/joey_zoy/article/details/5610810
  [8] https://github.com/wangqiang8511/C---Design-Patterns-Examples/

And here are some interesting slides that give some more explanation:

  [9] http://www.cs.toronto.edu/~penny/teaching/csc407/

A more modern C++11 approach using Boost libraries was given in a talk
by Tobias Darm given here:

  http://www.infoq.com/presentations/gof-patterns-c-plus-plus-boost

An interview from 2009 with the GoF authors is given here:

  http://www.informit.com/articles/article.aspx?p=1404056

A dependency analysis and refactoring of the Gang of Four examples can
be found at

  https://github.com/zebmason/GoFRefactored/blob/master/README.md

Feel free to send me your comments, suggestions and improvements in the form
of a git pull request!

About

Working code for the Design Patterns book from the Gang of Four.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.