Archive for May, 2008

Code Documentation

Saturday, May 24th, 2008

I recently finished a campaign site for Starbucks in order to promote the Starbucks brand of coffee available in grocery stores. The address is www.starbuckscoffeeathome.com. It was a very pleasant project to work on, but it was also quite fast paced. The project also remained in a state of high flux until launch. These two aspects combined made it nearly impossible to keep accurate comments on my code. So, after this project was complete I decided to re-write my UML for it based on the way it ended up (rather than the way I originally designed it). After doing so I’ve come to believe this serves as better and more digestible documentation for a developer than most inline commenting. Thats not to say it would completely replace code commenting, but I feel as though its more useful for another developer to see in order to get a grasp on how a body of code works. For this diagram I didn’t have the right tools available to me immediately so I used what I had (which was Adobe Illustrator). This required a greater investment of time, but the time consumed was likely on par with the amount of time required to produce sufficient written documention. For most practical situations, a simple sketch would suffice. Have a look at the diagram (and submit your critiques if you like).

Download the Starbucks basic class UML (PDF).

I’ve also conducted a certain amount of performance profiling that I will write up in the near future.

IA Design Patterns

Monday, May 19th, 2008

Introduction to Flex Resource Bundles

Friday, May 9th, 2008

KitchenSync 1.2 released – Shiny new naming convention

Saturday, May 3rd, 2008

Welcome Caleb Johnston

Thursday, May 1st, 2008

Pixel Shading and Adobe AIF

Thursday, May 1st, 2008

Hilarious frozen micro-atx mod

Thursday, May 1st, 2008