Reading along with
Head First Design Patterns I wanted to share my experience with converting a chapter to Coldfusion use. So in chapter 6 'The Command Pattern' I followed along best I could to reproduced the code to Coldfusion OOP. The book is written with Java in mind but as Coldfusion does have OOP capabilities the ideas can be used almost just as their presented. Compare with my example code to see how the conversion can be made.
The tutorial is simple in its presentation but gets the job done and includes a full working application putting everything to good use. You'll be creating a home automation Remote Control for the appliances in your house. My remote has simple on/off buttons and and undo button but the tutorial will teach you to do more.
After reading you may want to download the attached source code for further review. And if you want more of this visit
Dave Shuck's blog and pick up another Head First Design Patterns tutorial.
View the entire
Colfusion OOP tutorial. Or play with the finnished working
Command Pattern application.
There are no comments for this entry.