OOP Terminology : Part VIII - Service Layer
October 17, 2008
So just what is this Service layer anyway? Read more »
OOP Terminology : Part VII - Beans
October 16, 2008
When people talk about beans in OOP what the heck are they on about? Well, the term bean comes from the Java world where there are different types of beans depending on the usage. In ColdFusion we don't have different types of bean, so it's much easier to understand. Read more »
getters, setters and Anemic Domain Models
October 14, 2008
Ben Nadel has added an interesting post on his blog OOP Getters() And Setters() - A New Programmer's Frustration. I posted my comments and then Sean Corfield added one which said everything I was trying to say (badly) and more. I think Sean hits the nail on the head with the trap that many people fall into when moving to OO. Read more »
OOP Terminology : Part VI - UML
October 13, 2008
UML is a useful tool for designing OO applications. As part of my OOP terminology series, I thought I'd show an example of how you would document a simple system with UML. Read more »
OOP Terminology : Part V - Composition & Aggregation
October 10, 2008
The so called "big 3" of OO are generally accepted to be encapsulation, polymorphism, and inheritance. I've mentioned those in my previous posts, so now it's the turn of composition and aggregation. Read more »
Abstract Class as an Interface
October 06, 2008
I just spotted this handy technique, that Matt Woodward, uses for forcing overriding in subclasses (and pretty much removing the need for using an interface in ColdFusion). Read more »
Book Review: Object Orientated Technology: A manager's guide
September 29, 2008
This book was recommend by Hal Helms and if it's good enough for Hal then it's good enough for me :) Although this book was first published in 1990 it is still jam packed with useful information. It talks about C++ and Smalltalk but the explanations are relevant to any OO capable language, I got the first edition (for £2 for AbeBooks!) so they may have updated this in the second edition. Read more »
OO and Fusebox no xml
September 18, 2008
Brian Kotek wrote a sample application which illustrates extensive use of OO principles. I've taken Brian's Fusebox 4.1 Bookstore code and reworked it to use Fusebox 5.5 no XML. Read more »
cfproperty, onMissingMethod and data type validation
September 16, 2008
Using cfproperty means you can still have a documented API and date type checking when you use the onMissingMethod technique for getters and setters. Read more »
OOP Terminology : Part IV - Scopes
September 09, 2008
When you create CFCs you need to be careful that you don't expose more data than you need to. When you create a CFC you need to be aware of the different scopes available. This is an overview of the three types. Read more »
