Patterns

  • submit to reddit

Design Patterns, The Emperor’s New Clothes and Catch 22

When writing this blog one of the things I do before I metaphorically put pen to paper is to verify what I’m going to write is correct and I usually do...

6 replies - 5815 views - 04/05/12 by Roger Hughes in Articles

The Strategy Pattern

In a recent blog on I received a comment from Wojciech Soczyński about how the “strategy” pattern can be used to enforce the Single Responsibility...

2 replies - 6210 views - 03/31/12 by Roger Hughes in Articles

The Apriori Algorithm

Here are just notes from my data mining class which I began to consolidate here in my blog as a way to assimilate the lessons. The Apriori algorithm is a...

0 replies - 5467 views - 03/18/12 by Jose Asuncion in Articles

Two Implementations of the Chain Of Responsibility Pattern

 The Chain of Responsibility design pattern is needed when a few processors should exist for performing an operation and a particular order should be...

0 replies - 4272 views - 03/11/12 by Cagdas Basaraner in Articles

Our experience with Domain Events

Domain-Driven Design backgroundThere are a series of Domain Model patterns that describe objects and objects group built with Domain-Driven Design. Aggregates...

0 replies - 8877 views - 02/23/12 by Giorgio Sironi in Articles

Patterns of Personalization

I’ve been thinking recently about the role of ‘advanced search’, i.e. the practice whereby some sites withhold certain aspects of functionality from...

0 replies - 4009 views - 02/01/12 by Tony Russell-rose in Articles

Fixing the Singleton

When you ask people who know almost, but not completely nothing about patterns, about software design patterns, they probably bring up the singleton...

3 replies - 7542 views - 01/29/12 by Jens Schauder in Articles

Database Indexes for The Inquisitive Mind

I've used to be a developer advocate an awesome database product called MarkLogic, a NoSQL Document Database for the Enterprise. Now it's pretty frequent that...

0 replies - 5882 views - 12/09/11 by Nuno Job in Articles

Few Thoughts on 'Deprecating the Observer Pattern'

When this article was brought to my attention, I thought ‘wow, not much hubris there: let‘s go put a toe tag on a piece of the most important computer...

1 replies - 4398 views - 11/12/11 by Rob Williams in Articles

Maintaining Separation of Concerns when using a JSP Front Strategy MVC Pattern.

My last MVC blog tried to add a little depth into exactly what the MVC pattern is in relation to web-applications, and in writing it I...

1 replies - 4692 views - 11/01/11 by Roger Hughes in Articles

A Bayesian view of Amazon Resellers

I was buying a used book through Amazon this evening. Three resellers offered the book at essentially the same price. Here were their ratings: 94%...

1 replies - 4507 views - 11/01/11 by John Cook in Articles

Tell, Don't Ask in the case of a web service

This is a language agnostic post: it is valid for each object-oriented imperative language like Java, C#, PHP. Let's start from the beginning: a web service...

8 replies - 6901 views - 10/20/11 by Giorgio Sironi in Articles

Java Decorator Pattern Example

I cannot say that I am good at explaining theory. I just read it and try to apply it where possible! After all practice and theory are theoretically exactly...

0 replies - 8551 views - 09/25/11 by George Valotas in Articles

Understanding Front Controller Design Pattern

The front controller design pattern means that all requests that come for a resource in an application will be handled by a single handler and then dispatched...

0 replies - 16960 views - 05/01/11 by Sandeep Bhandari in Articles

The Singleton Pattern and its Simplest Implementation in Java

This post motivates the Singleton design pattern and explains its implementation in Java. The Singleton is a design pattern [1] to ensure that a class has...

2 replies - 8919 views - 04/11/11 by Axel Rauschmayer in Articles