<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>What Does a T4/Code Generation Harness Need to do?</title><link>http://msmvps.com/blogs/kathleen/archive/2009/03/08/what-does-a-t4-code-generation-harness-need-to-do.aspx</link><description>I&amp;#39;m struggling to get the AppVenture Community Edition Code Generation harness into release because I can&amp;#39;t figure out where the boundaries should be. I initially thought I could just reuse my old stuff in the area of data extraction and mapping</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>What’s Wrong with T4?</title><link>http://msmvps.com/blogs/kathleen/archive/2009/03/08/what-does-a-t4-code-generation-harness-need-to-do.aspx#1678731</link><pubDate>Tue, 17 Mar 2009 16:32:46 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1678731</guid><dc:creator>Leaning Into Windows</dc:creator><description>&lt;p&gt;First, hugs and kisses to the people at Microsoft that made the decision to include T4 in Visual Studio&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1678731" width="1" height="1"&gt;</description></item><item><title>re: What Does a T4/Code Generation Harness Need to do?</title><link>http://msmvps.com/blogs/kathleen/archive/2009/03/08/what-does-a-t4-code-generation-harness-need-to-do.aspx#1678147</link><pubDate>Sat, 14 Mar 2009 20:50:37 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1678147</guid><dc:creator>Kathleen</dc:creator><description>&lt;p&gt;The problems with a bullet list...&lt;/p&gt;
&lt;p&gt;Multi-UI means really multi-front end. The work goes on in a class library that you can attach to a GUI,a command line runner (for builds), embed in something else, or if someone has the energy make a VS addon. I won&amp;#39;t look at that until we get a stable 2010 CTP. &lt;/p&gt;
&lt;p&gt;Template focused generation - talk to me about what you mean by multiple input models. This is a fully composable system, so the template only knows the interface for the metadata. You can create it anyway you want. But the template also produces (via code and accessing the interface or T4 directives) the output file name, the properties/parameters it needs, and the assmeblies it wants to reference. That&amp;#39;s what I mean by template focused,although it may not be a good term. Is that what you want?&lt;/p&gt;
&lt;p&gt;In myObject.Generate(... What type is MyObject?&lt;/p&gt;
&lt;p&gt;My bits are so unstable and dynamic that I&amp;#39;m not crazy about sending them, but you can ping me vi aemail if you really want them. I did a lot of stabilization today so am much closer. &lt;/p&gt;
&lt;p&gt;Kathleen &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1678147" width="1" height="1"&gt;</description></item><item><title>re: What Does a T4/Code Generation Harness Need to do?</title><link>http://msmvps.com/blogs/kathleen/archive/2009/03/08/what-does-a-t4-code-generation-harness-need-to-do.aspx#1677921</link><pubDate>Fri, 13 Mar 2009 21:31:36 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1677921</guid><dc:creator>Lars Corneliussen</dc:creator><description>&lt;p&gt;Have you looked at MyMeta? It retrieves tons of metadata for tons of database vendors. Its part of MyGeneration and open source.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.delarou.net/weblog/PermaLink,guid,fd29652d-0beb-4bca-bfab-f1ae85a98099.aspx"&gt;www.delarou.net/.../PermaLink,guid,fd29652d-0beb-4bca-bfab-f1ae85a98099.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I worked with MyGeneration once and also used MyMeta. Was great!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1677921" width="1" height="1"&gt;</description></item><item><title>micro codegen vs. nothing or all</title><link>http://msmvps.com/blogs/kathleen/archive/2009/03/08/what-does-a-t4-code-generation-harness-need-to-do.aspx#1677917</link><pubDate>Fri, 13 Mar 2009 20:28:52 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1677917</guid><dc:creator>Lars Corneliussen</dc:creator><description>&lt;p&gt;Hi Eric,&lt;/p&gt;
&lt;p&gt;theese two approaches are totally different. In one way, code-generation-nothing-or-all should be called compilation. That is what it is about.&lt;/p&gt;
&lt;p&gt;Micro code generation is about design-time tools.&lt;/p&gt;
&lt;p&gt;cheers,&lt;/p&gt;
&lt;p&gt;Lars&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1677917" width="1" height="1"&gt;</description></item><item><title>re: What Does a T4/Code Generation Harness Need to do?</title><link>http://msmvps.com/blogs/kathleen/archive/2009/03/08/what-does-a-t4-code-generation-harness-need-to-do.aspx#1677915</link><pubDate>Fri, 13 Mar 2009 20:25:53 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1677915</guid><dc:creator>Lars Corneliussen</dc:creator><description>&lt;p&gt;Hi Kathleen,&lt;/p&gt;
&lt;p&gt;i finally got some minutes to discuss T4 Code Gen here. Just downloaded your T4-Host. Great stuff. Thats what people need. string in, string out. As with xsl :-)&lt;/p&gt;
&lt;p&gt;What does Multi-UI mean? &lt;/p&gt;
&lt;p&gt;I see an issue with &amp;quot;Template focused generation&amp;quot;. Sure templates know stuff. But often you&amp;#39;ve got several input models that want to be rendered with the same template. Would the template discover the inputs?&lt;/p&gt;
&lt;p&gt;How does the multi-file-generation work? Calls within the templates?&lt;/p&gt;
&lt;p&gt;One place where code generation is used ALL THE TIME is, when generating web pages. I think the way they handle URLs and links (same as file- and classnames, right?) could give some nice hints.&lt;/p&gt;
&lt;p&gt;[Firefox crashed here, but recovered my text. puhh]&lt;/p&gt;
&lt;p&gt;Another issue i have been thinking of is using extension methods for generating code for specific metadata.&lt;/p&gt;
&lt;p&gt;myObject.Generate(&amp;quot;mytemplate.t4&amp;quot;);&lt;/p&gt;
&lt;p&gt;With C#4 even myObject.GenerateMyTemplate() :-) This would let you organize your templates in a kind-of object-oriented way.&lt;/p&gt;
&lt;p&gt;Polimorphic Templates: Sorry. Just hacking down lots of ideas ;-) A template mytemplate.t4 for any object could be overriden by MyMetaDataTypeName.mytemplate.t4. myObject.Generate(&amp;quot;mytemplate.t4&amp;quot;) would still just figure it out.&lt;/p&gt;
&lt;p&gt;I gotta stop :-)&lt;/p&gt;
&lt;p&gt;Is there a chance to get the bits prior to your release?&lt;/p&gt;
&lt;p&gt;I couldn&amp;#39;t find a GenDotNet CTP anyware. Is this the same as the T4Host on AppVenture? Ore am I just to confused?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1677915" width="1" height="1"&gt;</description></item><item><title>re: What Does a T4/Code Generation Harness Need to do?</title><link>http://msmvps.com/blogs/kathleen/archive/2009/03/08/what-does-a-t4-code-generation-harness-need-to-do.aspx#1677368</link><pubDate>Tue, 10 Mar 2009 20:44:04 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1677368</guid><dc:creator>Eric Hexter</dc:creator><description>&lt;p&gt;I would like to see a meta data service that can run against the code files.ie EnvDTE.CodeType arguments from within Visual Studio. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would also like to see support from micro code generation. Like smaller design time generation rather than a huge build time generate all or nothing process.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1677368" width="1" height="1"&gt;</description></item></channel></rss>