My second day at Tech-Ed has been pretty intense.
After the announcement of the expected release date for Visual Studio/SQL Server 2005 and BizTalk 2006 by the week starting Nov 7 in Paul Flessener’s keynote, I went to a fairly interesting session about code generation.
I’m not too sure I agree with all the implementation details exposed by the speaker, but it was definitely worth listening. The scenario involved creating a sophisticated façade on top of a big application written years before in C++.
The legacy application implemented a rather poorly written interface which included late bound calls and string concatenations. Building this façade involved creating a DSL (Domain Specific Language…just in case you live in another planet and you haven’t heard about it yet 🙂 and using it as a starting point for code generation.
The point was to use this approach with today’s technologies without having to wait for the sophisticated designers provided by, say, Visual Studio .NET 2005. So, he pretty much used XML schemas and WSDL files to define the language and operations and then used code generation tools (CodeSmith, XSD.exe and others) to generate assemblies, documentation etc. I found interesting that he used WSDL even if web services weren’t involved (effectively, you only need to replace the bindings).
In general, this year I found that there is a disproportional push for code generation, templates and DSLs. It kind of weird as these concepts are definitely not new.
I will write about the other past sessions later on today as I must run now.
Claudio,
Please blog if you hear anything at TechEd about C Omega
http://research.microsoft.com/Comega/
Thanks
Yes good idea because Eamon will need it for next INDA session 🙂 Also if you can get any materials (DVDS, posters, etc…) to bring back here and share with the community!
Stuff also about VSTS and SQL 2005
Sure, I will do my best. However I haven’t seen any session scheduled about C Omega unfortunately. I guess PDC is a better conference for this kind of information. Don’t worry Paschal, I’ll do my best to bring some material. Btw, I must remember to pay a visit to the INETA booth before the conference closes.