December 2007


Karl’s back with part 4 of the series. Today we learn all about the evils of coupling and we’re introduced to Dependency Injection – the slayer of improper coupling.  Proper use of DI allows for cleaner separation of responsibilities which, in turn, creates more resilient and less brittle code. Most importantly it makes unit testing much easier.  You are writing unit tests for your code, aren’t you?

Share this post: digg it | Email it |

Advertisements

Part 3 of Karl Seguin’s Foundations of Programming series is now online. This time it’s all about persistence, mapping between object graphs and relational databases (O/R Mapping), and impedance mismatch.  Read, learn, and never again get bogged down in stored procedure-based hell!

Share this post: digg it | Email it |

This tip comes courtesy of the .NET Tip of the Day site.

If you work with Visual Studio for ASP.NET projects, chances are you’re intimately familiar with the behavior of Solution Explorer – specifically the fact that it opens webforms in design mode when you double click on an aspx file.

If you prefer instead to see the code by default go to Tools -> Options, then HTML Designer.  Change the selections for the types you want to modify and have fun coding!

Share this post: digg it | Email it |

A thousand of ’em.  Great quality.  Free to use.  All you have to do is credit the source.

Share this post: digg it | Email it |