For the second in my mini-series looking at Object Oriented Design within the Kohana framework I am going to look at the Facade pattern. I had this down for the third article, but I had a comment on the last one voicing some thoughts on a common grey area when it comes to this and the adapter pattern, and so I thought I would jump straight to the facade pattern in an attempt to clear up any confusion!
When it comes to design pattern history the starting point should probably be the book “Design Patterns Elements of Reusable Object-Oriented Software by Gamma, Helm, Johnson and Vlissides“. Most commonly referred to as the Gang of Four (GoF) the authors outlined 23 design patterns, potential solutions as they saw them to many common programing scenarios. When reading articles about design patterns you will often come accross references to the pages on which these patterns were described first, so if you havn’t allready I would strongly suggest getting hold of a copy and taking a look.
read the rest ››