Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code Generation and Mere Mortals Fwk
Message
De
20/06/2009 03:08:25
Angel Lopez
Ajlopez Software
Argentine
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01407288
Message ID:
01407360
Vues:
78
Hi people!

Chris: Yes, I know and use the templates and the business object code generation wizard.

My code generation tasks and templates, are using an abstract model, and after reading that, generates a complete solution (business objects, partial classes, win form project, store procedures, database creation scripts) a la Mere Mortals. I'll write a blog post explaning this process in detail. Actually, you can see the work at

http://ajgenesis.codeplex.com/sourcecontrol/changeset/view/55041?projectName=ajgenesis
examples/MereMortalsExamples

and using the bin release 0.5 of AjGenesis, run from that folder:

GenerateProject.cmd AjFirstExample VbNet3

(in other examples, the same model and others, are used to generate PHP/MySql, Java/JSP/Hibernate, NHibernate, VB2, C#2/3, Linq, some WCF.... solutions)

In my team, in current project, we are using other tasks and templates, that read directly the MS Sql Server database (instead of an abstract model), loads metadata (with some validation simple rules, parent/child relations, legends to use in UI...), generates a complete Web solution, with business objects, validations, rules, stored procedures, etc... And if the database changes, we can regenerate the solution, without losing the partial classes and other text artifacts that were modified manually. And we extends the business objects with more behavior, automatically generated. We are building parent/child(ren) web pages, security, etc....

Any other code generation work published for Mere Mortals? I didn't check My Generation Software template library, yet.

Angel "Java" Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform