Skip to content

IanDarwin/patterns-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

patterns-demos

This repo contains some examples of Design Patterns in Java; it was split off from my main javasrc repo to keep the latter from becoming bottom-heavy.

Readings

The original book that popularized Design Patterns - after they were in use for a decade in the CS community - is Design Patterns: Elements of Reusable Software, by Gamma, Helm, Johnson and Vlissides, known more concisely as the Gang of Four or even the GoF.

A less academic, more memorable, more fun read is O’Reilly’s Head-First Design Patterns.

My Writings

The OO chapter of my Java Cookbook, 3rd edition.

Command Pattern, in Oracle’s Java Magazine May/June 2018. https://blogs.oracle.com/javamagazine/the-command-pattern-in-depth

State Pattern, in Oracle’s Java Magazine, July/August 2018. https://blogs.oracle.com/javamagazine/the-state-pattern

Visitor Pattern, in Oracle’s Java Magazine, September/October 2018. https://blogs.oracle.com/javamagazine/the-visitor-design-pattern-in-depth

Decorator Pattern, in Oracle’s Java Magazine, November/December 2018. https://blogs.oracle.com/javamagazine/the-decorator-pattern-in-depth

Proxy Pattern, in Oracle’s Java Magazine, March/April 2019 https://blogs.oracle.com/javamagazine/the-proxy-pattern

About

Examples of Design Patterns in Java

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages