Geeks With Blogs

News QTP and Stuff
Theo Moore Questions... Morphology? Longevity? Incept dates?
I've been working on a CSLA project for grins, one I can mold, twist, and hack to my heart's content. I've been working on it in my "off" time for a couple of months now. I have rediscovered something for myself I have read many times:

CSLA screams for CodeGen.

Now, don't get me wrong. I like CSLA. It provides a standard approach in such a way that everyone on the project can speak intelligently about their feature and everyone else understands. We don't have 8 different approaches to very similar problems. The learning curve is a little steep, but it's a good trade off.

Initially, on the project I am consulting on, we were using some codegen tools. We were trying to achieve the ability to codegen classes from our DB tables that would compile right away, basically keeping the custom stuff in one part of the partial class, and the standard properties, factory methods, etc., in the designer portion.

Now that I have hand-coded several classes and got them working, I have changed my mind....again.....oy.

I've been experimenting with different codegen/template tools, but have yet to find something to suit me. Any suggestions? Posted on Tuesday, June 5, 2007 10:47 PM | Back to top

Comments on this post: CSLA: OMG, how it calls for codegen!

# re: CSLA: OMG, how it calls for codegen!
Requesting Gravatar...
Well it depends on your set of requirements. You could take a look at tools like CodeSmith, MyGeneration, LLBLGen and alike Active Code Generators.
Left by Gabriel Lozano-Moran on Jun 06, 2007 2:09 PM

# re: CSLA: OMG, how it calls for codegen!
Requesting Gravatar...
As you know, I'm a little biased towards velocity, but you might take a look at
Left by Todd Stout on Jun 06, 2007 9:52 PM

Comments have been closed on this topic.
Copyright © Theo Moore | Powered by: