SlideShare a Scribd company logo
T4
OvertureLevel 01-01-02InteractiveOn the MenuWhat it is?DemoAlternativesLearning’s
T4 is NOT and of theseYou may feel like Skynet was built with T4 sometimes
TLAWhat does T4 stand for?Text Template Transformation ToolkitThree Two Letter Acronym
Why do we need it?Cause developers are expensive and Xbox games are fun
HistorySomething is missing here…
A word of warning…Out of the box tooling DOES NOT EXISTIt’s notepad + command line basically3rd parties can make the pain go awayI use the free stuff from Tangible & T4 ToolboxYou will too, accept that and move on
Is this thing used?ASP.MVC uses T4 templates for views and controllersDSL tools in VS 2010 use itBizTalkArchitecture Tools3rd Party uses like LINQ to SQL replacement
High Level PlanXAMLCSVTemplateCodeOutputT4 toolkit.NET FrameworkC#HTMLVB
Demoslike the moon landing Demos take lots of preparation, learning new skills and mostly faking it
What haven’t you seen?Build integrationPre-processed Templates
AlternativesCodeDOMPart of .NETUsed internally by T4More powerfulHarder to learnIdeally for language scenarios
AlternativesCodeSmithThird Party$$$More rugged tooling, debugging features
AlternativesNVelocityPort of Java’s Jakata VelocityFreeWildly different syntax
AlternativesHire a monkeyMaybe this is why you were hired…
Help?
Learning'sSearch for T4AND Visual Studio Text Template Use the Tangible T4 editorUse the T4 ToolkitMake use of scratch applications in prototypingFor use within Visual Studio
Questionsrobertm@bbd.co.zawww.sadev.co.za@rmaclean

More Related Content

T4 Templates