Ben Griswold on June 9th, 2008

Over the weekend, I found myself doing a lot of grunt work creating more than my fair share of data transfer objects which, for me, are nothing more than custom collections which contain very simple objects exposing public properties.  Simple, but cumbersome enough that I wanted to generate the classes.
I have been working with SubSonic [...]

Continue reading about Custom Templates with SubSonic

Ben Griswold on June 2nd, 2008

I very recently posted about using SubSonic to generate my DAL and SSMS Tool Pack to generate the complementing stored procedures.  In response to the post, Jon Galloway asked a great question in the comments:
Thanks for the pointer to SSMS Tool Packs. It looks really interesting. One thing I’m having trouble picturing is the overlap [...]

Continue reading about Code Generation with Stored Procedures?

Ben Griswold on May 21st, 2008

Today I woke up feeling uneasy about the direction of my current project.  For all intents and purposes, I am taking an existing system which was pieced together by a couple of past developers and extending it. I’m not saying the code I  inherited was a disaster but I am not going to publicly praise [...]

Continue reading about SubSonic and SSMS Tools Pack Saved The Day

Ben Griswold on November 5th, 2006

Last month, I wrote Manual Code Generation, an article which shared, in my view, the pros and the cons of code generators.  In this same article, I took sides and expressed that “I am not a fan of code generation.”  My stance came as no surprise to some — particularly my buddy (read archenemy) Jon Galloway.  We’ve gone back [...]

Continue reading about SubSonic - Another Look at Code Generation

Ben Griswold on October 16th, 2006

Code generation is not a new concept. It has been around since the first lazy, err, smart coder realized that Hello World was the foundation of Hello World Too. I’m sure they figured they had written the code twice already and the third iteration is undoubtedly around the corner so they felt somewhat obligated to [...]

Continue reading about Manual Code Generation