Tag Archives: patterns

Review: Applying Domain-Driven Design and Patterns (Nilsson)

Applying Domain-Driven Design and Patterns: With Examples in C# and .NET, by Jimmy Nilsson. Addison-Wesley, 2006. Stir together Eric Evans' Domain-Driven Design with Martin Fowler's Patterns of Enterprise Application Architecture, mix in C# code, and you've got the flavor of this … Continue reading

Tagged , ,

3A – Arrange, Act, Assert

Some unit tests are focused, other are like a run-on sentence. How can we create tests that are focused and communicate well? What's a good structure for a unit test? 3A: Arrange, Act, Assert We want to test the behavior … Continue reading

Tagged , , , ,

Design Patterns in Java – Sample Chapter – Adapter

Sample chapter – Adapter. Continue reading

Tagged , , , , ,

Review – Design Patterns in Java

Design Patterns in Java. Steve Metsker and William C. Wake. Addison-Wesley, 2006. I won’t review my own book, but I will summarize: This is a workbook-style book, updating Steve’s earlier Design Patterns Java Workbook and Design Patterns in C#. It covers the same 23 … Continue reading

Tagged , , , , , ,

Review – Refactoring to Patterns

Refactoring to Patterns, Joshua Kerievsky. Addison-Wesley, 2005.Design patterns and refactoring have been related for a long time. (Consider that Ralph Johnson, one of the co-authors of Design Patterns, was a sponsor of the work that created the original refactoring browser.) … Continue reading

Tagged , , , ,

Pattern Patter: Anonymous Subclass with Instance Initializer

A way to initialize a Java object. Continue reading

Tagged , ,

Review – Domain-Driven Design

Domain-Driven Design, by Eric Evans. Addison Wesley, 2004. Evans has developed a pattern language that focuses on how thinking about our domain needs to be of primary importance in developing software. This understanding should show up consistently in how customers … Continue reading

Tagged , , , ,

Patterns for Iteration Retrospectives

These patterns (or perhaps proto-patterns) discuss how to use iteration retrospectives as a way of helping a team reflect on and learn from the project while it’s still going on. Continue reading

Tagged , , ,

Review – Design Patterns

Design Patterns, Erich Gamma et al. Addison-Wesley, 1995. A catalog of 23 patterns used in object-oriented design. It's a little new to be called a classic, but I'll go out on a limb for this one. (Reviewed Nov., '02)

Tagged , , , ,

Command, Interpreter, Visitor

Design patterns are interesting in themselves, but it’s useful to be able to move between patterns while refactoring a system. We’ll look at how you can move between command, interpreter, and visitor. Continue reading

Tagged , , , , ,

From 0 to Composite (and Back Again)

Evolve from nothing, to an item, a collection, and a composite, or back again. Continue reading

Tagged , , , , ,

Interface Seams: Patterns for Interactive Applications

These patterns describe some of the forces and decisions to be made while implementing an interactive application. [This is a submission to PLoP'98.] Continue reading

Tagged ,

A Telephone Pattern Language

This document is the start of a pattern-language for phone-based systems. Continue reading