Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

GoF Pattern Catalog

Use the rest of the Gang of Four catalog, beyond the core pattern set, to name a design force, apply the matching creational, structural or behavioral pattern and recognize when a simpler construct does the job.

Intermediate1 roadmap

4 objectives 6 steps about 140 min

Check what you know

The lessons are coming later. The knowledge check is ready now.

Take the knowledge check

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Choose among builder, factory method, abstract factory and prototype for an object-creation problem, and replace a singleton with an explicitly scoped instance created at the composition root and injected.
  • Apply composite, proxy, bridge and flyweight to a stated structural force and name the consequence each one introduces.
  • Model behavior that varies with state or with the request using state, template method, chain of responsibility and mediator, and choose a simpler alternative (a function, a lookup table or plain polymorphism) when it resolves the same force.
  • Use memento, iterator, visitor and null object for undo, traversal, new operations over a stable structure and absent collaborators, and explain the trade-off visitor makes between adding types and adding operations.

Lesson plan

6 steps, about 140 min · 0 of 5 lessons available so far

  1. Creating objects: builders, factories, prototypes and the singleton problem Concept · 25 min · coming later
  2. Structuring objects: composite, proxy, bridge and flyweight Concept · 25 min · coming later
  3. Behavior that changes: state, template method, chains and mediators Concept · 25 min · coming later
  4. Undo, traversal and double dispatch: memento, iterator, visitor, null object Concept · 20 min · coming later
  5. Building a small document editor from five patterns Lab · 30 min · coming later
  6. Pattern catalog check Knowledge check · 8 questions

Practise it

Extend a small drawing or document editor so that documents are assembled by a builder, shapes nest (composite), tools change behavior by mode (state), every edit can be undone (memento) and exports run as visitors; keep the tests green and write one paragraph per pattern naming the force it resolves and the simpler alternative you rejected.

References

Hard prerequisites

None.

Unlocks

Nothing depends on this skill yet.

On these roadmaps

Progress and evidence for this skill are shared across all of them.