Note that there are some explanatory texts on larger screens.

plurals
  1. POT4 vs CodeDom vs Oslo
    text
    copied!<p>In an application scaffolding project on which I'm working, I'm trying to decide whether to use <a href="http://msdn.microsoft.com/en-us/oslo/default.aspx" rel="nofollow noreferrer">Oslo</a>, <a href="http://www.olegsych.com/2007/12/text-template-transformation-toolkit/" rel="nofollow noreferrer">T4</a> or <a href="http://msdn.microsoft.com/en-us/library/y2k85ax6.aspx" rel="nofollow noreferrer">CodeDom</a> for generating code. Our goals are to keep dependencies to a minimum and drive code generation for a domain driven design from user stories. The first step will be to create the tests from the user stories, but we want the domain experts to be able to write their stories in a variety of different media (e.g. custom app, Word, etc.) and still generate the tests from the stories.</p> <p>What I know so far:</p> <ol> <li>CodeDom requires .NET but can only output .NET class files (e.g. .cs, .vb). Level of difficulty is fairly high.</li> <li>T4 requires CodeDom and VS Standard+. Level of difficulty is fairly reasonable, especially with the <a href="http://www.codeplex.com/t4toolbox" rel="nofollow noreferrer">T4 Toolbox</a>.</li> <li>Oslo is very new. I have no idea of the dependencies, but I imagine you must be on at least .NET 3.5. I'm also not certain as to the code generation abilities or the complexity for adding new grammars. However, domain experts could probably write user stories in Intellipad quite easily. Also not sure about ease of converting stories in Word to an MGrammar.</li> </ol> <p>What are your thoughts, experiences, etc. with any of the above tools. We want to stick with Microsoft or open source tools.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload