RSS

Posts in 2007

  • Thoughts on Closures

    Monday, November 05, 2007 in Blog

    Thoughts on Closures It seems like closures are all the rage in software development circles. Ruby and Groovy have them and then C# got them. Python had a form of them but are they really closures? What are closures anyway - do we need them? In this …

    Read more

  • Teaching 23 Patterns

    Tuesday, January 23, 2007 in Blog

    Teaching 23 patterns in 3 days I have been running a design patterns course for several years where I teach 23 design pattern patterns in 3 days. I cover all the GOF (Gang of Four) patterns plus more. Here are some tales from the front lines! History …

    Read more

Posts in 2006

  • Tooled Composite Pattern

    Wednesday, March 01, 2006 in Blog

    Ever wanted to create a “direct manipulation” program where you select various tools and manipulate stuff on a workspace? These sorts of applications are quite difficult to build due to the many possible combinations of behavior that is …

    Read more

Posts in 2005

  • ORM Pattern

    Friday, July 01, 2005 in Blog

    Relational databases and OO memory models use different paradigms. Mapping between one and the other is often necessary but usually ends up being fiddly unless an auto-mapping ORM tool is used. How an ORM works Let’s face it - a lot of …

    Read more

  • Swapping Implementations

    Saturday, March 05, 2005 in Blog

    This is an exploration of how to swap implementations of objects within our software architectures using patterns like the Interface, Factory, Strategy, Proxy, Adapter, and finally to the full blown Bridge Design Pattern. This article was formerly …

    Read more

Posts in 2004

  • Blackboard Pattern

    Thursday, August 05, 2004 in Blog

    Blackboard Architectural Pattern The Blackboard Architectural Pattern is useful for problems for which no deterministic solution strategies are known. In Blackboard several specialised sub-systems assemble their knowledge to build a possibly partial …

    Read more

Posts in 2002

  • Null Object Pattern

    Friday, October 04, 2002 in Blog

    Null Object Design Pattern Sometimes I make the joke that design patterns are all about getting rid of if-else statements from your code. The null object pattern is an example of a pattern that does just that - check out the code at the bottom for …

    Read more

  • Using Design Patterns in Real Projects

    Wednesday, September 04, 2002 in Blog

    What is it like to use design pattern in real life programming? Do the sometimes academic patterns translate into the real world? The answer is yes. I will back this up with three examples of where I have used patterns in real world projects. Scroll …

    Read more

Posts in 2000

  • Patterns, ModelMaker & Beyond

    Tuesday, January 04, 2000 in Blog

    How can IDE visualisation features be further enhaced by UML and Design Patterns to assist developers. It discusses using the revolutionary UML tool ModelMaker (now discontinued) in conjuntion with Delphi. ModelMaker allowed you to apply patterns …

    Read more