Do you generate code? If so, what do you use and what do you generate? [closed]

Question!

I've used MyGeneration, and I love it for generating code that uses Data Access Applicaiton Blocks from Microsoft for my Data Access Layer, and keeping my database concepts in sync with the domain I am modeling. Although, it took a steeper than expected learning curve one weekend to make it productive.

I'm wondering what others are doing related to code generation.

http://www.mygenerationsoftware.com

http://www.codesmithtools.com/

Others?

Back in 2000, or so, the company I worked for used a product from Veritas Software (I believe it was) to model components and generate code that integrated components (dlls). I didn't get a lot of experience with it, but it seems that code generation has been the "holy grail" for a long time. Is it practical? How are others using it?

Thanks!

By : user16651


Answers

MyGeneration all the way!

MyGeneration is an extremely flexible template based code generator written in Microsoft.NET. MyGeneration is great at generating code for ORM architectures. The meta-data from your database is made available to the templates through the MyMeta API.

By : pdavis


For some time, I've used a home-grown script/template language for code generation. (I've used that languge mostly for no other reason than to find use for my little pet project)

Recently, I've created some SQL*PLUS scripts to create database access code (no Hibernate for us...)

By : ammoQ


This video can help you solving your question :)
By: admin