Months Archive January 2007

 
 

When in doubt

Seems as though it’s a week of re-introductions in the Coldfusion community. After Tim’s post I’d estimate I’ve read at least 10 other such descriptions. Sounds like as good a time as any to do the same!

  • 24 years old
  • I live with Marilyn, my girlfriend of 11 months.
  • Drive a Red 2002 Mini Cooper S with a white top that seems to need servicing every other month.
  • Bought a house here in Orlando last July and have only decorated with furniture from my moms old house.
  • I loved macs until I was in 10th grade and started programming, where I switched to actually using computers for programming. I’ve been a Windows person as long as I can remember, and currently run Server 2003.
  • I go to the movies often, and watch a lot of foreign movies, usually from HK, South Korea and Japan. With Universal Citywalk and Downtown Disney not too far off, not to mention the renown Enzian Theater there’s a lot of great places to see movies in Orlando.
  • 24, Battlestar Galactica, Heroes, Lost, Gilmore Girls (gf got me into it!), Smallville and Beauty and the Geek aren’t left on the DVR for longer than a day
  • I love Ultimate Frisbee, skiing, and running, although I haven’t been doing much of any of those recently.
  • As for food, I love sushi, indian food and anything exotic. If I’ve never tried something I’m much more likely to order it.
  • According to Last.fm, I’m a fan of the Magnetic Fields, Beatles, Tom Lehrer, The Sounds, Death Cab for Cutie, Ben Folds, The White Stripes and just about any musical you can find.
  • I usually stay away from YouTube — i think my laziness to find a sound driver for my laptop plays some small part in that. I spend my time sucked into Digg and monitoring my endless inflow of news via RSS instead.

Book 3: Head First Design Patterns

Just a disclaimer for this book review. You might notice that all the reviews for books I’ve done this year have relatively high ratings. There’s a reason for this! The books I’m starting with this year are ones that I’ve been wanting to read or finish for a while and are at the top of my reading list.

Head First Design Patterns

Your Brain on Design Patterms

If you’ve had a hard time learning design patterns you’re not alone. Since 1995 when the Gang of Four coined the term nothing else in the programming world has caused more headaches. Although the ideas presented were groundbreaking, many people were left in the dark by the technical writing, not being quite sure how to implement the the depth of knowledge within.

The Head First series is unlike any other programming books you’ve ever read. Rather than paragraph after paragraph of text, this series uses images, conversation, questions, diagrams, emotions and much more to get the users attention and keep it. There isn’t a page in the entire book of plain text. Java is used for code examples throughout the book, starting at the most basic syntax and expanding on it. In addition to learning patterns, you get a basic understanding of Java here as well. In order to throttle the flow of knowledge in both cases, code is always limited to a single page, and always with comments written on the side rather than the typical //inline comments. They stand out much more because of this, making the meaning and the code itself read by different parts of your brain. The end result of all this is that instead of just throwing out a load of design patterns and possibly remembering one or two, but to learn everything possible.

Does it work? That will depend on how this book is read. Throughout the book there are exercises, so have a pencil handy. These could be coding simple classes, uml like designs, mapping vocabulary to definition or even crossword puzzles. These are very well paced to where if you’re reading and taking in the book you’ll be able to do these without a problem.

Although chapters bounce around between stimuli, the book is well structured. Each design pattern has it’s own chapter (occasionally two patterns will share a chapter). It begins with some problem and works it up to the point where there is a possible solution, although not the best one. At this point it asks the reader “can you think of a better way” in some form, and proceeds to shows how the pattern of that chapter could help out. Sometimes it’ll do this twice in chapter, giving multiple routes to learning the same information.

After 11 chapters of patterns we take a turn to patterns of patterns. This is a quick way of throwing everything leaned up until this point together in one super application. Although it isn’t a real world situation, its a great brush up on all the patterns before going into the famous Model-View-Controller pattern. In the past when shown what MVC is it’s always been presented to me as Model = Business Logic, V = all display, C = single point of contact for code. Head First takes a different approach by explaining what design patterns make up Model View Controller. They do so for both a simple Java application and a jsp webpage, which translates to just about any other web programming medium. They even have a MVC song!

Overall I’ve been pleasantly impressed by this one. There were days reading it when I simply couldn’t put it down. I’d heard strong recommendations from the Helms and Peters podcast, the What’s on your bookshelf segment in Fusion Authority Fall 2006 and Peter Bell. I’ll agree with them all and say this is a powerful book. They do go into the upsides and the downsides of using patterns, repeatedly stating how patterns are not a “solution”, merely a means to an end and that the easiest solution to a problem should be the one taken. If you’re interested in learning some design patterns, this is a great place to start!

My rating: 5.0 stars
*****

CFEclipse 1.3 Released

For those that haven’t heard, CFEclipse 1.3 was released today, putting a rest to the seemingly endless taunting. For those unfamiliar with CFEclipse, or Eclipse in general, it’s an IDE for programming that can replace Dreamweaver, Homesite, Notepad or whatever you use to code. It’s focus is on projects rather than editing single files, which is does wonderfully. It took some getting used to to make the jump from Dreamweaver to Eclipse, but it’s a great step forward in what it allows you to do. Using Subversion and Eclipse creates an environment that can scale to any number of developers while staying easily manageable. I haven’t had a chance to check out the latest version, but I’m looking forward to trying out the new CFUnit Eclipse Integration.