We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
| Weblog: |
|
Code Generation: Another Justification
|
| Subject: |
|
code generation success story |
| Date: |
|
2002-11-07 12:35:29 |
| From: |
|
anonymous2
|
|
|
|
I'm wrapping up an app now for which we built custom code generators using XML metadata (also generated, from the previous version of the app) as the source, the XML DOM to generate XHTML, the .Net CodeDOM to generate C# codebehind classes, and a custom tool to generate SQL stored procs (using the XML metadata and SQLDMO for db model sanity checking). This is a very fast method of building lots of pages (~600 pages, ~2000 stored procs, and ~15000 individual fields). Just wish we had built in more round-trip features, because the specs were a moving target during most of development (big surprise).
The main point is that project managers should listen to their code monkeys on the point of code generation and let them invest more time in tools like these. It can result in a very clean, lean, and standardized app in a much shorter time.
|