Frans Bouma's blog

Generator.CreateCoolTool();

Syndication

News

    Visit LLBLGen Pro's website

    Follow FransBouma on Twitter

    Add to Technorati Favorites

About me

Fun stuff I created

My work

Template Studio for LLBLGen Pro released!

Today we released Template Studio, a full-featured IDE for creating / editing / testing templates for LLBLGen Pro. Template Studio is free for our customers and therefore one of the benefits if you decide to join the largest O/R mapper-family for .NET!

Below you'll find 3 screenshots. Clicking them will bring up the 1600x1200 version.

The main screen
The main screen shows you the multiple-document IDE with at the left a loaded LLBLGen Pro project. In the center you'll see multiple templates loaded, using TDL (our own template language) at the top and C# at the bottom. Furthermore you see an example of the intellisense build in for C# and VB.NET. At the left you see the viewer with the currently loaded templateset and all the templates defined in that templateset.

Compiler feedback
This screenshot shows you the compiler feedback. TDL templates are interpreted but C#/VB.NET templates are compiled into an assembly which is then executed to produce the output. As you can see the template at the bottom has an error, which is listed in the Application Output window at the bottom. Double-clicking that error will bring you to the C# code generated from the templates (which is not the output, but the actual code which is executed to produce the output) and the error found is visualized with a red line, similar to the ones we're all familiar with from VS.NET.

Run single task configuration screen
The code generator engine of LLBLGen Pro is build around tasks: a nested set of tasks is executed and each task can produce code or perform a code-generation supporting task like creating a directory, checking out code, compiling assemblies etc. etc. This powerful engine is directly integrated in Template Studio so testing a template is a breeze. This screenshot shows the configuration screen to run a single task. You can select one of your favorite tasks or setup a new one, for example based on one of the many pre-defined tasks in the list.

Template Studio is free for LLBLGen Pro customers and is created using Janus Systems' .NET Windows Forms controls v2.0

Published Monday, January 03, 2005 6:06 PM by FransBouma

Filed under:

Comments

# LLBLGen Pro Template Studio - Free IDE for Creating Editing Testing Templates for LLBLGen Pro@ Monday, January 03, 2005 6:44 AM

TrackBack

# re: Template Studio for LLBLGen Pro released!@ Monday, January 03, 2005 12:36 PM

Looks awesome Frans. Looks like a lot of work went into creating the Template Studio.

If you don't mind my asking, how did you get intellisense to work? Is that homegrown or did you buy a third party control?

Sahil Malik

# re: Template Studio for LLBLGen Pro released!@ Monday, January 03, 2005 12:55 PM

Sahil: I used ActiproSoftware's SyntaxEditor which has a powerfull language parser and features to enable intellisense as long as you supply the types. Traversing types was a bit difficult and it doesn't work on locally declared types (as that would require per-line C# compilation of the complete file which is kind of slow and has a lot of scope issues as well) but in the end it turned out ok, as the project object graph can now be traversed in intellisense. I simply hop each traversed property/method and check the returned type using reflection and go from there with the next fragment in teh complete x.y.z.foo().. declaration :)

Frans Bouma

# re: Template Studio for LLBLGen Pro released!@ Monday, January 03, 2005 2:41 PM

Thanks Frans.

Sahil Malik

# re: Template Studio for LLBLGen Pro released!@ Monday, January 03, 2005 3:33 PM

Congrats Frans, we (me, but I am sure Wilco won't be able to resist) will take a look at it at Variomatic.

Olle de Zwart

# re: Template Studio for LLBLGen Pro released!@ Monday, January 03, 2005 5:38 PM

Whoa Frans, that looks really slick! How is it like working with the Janus controls compared to the Infragistics ones?

Martijn Boland

# New customizable version of BlogThisUsingPostXINGPlugin available@ Tuesday, January 04, 2005 11:46 AM

TrackBack

# New customizable version of BlogThisUsingPostXINGPlugin available@ Tuesday, January 04, 2005 11:46 AM

TrackBack

# re: Template Studio for LLBLGen Pro released!@ Tuesday, January 04, 2005 11:54 AM

Martijn: well, if you've used Janus' controls, you don't want to work with infragistics' controls. I think that sums it up :)

Thanks Olle! :)

Frans Bouma

# re: Template Studio for LLBLGen Pro released!@ Tuesday, January 04, 2005 4:11 PM

Congrats Frans! Still haven't convinced the new employer to purchase LLBLGen yet, but hopefully soon.

Chris Bower