The TryThis method

The more I learn and use dynamic languages like JavaScript and Ruby, the more I feel the constraints placed on me by the C# compiler.  Today I needed to wrap a bunch of calls to a web service facade in … Continue reading 

Posted in c# | 11 Comments

Wiring Up Generics In Castle Windsor

I’m working with a new team that has a slightly different technology stack then I’m used to.  On most projects where I am the team lead, StructureMap is my IOC container of choice.  I’ve always thought that this was just … Continue reading 

Posted in Castle, IOC | 6 Comments

Demeter Helps You Fend Off the One True Constant: Change

There have been some good discussion lately around the Law of Demeter.  The worst thing about Law of Demeter is that it has the word “Law” in it.  Like all of the SOLID principles, it should be considered a rule … Continue reading 

Posted in Law of Demeter, Software Design, SOLID | 8 Comments

Giving Your MVC Views an Identity

One of the great CSS tips I got from Zen of CSS was to put an id on the body tag of your html pages.  This makes it really easy to use one CSS file for your entire site (a … Continue reading 

Posted in CSS, MVC | 8 Comments

Programming Basics: The for loop can do more than increment an integer

This is one of those small things that is easy to forget.  Usually when we use a for loop, we’ll just incrment over an integer so that we can get a specific item out of some iteration.  But you can … Continue reading 

Posted in Uncategorized | 2 Comments

Ruby and Rake as an executable

I’ve been trying for months to get my partner in crime, Stephen Balkum, to switch to Rake as our default build system.  We’ve been using Nant FOREVER and while it works, I really hate writing Nant scripts. The problem Stephen … Continue reading 

Posted in Uncategorized | 6 Comments

Austin Code Camp Schedule

Several people have already mentioned some of the sessions at this year’s Austin Code Camp. We’ve posted the schedule for people to view.  We may move some around depending on how the voting goes to make sure there is adequate … Continue reading 

Posted in Uncategorized | Leave a comment

Submit Your Austin Code Camp Sessions Now

The deadline for submitting session is April 19.  If you want to speak at this year’s code camp, better hurry up.  We have about 27 sessions submitted so far, most of them 2 hours in length.  Also remember, I don’t … Continue reading 

Posted in Uncategorized | Leave a comment

Building Maintainable Web Applications Training Course

I am conducting a two day training workshop on Building Maintainable Web Applications.  It will be here in Austin TX June 8-9. The foundational philosophy I and my consulting company believe is that creating applications that are maintainable starts with … Continue reading 

Posted in Uncategorized | Leave a comment

Resharper templates: Don’t forget the Macros

I use Resharper templates (among other features) on a daily basis.  Most of them create very small pieces of code that I use VERY frequently.  For instance, I have a set of templates that help me build out my test … Continue reading 

Posted in resharper | 1 Comment