views:

187

answers:

5

I'm using an in-house code generator in which we supply all the metadata regarding our objects, and it generates our database, and object model including validation logic. Once we load all the data in the database, we use classic ASP <% %> to build our templates. I would like to know what open-source frameworks similar to this that are out there.

Thanks!

+1  A: 

Check out Star UML it's open source and has some decent code generation capabilities.

I'd also look into Eclipse Plug-in options, I'm sure they're available I just haven't worked with any.

cmsjr
+2  A: 

Have you looked at mygeneration? It's not exactly open source but it's free, and the scripts are totally open. The most common usage is to generate the data layer given a database schema, but you can be more creative than that.

Cristian Libardo
+1  A: 

There's also Cog, which allows you to run Python scripts inside of source files. The included Cog module allows printing into the file that it's currently working on. Cog is licensed under MIT.

Cristián Romo
i like the way cog works to generate code.. but I could not get it to work.. it needs some module called 'path' which unfortunately am not able to find. Could you help me with setting up this cog machine... I'd really love to have it up my sleeve :)
Shrikant Sharat
+1  A: 

MyGeneration Code Generator is now Open Source.

1.01pm
+2  A: 

You can also check openArchitectureWare (http://www.openarchitectureware.org/) which is Eclipse-based.

Rui Curado