Blog

01
January 2014

Gavin Pickin

Deals and Steals - Books and Training - Review of OOP for CF and Ebook Sale Ending

Books and Training, Steals and Deals

Its the 1st of January, 2014, and its time for some resolutions, and decisions, and today, I'm reminding you of an important one. Leveling up your skills... Packt Publishing's $5 Ebook sale is ending Jan 3rd, so its your last chance to pick up some of those amazing books, for only $5, you just can't beat that deal.

Today I bought 10 books, some of them I discussed here in my first post on the Ebook-bonanza from Packt Publishing but I decided to look a little more and picked up a couple more. Today, I busted open the first one, one I have been meaning to read for a LONG time now, so I finally did. It was a good read, and actually finished it today. Matt Gifford's Object Oriented Programming for ColdFusion... so let me tell you what I thought about it.

With the Foreword written by Ben Forta, Ben Nadel, and Terry Ryan, and reviewed by Raymond Camden, it was a promising sign. It was the first real OOP book for ColdFusion, and there have been a few since then, but the concepts in this book have definitely held their own. This is supposed to be a beginner guide, discussing the concepts and how they apply... so I found it a great refresher, and really liked the fact it was an easy read, and I didn't need to dive into the code example downloads to be able to follow along. I read it on my ipad, and the digital version was pretty well laid out, so that was nice... although no code indentation, was not ideal, but we're all had to deal with that in our time.

I liked the fact it was broken down into each piece of the OOP design, introducing ColdFusion Components, Effective Component Development, Building Beans, Inheritance and OO Concepts, DAO, Gateways, and Services. Each chapter built on a small sample app, refactoring as you went, which I thought was a good way to ensure the reader could follow along, Sometimes, some books use so many different examples, you might not catch the small things, because you are not as clear on the application structure, and requirements.

Although the book was setup using DAOs and Gateways, it had a discussion about the use of DAOs and Gateways being 2 components, compared to combining them, and used references to Java and references to Fowler to give you some of the reasoning behind both styles, and basically stating it was up to you, and your project. I thought this was good, as I ran across a discussion about this on Twitter recently, Scott Stroz (host of CFHour) who (practically) never separates the DAO and Gateway, and others, that do it regardless of the project. The section on this helped me clarify reasons where you might want to split them, but in the end, its up to you.

One of the only negatives, call it a pet peeve is some of the editing, (as Sean Corfield mentioned in his Amazon review), the function names like save() were switched out with saveUser() several times, and information had a L in it, and other bad editing was obvious in a few places. I'm sure after all this time, these changed have been submitted by readers, but obviously, no one has gone back in to update the material. Nothing earth shattering, but still, one of those things, that takes the polish off an otherwise great book in my mind.

I think its a great book, readable in a day (even for a slow reader like myself) and a good solid reference to all of basics of OOP for CF. If you think you have a firm handle on this, you might need to look more into real OOP Design Patterns, but its great for converting OOP over to ColdFusion concepts.

If you haven't read it, go pick it up, its only $5, like every other EBook on Packt Publishing Site right now.
If you have read it, go pick up a few others... and invest in your own skillset.

Happy New Year,

Gavin

Blog Search