<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Metalevel &#187; Code Generation</title>
	<atom:link href="http://pjmolina.com/metalevel/tag/code-generation/feed/" rel="self" type="application/rss+xml" />
	<link>http://pjmolina.com/metalevel</link>
	<description>Abstraction based levitation</description>
	<lastBuildDate>Mon, 30 Apr 2012 06:55:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>CG2012 Summary, day 3</title>
		<link>http://pjmolina.com/metalevel/2012/04/cg2012-summary-day-3/</link>
		<comments>http://pjmolina.com/metalevel/2012/04/cg2012-summary-day-3/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 06:42:26 +0000</pubDate>
		<dc:creator>Pedro J. Molina</dc:creator>
				<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[MDD]]></category>
		<category><![CDATA[cg2012]]></category>
		<category><![CDATA[mde]]></category>
		<category><![CDATA[mdsd]]></category>

		<guid isPermaLink="false">http://pjmolina.com/metalevel/?p=852</guid>
		<description><![CDATA[CG2012 Summary, (part III) This is the last post in my series of summaries of the Code Generation 2012 conference. After having reviewed the LWC day and days one and two, this third and last day concludes my personal report. Some of you will remember my intense tweeting in such days under the hashtag #cg2012, [...]]]></description>
			<content:encoded><![CDATA[<h1 dir="ltr">CG2012 Summary, (part III)</h1>
<p>This is the last post in my series of summaries of the Code Generation 2012 conference. After having reviewed the <a title="LWC2012 summary" href="http://pjmolina.com/metalevel/2012/04/summary-language-workbenches-challenge-2012/">LWC day</a> and days <a title="CG2012 summary day 1" href="http://pjmolina.com/metalevel/2012/04/cg2012-summary-day-1/">one</a> and <a title="CG2012 summary day 2" href="http://pjmolina.com/metalevel/2012/04/cg2012-summary-day-2/">two</a>, this third and last day concludes my personal report. Some of you will remember my intense tweeting in such days under the hashtag #cg2012, but I had a good reason: such tweets help me document the event and log the activities, which actually makes the process of writing these summaries possible. So, let’s stop meta-posting and dive into the content of the day D.</p>
<h2>Friday 30th, day 3</h2>
<p>The last day of the conference started with the keynote <a href="http://t.co/s19ApZG5">“Speed and Innovation through Architecture”</a> by Jan Bosch (<a href="https://twitter.com/#!/JanBosch">@JanBosch</a>). This was very provocative in that it addressed MDSD and Software Architecture within the context of innovation in industrial contexts and presented it from a business perspective: opposite but complementary to the technical content that usually drives a CG session. Jan supported his talk with examples drawn from Nokia, Siemens, and other companies he is either currently working with or worked with prior to his current academic position.<strong><strong></strong></strong></p>
<p>Some of the pearls (argued by the audience in twitter latter) in his talk were:</p>
<ul>
<li>The market is moving from products to services</li>
<li>The need for the speed: R&amp;D departments should have very short innovation cycles. Speed is the primary feature to achieve. (Time to Market)</li>
<li>Moving faster: no efficiency improvement will outperform cycle time reduction.</li>
<li>Traditional SW development does not scale. We need to change the way we create SW.</li>
<li>Amazon releases new software every 11 seconds&#8230;</li>
<li>R&amp;D as an Experiment System</li>
<li>Decisions should be based on DATA, not opinions</li>
<li>Learning: the company running the most experiments against the lowest cost per experiment wins</li>
<li>There are things you can&#8217;t predict until you perform tests</li>
<li>Lean and Agile as Scale: as a dancing elephant (see the photo in the slides)</li>
</ul>
<p><strong><strong><br />
Some tweets reactions about it:</strong></strong></p>
<ul>
<li>@delphinocons: Reducing dev. cycle time is 10x more beneficial than improving dev. efficiency I can see him build the case for MD(S)D from here. #cg2012</li>
<li>@tvdstorm: No more heavy process. This is going the way of the dinosaurs. @JanBosch #cg2012</li>
<li>@stevekmcc: @JanBosch 10% more revenue vs. 10% less dev costs (&#8220;efficiency&#8221;) assumes rest of org has zero incremental cost &amp; demand is infinite #cg2012</li>
<li>@delphinocons Amazon releases new software every 11 seconds&#8230; wow. @JanBosch @ #cg2012</li>
<li>@pmolinam  &#8221;Learning: the company running the most experiments against the lowest cost per experiment wins&#8221; @janbosch #cg2012 #innovation &#8211;&gt; Google</li>
<li>@tvdstorm: @JanBosch&#8217;s keynote: crowd sourcing the scientific method at a very high speed. Continuous integration -&gt; deployment -&gt; AB testing. #cg2012</li>
<li>@pmolinam Arquitecture goals accordingly to @janbosch Simplify, Decoupling, Lean and agile at scale, End to end quality, fight design erosion #cg2012</li>
<li>@pmolinam &#8220;Interconnected teams and organizations asymptotically reduce productivity to zero&#8221; -&gt; Twitter? @janbosch #cg2012 #innovation</li>
<li>@pmolinam Decoupling: NO versions! only the deployed one! @janbosch #cg2012 #innovation &lt;- Hard to achieve out of the web</li>
<li>@pmolinam Very great keynote! by @janbosch #cg2012 #innovation very inspiring and totally on-topic.</li>
<li>Great slide @janbosch #cg2012 implication <a href="http://t.co/OBiSKfjZ">http://t.co/OBiSKfjZ</a></li>
<li>@MarkDalgarno: Every engineer at @intuit spends at least 1 day a year with a consumer seeing how their products are used in practice. @janbosch at #cg2012</li>
</ul>
<p>As commented, this was a great keynote with respect to rethinking the role of MDSD within business organizations and how MDSD is still a great and undiscovered lever to drive innovation inside a company from within the IT and R&amp;D departments. Dear CIOs, take note.</p>
<p>After the keynote, time for a quick coffee and I move quickly to prepare my session on <a href="http://www.codegeneration.net/cg2012/sessioninfo.php?session=42">“Multichannel User Interfaces”</a></p>
<div id="__ss_12255211" style="width: 425px;">
<p><strong style="display: block; margin: 12px 0 4px;"><a title="Multichannel User Interfaces" href="http://www.slideshare.net/icinetic/multichannel-user-interfaces-12255211" target="_blank">Multichannel User Interfaces</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/12255211" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="425" height="355"></iframe></p>
<div style="padding: 5px 0 12px;">View more <a href="http://www.slideshare.net/" target="_blank">presentations</a> from <a href="http://www.slideshare.net/icinetic" target="_blank">Icinetic</a></div>
</div>
<p>In this session, I presented some issues we are working on at Icinetic. When developing a new service or product, UIs are expensive to develop if you have to offer the service in the leading edge mobile platform. The market is fragmented and thus provides several competing platforms and technologies with which to build a UI: XAML/C#, JavaFX/Java, Android, Objective-C/Cocoa, HTML5/Javascript with a JS framework, etc. The technology is changing quite fast and there is an open war to determine who will dominate the mobility space. Developing for any platform’s target UI technologies is neither cheap nor maintainable; is well: they don’t scale. It is in this context where Modeling device independent User Interfaces makes complete sense for business software. I demonstrated one of the prototypes we are building &#8212; called Oz UI &#8212; which utilizes my work on conceptual user interface patterns and is able to declaratively specify and prototype the UI then generate an implementation based upon any of a set of different widget technologies.</p>
<p>I got a very good feedback from the audience and feel that there is space for creating new tools in this domain that further alleviate the effort required by developers to work within the plumbing present in every development framework.</p>
<p>After the session and with the feeling of work completed, it was time for lunch and relaxation.</p>
<p>My last technical session was: <a href="http://www.codegeneration.net/cg2012/sessioninfo.php?session=34">tercnoC xatnyS srettaM</a> (Concrete Syntax Matters) by <a href="http://www.metacase.com/blogs/stevek/blogView">Steven Kelly</a>. The superbly selected title speaks for itself: when designing a new language there are many considerations to be taken into account in order to make the language pleasant for your users. Usability, concreteness, unambiguity, homogeneity, human perception of colors, forms and text are all relevant when addressing the design of a new language. The success of your language &#8212; measured in number of users &#8212; will be influenced greatly by these choices. See <a href="https://twitter.com/#!/pmolinam/status/185699584192954369/photo/1">Steven in action</a>.</p>
<p>Following our last coffee/orange-juice break, we all moved to the closing session: a panel discussion on <a href="http://www.codegeneration.net/cg2012/sessioninfo.php?session=56">“Code Generation &#8211; how far have we come in 5 years?”</a>, lead by <a href="http://homepage.ntlworld.com/ajwatson/">Andrew Watson</a>, who introduced the topic and the panelists: <a href="http://www.wimbast.nl/">Wim Bast</a>, <a href="http://www.metacase.com/blogs/stevek/blogView">Steven Kelly</a>, <a href="https://twitter.com/#!/dariussilingas">Darius Silingas</a>, and <a href="https://twitter.com/#!/markusvoelter">Markus Völter</a>.</p>
<p>Some ideas that were discussed:</p>
<ul>
<li>MDSD Commoditization</li>
<li>Moving from a technical discourse to the necessary business discourse</li>
<li>The complexity of SW is ever growing; MDSD helps manage the complexity</li>
</ul>
<p>Some interesting tweets about the panel supporting it:</p>
<ul>
<li>@lmontrieux: Final panel session begins at code generation #cg2012 <a href="http://t.co/ffQOqyQ6">http://t.co/ffQOqyQ6</a></li>
<li>@delphinocons: Wim Bast: competing DSLs and LWBs is good for innovation, but bringing MD(S)D to the market requires commodity as well. #cg2012 closingpanel</li>
<li>@pmolinam @CompSciFact &#8220;Before you can design a good DSL, you have to understand the D.&#8221; On-topic for #cg2012</li>
<li>@tvdstorm: Need: live prototyping environments to be able to try out many different designs. Modeling needs immediacy, liveness and directness. #cg2012</li>
<li>@delphinocons Wim Bast/Darius Silingas: we have to avoid focusing too much on the technical side in favor of the business benefits of MDSD. Agree! <a href="https://twitter.com/#!/search/%23cg2012">#cg2012</a></li>
<li>@pmolinam On SoC and abstractions in DSLs #cg2012 Panel</li>
<li>@stevekmcc We are building the complex systems as ever. DSL helps in this race. #cg2012</li>
</ul>
<h2>Summing up</h2>
<p>Finally, I present my personal conclusions on the State of the Art in MDSD based on what I have seen at CG2012:</p>
<ol>
<li>Two main lines of work have arisen in MDSD seen this year:</li>
<ul>
<li>Bottom-up using a low-level general language and adding extensions that raise the abstraction level (eg.: <a href="http://mbeddr.wordpress.com/">mbeddr</a> over C or <a href="http://www.codegeneration.net/cg2012/sessioninfo.php?session=38">Webr-DNQ</a> over Java) for a specific purpose (domain), and</li>
<li>Top-down using a high-level DSL/language with a specific, targeted level of abstraction in order to describe a domain (hiding technology details and other concerns) upon which code generation is applied (samples: <a href="http://www.radarc.net/">Radarc</a>, <a href="http://www.ifml.org/">IFML</a>, <a href="http://www.metacase.com/products.html">MetaEdit+</a>).</li>
</ul>
<li>More effort is needed to explain ROI for potential MDSD consumers (customers).</li>
<li>Increasing complexity and diversity (mobile) in technology pushes the market ever closer to MDSD (as there are no other choices).</li>
<li>Technology independence (one of the foremost qualities of systems developed via MDSD) provides even greater value when technology is undergoing rapid advances (see the mobile arena for example).</li>
<li>Some MDSD technologies are powerful yet also rather complex; more work is required to simplify their presentation in order to increase user adoption.</li>
<li>User Interface modeling is gaining momentum this year (with at least four sessions), that being a great and challenging DSL domain.</li>
<li>The cloud provides opportunities for applying MDSD; this context already showing adoption in transparent infrastructure (see <a href="http://www.mendix.com/">Mendix</a> for a sample), deployment and configuration (cloud operation).</li>
<li>Multi-core CPUs provide opportunities for executing DSL specs with efficient parallel processing.</li>
</ol>
<p><strong><br />
</strong> As always, CG2012 was a great opportunity to take the pulse of the MDSD community, providing a good overview of the current problems and areas of research. If you want to get in the loop don’t miss the next edition &#8212; join us in 2013.</p>
<p>I want to thank the work of <a title="Robert McCall" href="http://execNext.com">Robert McCall</a>. He contacted me and volunteered for polishing my sometimes rusty English and making the full text more readable.</p>
]]></content:encoded>
			<wfw:commentRss>http://pjmolina.com/metalevel/2012/04/cg2012-summary-day-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CG2012 Summary, day 2</title>
		<link>http://pjmolina.com/metalevel/2012/04/cg2012-summary-day-2/</link>
		<comments>http://pjmolina.com/metalevel/2012/04/cg2012-summary-day-2/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 07:47:24 +0000</pubDate>
		<dc:creator>Pedro J. Molina</dc:creator>
				<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[Essential]]></category>
		<category><![CDATA[Language Workbench]]></category>
		<category><![CDATA[MDD]]></category>
		<category><![CDATA[mde]]></category>
		<category><![CDATA[mdsd]]></category>

		<guid isPermaLink="false">http://pjmolina.com/metalevel/?p=843</guid>
		<description><![CDATA[CG2012 Summary (part II) After reviewing LWC2012 and CG2012 day 1, let’s continue with day 2. Day 2, Thursday 29th The morning started with the first keynote. Markus Völter led the session with the title “Domain-Specific Language Design &#8211; A conceptual framework for building good DSLs”.  Here Markus deep down with an ontology approach, reviewing the [...]]]></description>
			<content:encoded><![CDATA[<h1>CG2012 Summary (part II)</h1>
<p>After reviewing <a title="LWC2012 summary" href="http://pjmolina.com/metalevel/2012/04/summary-language-workbenches-challenge-2012/">LWC2012</a> and <a title="LWC2012 summary day 1" href="http://pjmolina.com/metalevel/2012/04/cg2012-summary-day-1/">CG2012 day 1</a>, let’s continue with day 2.</p>
<h2>Day 2, Thursday 29th</h2>
<p>The morning started with the first keynote. Markus Völter led the session with the title <a title="Markus slides" href="http://www.voelter.de/data/presentations/DSLDesignKeynote-PRINT.pdf">“Domain-Specific Language Design &#8211; A conceptual framework for building good DSLs”</a>.  Here Markus deep down with an ontology approach, reviewing the dimensions of DSL Design: covering nine topics: expressivity, coverage, semantics, separation of concerns, completeness, paradigms, modularity, concrete syntax &amp; process. In the session, he focused mainly on expressivity, semantics, modularity and concrete syntax. I found specially interesting the dissection of types of language extension and composition providing detailed samples in each case. In summary, good and quality stuff as Markus used to deliver. As commented by Markus, this material will be published as a book “DSL Engineering” at the <a title="DSL Engineering" href="http://voelter.de/dslbook">early 2013</a>.</p>
<p>After the coffee break, I entered the <a title="Peter Friese" href="http://www.peterfriese.de/">Peter Friese</a>’s tutorial on <a title="Peter Friese's session" href="http://www.codegeneration.net/cg2012/sessioninfo.php?session=27">“Traditional and Model-Driven Approaches for Cross-Platform Mobile Development”</a>. Peter demonstrated a very good knowledge of the mobility space presenting nor one or two alternatives but six (6) ways of developing cross-platform mobile applications considering pros and cons. Great talk covering native development (showing iPhone, Android and WP7), HTML5 and JavaScript frameworks like Sencha or jQueryMobile reviewing cross tools like phoneGap. It was a pity that the Wifi connectivity were failing and interrupted in some moments the flow of the demo, but Peter was able to overcome it and show what’s going on.</p>
<p>User Interfaces are always interesting to me so: Achim Demelt session’s was a must see session or me. <a title="Achim Demelt's session" href="http://www.codegeneration.net/cg2012/sessioninfo.php?session=25">“Mission: Impossible &#8212; Purely declarative User Interface Modeling”</a>.</p>
<div id="__ss_12222172" style="width: 425px;">
<p><strong style="display: block; margin: 12px 0 4px;"><a title="Mission: Impossible --- Purely declarative User Interface Modeling" href="http://www.slideshare.net/ademelt/mission-impossible-purely-declarative-user-interface-modeling" target="_blank">Mission: Impossible &#8212; Purely declarative User Interface Modeling</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/12222172" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="425" height="355"></iframe></p>
<div style="padding: 5px 0 12px;">View more <a href="http://www.slideshare.net/" target="_blank">presentations</a> from <a href="http://www.slideshare.net/ademelt" target="_blank">ademelt</a></div>
</div>
<p>The session was very good. The slides are not enough, the accompanying demo shown the tool at work. Achim and his team created Silverlight based UIs using a Java back-end. The S4 environment presented is agile enough to model and generate UIs for the ERP domain Achim was targeting.</p>
<p>Next session for me was for the Jetbrains’s guys Maxim Mazin and Evgenii Schepotiev with the talk <a title="Webr-DNQ" href="http://www.codegeneration.net/cg2012/sessioninfo.php?session=38">“Webr-DNQ — web application development with pleasure”</a>.  They show the language extensions Jetbrains has designed over Java using <a title="MPS" href="http://www.jetbrains.com/mps/">MPS</a>  to build in-house products like <a title="YouTrack" href="http://www.jetbrains.com/youtrack/">YouTrack</a>. This is a very clear sample of the quote: <em>eat your own dog food</em>.</p>
<p>After a coffee, and back to action to a very different session: Steven Kelly lead the hands-on session titled <a title="Have your language built while you wait" href="http://www.codegeneration.net/cg2012/sessioninfo.php?session=35">“Have your language built while you wait”</a>. Here some of us creating Language Workbenches where placed in a room with our laptops waiting for customers. During rounds of 25 minutes we were attending them showing the capabilities of each tool and solving a concrete and practical small problem proposed by the customer. 15 master craftsmen, representing 11 top language workbench tools, volunteered their time to build languages for participants&#8217; domains. It was a very interesting format because it not only allows people to try new tools, but also to promote cross polinization between tool makers. From mi side I was there showing <a title="Essential" href="http://pjmolina.com/essential">Essential</a> and also have the chance to play a little with The <a title="Whole Platform" href="http://whole.sourceforge.net/">Whole Platform</a> with Riccardo Solmi and Enrico Persiani and take a closer look to <a title="Ensō" href="http://www.cs.utexas.edu/~alexloh/enso/lwc2012.shtml">Ensō</a> with Alex Loh.</p>
<p>Steve prepared a good summary on this session (<a title="hands-on session summary" href="http://www.dsmforum.org/events/CG2012/index.html">take a look for the details on each tools</a>). I borrow here the video here <img src='http://pjmolina.com/metalevel/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p><iframe src="http://www.youtube.com/embed/WYxUQyk8bCU" frameborder="0" width="420" height="315"></iframe></p>
<p>&nbsp;</p>
<p>So far, so good! Another day full of code generation, but the dessert was still missing.</p>
<p>This year CG2012 changed the relaxing punting trip on the river Cam in favor of a conference called “How Apollo we flew to the moon” by David Woods. The result: totally amazing! This guy presented us all a brief but detailed introduction to the Apollo systems and navigation procedures and then deep down on the specific problems on the Apollo XI, the mission where Aldrin, Armstrong and Collins engraved theirs names in the history.</p>
<p>Given the audience, David make special emphasis on the computer devices on board in the Apollo missions. Totally amazing the rudimentary technology used was good enough to fly to the moon and come back! Q&amp;A delivered may geek questions about the Apollo mission that David responded with flying colors to impress even more the audience.</p>
<p>So I couldn’t resist, and bought my copy of his <a title="How we flew to the moon" href="http://www.amazon.com/Apollo-Springer-Praxis-Books-Exploration/dp/1441971785/ref=dp_ob_title_bk">book</a> and got it autographed by David (I was not the only one BTW). A good reading for sure, if you like space and/or engineering.</p>
<p style="text-align: center;"><a title="How we flew to the moon" href="http://www.amazon.com/Apollo-Springer-Praxis-Books-Exploration/dp/1441971785/ref=dp_ob_title_bk"> <img class="aligncenter" title="How we flew to the moon" src="http://ecx.images-amazon.com/images/I/51pkpq8MzAL._BO2,204,203,200_PIsitb-sticker-arrow-click,TopRight,35,-76_AA300_SH20_OU01_.jpg" alt="" width="300" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://pjmolina.com/metalevel/2012/04/cg2012-summary-day-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Radarc 3.0 Released!</title>
		<link>http://pjmolina.com/metalevel/2012/03/radarc-3-0-released/</link>
		<comments>http://pjmolina.com/metalevel/2012/03/radarc-3-0-released/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 18:45:15 +0000</pubDate>
		<dc:creator>Pedro J. Molina</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[MDD]]></category>
		<category><![CDATA[mde]]></category>
		<category><![CDATA[mdsd]]></category>
		<category><![CDATA[Radarc]]></category>

		<guid isPermaLink="false">http://pjmolina.com/metalevel/?p=790</guid>
		<description><![CDATA[The arrival to my new job in Sevilla has coincided with the preparations and launch of a new product. We at Icinetic, are releasing Radarc 3.0. Radarc is a very easy to use code generator highly integrated with Visual Studio and targeting .NET technologies. Radarc has the ability produce multiple architectures using the same base models [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" title="Radarc 3.0" src="http://cdn.shopify.com/s/files/1/0114/1512/t/1/assets/logo.png" alt="" width="319" height="77" /></p>
<p style="text-align: left;">The arrival to my <a title="Hola Sevilla" href="http://pjmolina.com/metalevel/2012/01/hola-sevilla/">new job in Sevilla</a> has coincided with the preparations and launch of a new product. We at <a title="Icinetic" href="http://icinetic.com/Home/tabid/39/language/en-US/Default.aspx">Icinetic</a>, are releasing <strong><a title="Radarc 3.0" href="http://www.radarc.net/">Radarc 3.0</a></strong>. Radarc is a very easy to use code generator highly integrated with Visual Studio and targeting .NET technologies.</p>
<p>Radarc has the ability produce multiple architectures using the same base models and keeping in-sync generated artifacts when model element changes. Architectures and DSLs for defining the models are packaged in so called <em>&#8220;Formulas&#8221;</em>.</p>
<p>Currently, the following formulas are available for download and it is free for non-commercial usage:</p>
<ul>
<li>ASP.NET Web Forms + Entity Framework</li>
<li>ASP.NET MVC 3.0 + Entity Framework</li>
<li>ASP.NET MVC 3.0 + Entity Framework + Azure Storage &amp; deployment</li>
<li>Windows Phone 7</li>
</ul>
<div>Radarc creates a complete prototyping application in seconds following the cycle: change the model, touch no line of code, build and run. Prototyping an application is a question of minutes, and obtain a first scaffolding of your application. Moreover, custom code can be inserted in specially designed locations that will be preserved in every regeneration lap.</div>
<p>Radarc 3.0 is available with three licensing models and its free for non-commercial usage.</p>
<p>Other technologies are available on demand, such as:</p>
<ul>
<li>.NET 4.0 Domain Driven Design N-Layered Architecture</li>
<li>NHibernate &amp; more to come&#8230;</li>
</ul>
<div>Some cases of usage:</div>
<div>
<ul>
<li>If you work in a .NET development shop, feel free to <a title="Radarc 3.0" href="http://www.radarc.net/">give it a try</a> and give us some feedback.</li>
<li>On the other hand, if you want to <strong>start learning</strong> one of the previous technologies or architectures, you can use also Radarc to <strong>generate a reference sample application</strong> and start exploring the code.</li>
<li>If you are a experienced software architect and needs to evaluate SW architectures to <strong>benchmark</strong> them before choosing a winner arch for your project, think about the cheap possibility of generate the same application in two technologies and test how well performs for your specfic problem.</li>
</ul>
</div>
<div></div>
<div>These days, I am learning a lot about the state of art here at Icinetic and I hope to start contributing to the bits very, very soon.</div>
<div></div>
<div>Bonus extra: a <a title="Radarc 3.0 demo en &quot;12 Horas con Visual Studio 2010&quot;" href="http://bit.ly/radarcVS12">20 minutes demo video</a> (in Spanish) generating three architectures is available.</div>
<div></div>
<div>Next week we will be attending <a title="Code Generation 2012" href="codegeneration.net/cg2012/index.php">Code Generation 2012</a>. If you are interested, join us and see a live demo or download it and give it a try!</div>
]]></content:encoded>
			<wfw:commentRss>http://pjmolina.com/metalevel/2012/03/radarc-3-0-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code Generation 2012</title>
		<link>http://pjmolina.com/metalevel/2012/03/code-generation-2012/</link>
		<comments>http://pjmolina.com/metalevel/2012/03/code-generation-2012/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 20:44:26 +0000</pubDate>
		<dc:creator>Pedro J. Molina</dc:creator>
				<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[Essential]]></category>
		<category><![CDATA[MDD]]></category>
		<category><![CDATA[mdsd]]></category>

		<guid isPermaLink="false">http://pjmolina.com/metalevel/?p=799</guid>
		<description><![CDATA[Times fly! Code Generation 2012 is only two weeks ahead. During the latest&#8217;s weeks we have been very busy combining day to day work with the preparation of material for the conference. This year the conference will be held from 28th till 30th of March, in the habitual place: Murray Edwards College, Cambridge, UK. The programme [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" title="CG2012 logo" src="http://www.codegeneration.net/cg2012/images/CG2012logo600x171.gif" alt="CG 2012 logo" width="432" height="124" /></p>
<p style="text-align: justify;">Times fly!<strong> <a title="CG2012" href="http://www.codegeneration.net/cg2012/index.php">Code Generation 2012</a></strong> is only two weeks ahead.</p>
<p>During the latest&#8217;s weeks we have been very busy combining day to day work with the preparation of material for the conference.</p>
<p>This year the conference will be held from 28th till 30th of March, in the habitual place: Murray Edwards College, Cambridge, UK.</p>
<p>The <a title="CG2012 Programme" href="http://www.codegeneration.net/cg2012/program.php">programme</a> this year comes with some interesting sessions. I want to highlight some of them:</p>
<ul>
<li>The day before, the 27th the <a title="LWC2012" href="http://www.languageworkbenches.net/index.php?title=LWC_2012">Language Workbenches Challenge 2012</a> takes place in the same scenario. The competing tools will show us how they resolved <a title="The LCW2012 assignment" href="http://www.languageworkbenches.net/index.php?title=LWC_2012#The_assignment">the current assignment</a>.</li>
<li>The keynotes by <a title="Jan Bosch" href="http://janbosch.com/">Jan Bosch</a> &#8221;Speed and Innovation through Architecture&#8221; and <a title="Markus Völter" href="http://www.voelter.de/">Markus Völter</a> &#8221;Domain-Specific Language Design &#8211; A conceptual framework for building good DSLs&#8221;.</li>
<li><a title="David Woods" href="http://www.wdwoods.com/">David Woods</a> will talk on 29th about &#8220;How Apollo flew to the Moon&#8221; <em>Don&#8217;t miss it!</em></li>
<li>The practical session <a title="Have your language built while you wait " href="http://www.codegeneration.net/cg2012/sessioninfo.php?session=35">&#8220;Have your language built while you wait&#8221;</a> driven by <a title="Steven Kelly" href="http://www.metacase.com/blogs/stevek/blogView">Steven Kelly</a> will allow you to solve your problem (domain) in 20 minutes. <em>It will be funny.</em></li>
</ul>
<p>From my side, and once established in Seville, I will join the conference with some of my <a title="Icinetic" href="http://icinetic.com/">Icinetic</a> colleagues. The activities we will be involved include:</p>
<ul>
<li>Attending the full LWC2012 and CG2012.</li>
<li>This year, Icinetic proudly sponsors CG2012, so we will be present there. If your are interested in MDSD feel free to ask us and we will make you a demo of our work and products.</li>
<li><a title="Ruben Jimenez Marrufo" href="http://geeks.ms/blogs/rjimenez/">Ruben Jimenez</a> and I will be presenting the session <a title="Modelling and Code Generation on the .NET platform at Icinetic" href="http://www.codegeneration.net/cg2012/sessioninfo.php?session=52">&#8220;Modelling and Code Generation on the .NET platform at Icinetic&#8221;</a> on Wednesday 28th.</li>
<li>On Thursday 29th I will be taking part in the previously quoted session <a title="Have your language built while you wait " href="http://www.codegeneration.net/cg2012/sessioninfo.php?session=35">&#8220;Have your language built while you wait&#8221;</a> with <a title="Essential" href="pjmolina.com/metalevel/essential">Essential</a>.</li>
<li>Finally, on Friday 30th, Ruben and I will lead the session <a title="Mutichannel User Interfaces" href="http://www.codegeneration.net/cg2012/sessioninfo.php?session=42">&#8220;Multichannel User Interfaces&#8221;</a>.</li>
</ul>
<p>As every year, looking forward to join and meet again with the CG community. See you there, guys!</p>
]]></content:encoded>
			<wfw:commentRss>http://pjmolina.com/metalevel/2012/03/code-generation-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>¡Hola Sevilla!</title>
		<link>http://pjmolina.com/metalevel/2012/01/hola-sevilla/</link>
		<comments>http://pjmolina.com/metalevel/2012/01/hola-sevilla/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 19:30:04 +0000</pubDate>
		<dc:creator>Pedro J. Molina</dc:creator>
				<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[MDD]]></category>
		<category><![CDATA[Icinetic]]></category>
		<category><![CDATA[Sevilla]]></category>

		<guid isPermaLink="false">http://pjmolina.com/metalevel/?p=767</guid>
		<description><![CDATA[&#160; Model Driven Development is one of my favourite research topics. That’s why when the Icinetic guys contacted and offer me to join them to work together I had few arguments to resist the temptation and enroll. Therefore, today I’m moving to Sevilla, in the south of Spain, to start a new phase of my life to [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption aligncenter" style="width: 510px"><img title="Plaza de España, Sevilla" src="http://farm2.staticflickr.com/1351/5158639564_79ed587a54.jpg" alt="" width="500" height="327" /><p class="wp-caption-text">Plaza de España, Sevilla (By CCSA Tom Raftery)</p></div>
<p>&nbsp;</p>
<div>
<p><strong>Model Driven Development</strong> is one of my favourite research topics. That’s why when the <a href="http://www.icinetic.com/">Icinetic</a> guys contacted and offer me to join them to work together I had few arguments to resist the temptation and enroll.</p>
<p>Therefore, today I’m moving to <strong>Sevilla</strong>, in the south of Spain, to start a new phase of my life to work as the Chief Research Officer. Icinetic is an young MDD tool-maker and consultancy company.</p>
<p>I am quite excited to have the chance, the tools and the right team (both with the required business vision and the technical background) to focus on innovation and to create cool MDD &amp; code generation tools.</p>
<p>We are going to enjoy it, for sure!</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://pjmolina.com/metalevel/2012/01/hola-sevilla/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Essential on Alt.Net Hispano</title>
		<link>http://pjmolina.com/metalevel/2011/07/essential-on-alt-net-hispano/</link>
		<comments>http://pjmolina.com/metalevel/2011/07/essential-on-alt-net-hispano/#comments</comments>
		<pubDate>Sun, 03 Jul 2011 08:46:15 +0000</pubDate>
		<dc:creator>Pedro J. Molina</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[Essential]]></category>
		<category><![CDATA[MDD]]></category>

		<guid isPermaLink="false">http://pjmolina.com/metalevel/?p=723</guid>
		<description><![CDATA[The Alt.NET Hispano group has published my VAN about Code generation with Essential. The recording was done in Spanish. La comunidad Alt.NET Hispano ha publicado la VAN (desconferencia) sobre Generación de código con Essential que tuvimos el pasado dia 11 de junio. Si estás interesado en MDD, generación de código y como aplicarlo con Essential, [...]]]></description>
			<content:encoded><![CDATA[<p>The <a title="Alt.NET Hispano" href="http://altnethispano.org">Alt.NET Hispano</a> group has published my VAN about <a title="Generación de Código con Essential" href="http://altnethispano.org/wiki/van-2010-05-28-generacion-de-codigo-con-essential.ashx">Code generation with Essential</a>. The recording was done in Spanish.</p>
<p>La comunidad Alt.NET Hispano ha publicado la VAN (desconferencia) sobre <a title="Generación de código con Essential" href="http://altnethispano.org/wiki/van-2010-05-28-generacion-de-codigo-con-essential.ashx">Generación de código con Essential</a> que tuvimos el pasado dia 11 de junio. Si estás interesado en MDD, generación de código y como aplicarlo con Essential, este video grabado para la comunidad en español es un buen punto de partida.</p>
<p>Mi agradecimiento a Alt.NET Hispano por el interés en la materia y la invitación a divulgarlo.</p>
<p><a title="Descarga directa: Essential Video" href="http://content.screencast.com/users/AltNetHispano/folders/VAN/media/512cfc98-8e47-48a2-8781-a22bf3f40af9/van-2011-06-11.flv?downloadOnly=true">Descarga directa del video</a> (562 Mb).</p>
<p>&nbsp;</p>
<p><span id="more-723"></span></p>
<p><object id="scPlayer" width="700" height="468" data="http://content.screencast.com/users/AltNetHispano/folders/VAN/media/512cfc98-8e47-48a2-8781-a22bf3f40af9/flvplayer.swf" type="application/x-shockwave-flash"><param name="movie" value="http://content.screencast.com/users/AltNetHispano/folders/VAN/media/512cfc98-8e47-48a2-8781-a22bf3f40af9/flvplayer.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="thumb=http://content.screencast.com/users/AltNetHispano/folders/VAN/media/512cfc98-8e47-48a2-8781-a22bf3f40af9/FirstFrame.jpg&amp;containerwidth=800&amp;containerheight=468&amp;analytics=UA-21341284-1&amp;content=http://content.screencast.com/users/AltNetHispano/folders/VAN/media/512cfc98-8e47-48a2-8781-a22bf3f40af9/van-2011-06-11.flv&amp;blurover=false" /><param name="allowFullScreen" value="true" /><param name="scale" value="showall" /><param name="allowScriptAccess" value="always" /><param name="base" value="http://content.screencast.com/users/AltNetHispano/folders/VAN/media/512cfc98-8e47-48a2-8781-a22bf3f40af9/" />Unable to display content. Adobe Flash is required.</object></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://pjmolina.com/metalevel/2011/07/essential-on-alt-net-hispano/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://content.screencast.com/users/AltNetHispano/folders/VAN/media/512cfc98-8e47-48a2-8781-a22bf3f40af9/van-2011-06-11.flv&amp;amp" length="589272873" type="video/x-flv" />
<enclosure url="http://content.screencast.com/users/AltNetHispano/folders/VAN/media/512cfc98-8e47-48a2-8781-a22bf3f40af9/van-2011-06-11.flv?downloadOnly=true" length="589272873" type="video/x-flv" />
		</item>
		<item>
		<title>Code Generation 2011: a personal review</title>
		<link>http://pjmolina.com/metalevel/2011/05/code-generation-2011-a-personal-review/</link>
		<comments>http://pjmolina.com/metalevel/2011/05/code-generation-2011-a-personal-review/#comments</comments>
		<pubDate>Tue, 31 May 2011 10:50:17 +0000</pubDate>
		<dc:creator>Pedro J. Molina</dc:creator>
				<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[Essential]]></category>
		<category><![CDATA[MDD]]></category>
		<category><![CDATA[User Interface]]></category>
		<category><![CDATA[cg2011]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[language workbench]]></category>
		<category><![CDATA[lwc]]></category>
		<category><![CDATA[report]]></category>

		<guid isPermaLink="false">http://pjmolina.com/metalevel/?p=702</guid>
		<description><![CDATA[Once again, back home after the most exciting till date edition of the Code Generation conference in the latest years. The co-allocation of the Language Workbenches Competition has been a great incentive to attract all of us to join and present alternatives to a great challenge in the domain of modeling and code generation. In [...]]]></description>
			<content:encoded><![CDATA[<p>Once again, back home after the most exciting till date edition of the <a title="CG2011" href="http://www.codegeneration.net/cg2011/index.php">Code Generation conference</a> in the latest years. The co-allocation of the <a title="LWC2011" href="http://www.languageworkbenches.net/">Language Workbenches Competition</a> has been a great incentive to attract all of us to join and present alternatives to a great challenge in the domain of modeling and code generation.</p>
<p>In this long post, I want to share my personal view about these days, and for sure, take note it could be partial and subjective. So, be kind to review also the comments as seen by others like <a title="Johan LWC2011 review" href="http://www.theenterprisearchitect.eu/archive/2011/05/26/language-workbench-competition-2011">Johan den Haan</a>, <a title="Markus on LWC2011" href="http://voelterblog.blogspot.com/2011/05/language-workbench-competition-2011.html">Markus Völter</a>, <a title="Angelo LWC &amp; CG report" href="http://www.hulshout.nl/blog/2011/05/29/language-workbench-competition-2011-code-generation-2011/">Angelo Hulshout</a>, <a title="Marco on LWC2011 and CG2011" href="http://www.modeldrivenstar.org/2011/05/highlights-from-lwc-2011-language.html">Marco Bambrilla</a>, or <a title="About modeling workbenches" href="http://mariot-thoughts.blogspot.com/2011/05/about-modeling-workbenches.html">Mariot Chauvin</a> to cite a few and more expected to come. Find the majority of the pointers at the <a href="http://modeldrivensoftware.net/">http://modeldrivensoftware.net</a></p>
<p>In this edition, the conference has been deeply covered via twitter using <a title="CG2011" href="http://twitter.com/#!/search/%23cg2011">#cg2011</a> and <a title="LWC11" href="http://twitter.com/#!/search/%23lwc11">#lwc11</a></p>
<p>As expected, I will be only be able to comment about the sessions I personally have attended. Running three tracks in parallel always force us to choose one and miss two other great sessions.</p>
<p><span id="more-702"></span></p>
<h2>Day 0. The Language Workbenches Competition</h2>
<p>Ten tools were presented in a marathonian session exactly allocating 40 minutes per tool. The Angelo’s egg-timer was implacable: Whenever it rang reaching the agreed time, the speakers suddenly stopped talking unable to end a simple phrase.</p>
<p>The challenge was a competition without a winner or loser, mainly because there was no prize to win (may be next year a generous sponsor could change that). The main objective is to <strong>compare </strong>how different tools are able to complete a common problem facing modeling, model transformations and code generation to multiple platforms.</p>
<p>Johan den Haan has prepared a detailed report of the tools presented. <a title="Johan on LWC2011" href="http://www.theenterprisearchitect.eu/archive/2011/05/26/language-workbench-competition-2011">Take a look on it</a>.</p>
<p>From my side, I have created a <a title="LWC2011 feature matrix" href="https://spreadsheets.google.com/spreadsheet/ccc?key=0AoxxO-Frx5JsdFcwMGQtdzBjNzhfQUxZT1dJSWdtYXc&amp;hl=es">feature matrix</a> for comparing the different approaches stressing what I see as different in each tool. It is not complete: some information is missing and some other not yet contrasted so take it as a beta version to be improved.</p>
<p>With respect to my beloved tool <a title="Essential" href="pjmolina.com/essential">Essential</a>, I have to say that I received a very nice feedback from the audience. See a sample of the twitted comments:</p>
<p style="padding-left: 30px;"><strong>kthoms:</strong> @pmolinam Has a high voltage notebook &#8211; projector crashed on plugging in. Now let&#8217;s see how he could improvise the situation #lwc11</p>
<p style="padding-left: 30px;"><strong>stevekmcc</strong>:  @pmolinam Showing #Essential: major theme is separation of concerns, so opposite to Rascal #lwc11</p>
<p style="padding-left: 30px;"><strong>stevekmcc:</strong> #Essential looks very clean compared to other text or text-projection workbenches #lwc11</p>
<p style="padding-left: 30px;"><strong>delphinocons:</strong> RT @stevekmcc: #Essential looks very clean compared to other text or text-projection workbenches #lwc11 &lt;== I agree. Relaxing to the eyes.</p>
<p style="padding-left: 30px;"><strong>delphinocons:</strong> #lwc11 The Essential metamodel is smaller than EMFs, and a little larger than MetaEdit+&#8217;s</p>
<p style="padding-left: 30px;"><strong>meinte37:</strong> @pmolinam is the first to finish before the egg timer at #lwc11. That&#8217;s because he cuts down to the Essential-s <img src='http://pjmolina.com/metalevel/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="padding-left: 30px;"><strong>JohanDenHaan:</strong> @pmolinam nice presentation and demo, good mix of slides and demo. Great timing!</p>
<p style="text-align: center;"><img class="aligncenter" title="LWC 2011 family photo." src="http://i233.photobucket.com/albums/ee316/angelopa/DSC00667.jpg" alt="" width="500" /></p>
<p style="text-align: center;">&nbsp;</p>
<h2>Day 1. Code Generation 2011 starts</h2>
<p>I started the day giving an initial talk about <strong>Introduction to Model Driven Software Development</strong>.</p>
<div style="width:425px" id="__ss_8150087"> <strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/pjmolina/introducing-mdsd" title="Introducing MDSD">Introducing MDSD</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/8150087" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
<div style="padding:5px 0 12px"> View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/pjmolina">Pedro J. Molina</a> </div>
</p></div>
<p>Later on, Obeo guys (Mariot Chauvin &amp; Stéphane Begaudeau) presented how to use Obeo Designer to create sensible graphical DSL tools on the top of the Eclipse framework. Obeo uses model interpretation over the EMF models to create in runtime GMF based editors.</p>
<p><strong>Panel: Build or Buy &#8211; who should develop and own your DSLs and generators?</strong></p>
<p>We played a nice game with the following roles:</p>
<ul>
<li>Juha-Pekka Tolvanen (MetaCase), the moderator</li>
<li>Jos Warmer (Independent) , the homegrow tool maker</li>
<li>Pedro J. Molina (Capgemini) , the consultant</li>
<li>Johan den Haan (Mendix), the tool vendor</li>
</ul>
<p>More soon than later, Andrew Watson and Markus Völter join with the rest of the audience in the discussion. Of course, there is not an easy answer to that question and depends a lot of the particular context and requiring thinking about, but not only on:</p>
<ul>
<li>the experience of the in-house developers with MDD</li>
<li>the level of criticality of the process for the business to be automated (core or non -core to business)</li>
<li>the existence of tools able to provide the requested features</li>
<li>the need to split the business process from the current technology</li>
</ul>
<p>&nbsp;</p>
<p><strong>Type Systems for DSLs.</strong></p>
<p>Markus Völter presented a nice library he has been creating to help with the type checking in expressions of DSLs. After a gentle introduction to type checking, he introduced three different approaches to the problem:</p>
<ul>
<li>recursive type-checkers,</li>
<li>union based (a la MPS) and</li>
<li>table driven (a declarative way of the first one).</li>
</ul>
<p>&nbsp;</p>
<h2>Day 2. Getting speed</h2>
<p><strong>Terrence Parr Keynote</strong> was one of the more awaited talks in the conference. Many of us use their tools on a daily basis like <a title="ANTLR" href="http://antlr.org/">ANTLR</a> and <a title="StringTemplate" href="http://stringtemplate.org/">StringTemplate</a>. So having him here is quite special. In his keynote titled “Why program by hand in five days what you can spend five years of your life automating?” he let us some pearls like the following ones highly twitteable:</p>
<ul>
<li>“XML is not for humans beings, just for machines.” (Donald Knuth, the father of TeX support this, and I am not going the one to contradict this)</li>
<li>“Programmers are lazy.” Yes, we are. We don’t like repetition of tasks, trivial or not, because we get bored, so we always try to automate things. And this is our main driver and source of fun.</li>
<li>“Automate the things more prone to human errors”. Automate the tedious work!</li>
<li>Running a test does not increase the quality of the code.</li>
</ul>
<p><strong> </strong></p>
<p><strong>MetaEdit+ Hands On</strong></p>
<p>MetaCase MetaEdit+ was of my pending tools to try from previous editions of CG. I had the tool, I had the chances but not the inline tutor to allow me to get advantage of the tool. Risto, Steven and Juha-Pekka did a great work in the “hands on” session been able to not to left away any of the practitioners. They have did this lots of time and they are good teaching it.</p>
<p>Definitely, the learning curve of MetaEdit is not big, but for sure, you need the initial proper training to get the grasp of the tool to start creating your own graphical DSLs. Been a tool implemented in Smalltalk and using a repository, MetaEdit provided an edition experience quite different to the ones more used to edit traditional files.</p>
<p><strong>Generating Graphical DSLs</strong></p>
<p>Marko Boger, one of the fathers of the Poseidon tool, presented his work about applying DSLs to describe graphical DSLs. The idea was well received, and later on in the local pub called The Castle Inn an informal Birds of a Feather session was settled to create the Spray project to join forces and create a common core DSLs to help in generating graphical DSLs.</p>
<p><strong>Modeling the UI</strong></p>
<p>To end the day I gave a talk about how we take in account to model the User Interface of a business application. The topic is important because the IU is not always pondered as it should be. The UI is the only aspect the user will see from any system we build. Approaches to modeling and code generation based in a pattern based approach were presented with the help of briefs live demos using Essential and Io tools.</p>
<div style="width:425px" id="__ss_8150041"> <strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/pjmolina/modelling-the-user-interface" title="Modelling the User Interface">Modelling the User Interface</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/8150041" width="425" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
<div style="padding:5px 0 12px"> View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/pjmolina">Pedro J. Molina</a> </div>
</p></div>
<p><span style="font-size: 20px; font-weight: bold;">Day 3. Closing a great edition</span></p>
<p><strong>Ed Merks Keynote</strong></p>
<p>Ed is the leader of the<a title="EMF" href="http://www.eclipse.org/modeling/emf/"> Eclipse Modeling Framework</a> based in Montreal and now working also for Itemis. In his keynote he remarked some of the prejudices people use to have against code generation and (UML) modeling, leaving also some great quotes:</p>
<ul>
<li>“Resistance is futile: Best practices will be assimilated by code generators.”</li>
<li>“XMI sucks because XML sucks. XMI sucks for transitivity.”</li>
</ul>
<p>Ed talks reinforces my idea that, talking about software, Europeans are usually more instructed in the university in formal methods and theories where Americans uses to be quite more practical and take a more empirical approach to software engineering or computer science.</p>
<p>It is interesting to see that mostly all the participants in the LWC with the exception of Intentional are Europeans. Well, Charles Simony (the owner) and Mats Helander (the presenter) both from Intentional are also Europeans. So, there is no interest in Language Workbenches in other continents apart from Europe?</p>
<p><strong> </strong></p>
<p><strong>Goldfish Bowl: “Code Generation as a normal programming practice”</strong></p>
<p>Jos Warmer lead this session were all the interested participants shared thoughts about how to integrate code generation with traditional styles of development.</p>
<p>How to create a good template: Go to your best developers and tell them: “write this DAO code file as it were the last time in your life you are going to write it”. Then abstract it and you got it. If the further in time found a bug, they can always came back and fix the template also.</p>
<p><strong>Final panel: “Models, DSLs, Transformations: The Next 5 years”</strong></p>
<p>In the closing plenary session, future directions and incoming challenges were addresses by the panelist and the audience.</p>
<ul>
<li>Andrew Watson focused on resolving business problems instead of technological problems.</li>
<li>Jos Warmer encourages us to build better tools and better languages.</li>
<li>Johan den Haan pinpointed some incoming trends: Mobile, cloud, social, multi-core and poliglot languages.</li>
<li>Wim Bast commented about the need for parallelization and the best way to achieve it is to move to a more declarative DSLs allowing us to exploit the intrinsic parallelization in the execution of such algorithms. Wim pointed out also about the difficulty of making prediction about the future.</li>
</ul>
<p>So, I put my two cents remembering the genial quote of <a title="Alan Kay" href="http://en.wikipedia.org/wiki/Alan_Kay">Alan Kay</a>: “The best way to predict the future is to invent it”.</p>
<p>My position is that we have the tools, we have the knowledge… so, we should put all our efforts in improving the tools. Good tools will make MDD mainstream soon or later. So, I want to see it happening: let’s improve our tools now better sooner than later.</p>
<h2>Conclusions</h2>
<p>The <strong>LWC</strong> has been a great idea made real. Having the opportunity to compare solutions and styles of tools has been quite productive for all of us. All the participants were happy with the idea of repeating next year and the next edition is looking for the next challenge.</p>
<p><strong>Twitter</strong> this years has expanded the real-time conference far away that the walls of the College. Colleagues like Rui Curado, Xavier Seignard, Jordi Cabot, Angel J. Lopez or the AltNet Hispano group to cite a few I am aware were tracking the conference and taking part via twitter. This enriches the experience and makes it more participative.</p>
<p>Some tools, highly integrated with the Eclipse environment were suffering during the conference live demo failures. This is not an exception, but a warning signal that some task that should be easy are getting complex and complex when the number of dependencies to run a simple task is out of control. The <strong>friction level</strong> of these environments is definitely something to keep as low as possible. Model interpretation versus traditional code generation can be helpful also to reduce startup times and opening another instance of the same environment.</p>
<p>The new born project <strong><a title="Spray project" href="http://code.google.com/a/eclipselabs.org/p/spray/">Spray</a></strong> (as reported by <a title="Karsten on Spray" href="http://kthoms.wordpress.com/2011/05/30/spray-a-quick-way-to-create-graphiti/">Karsten</a>) can be quite helpful as a neutral DSL definition for describing graphical DSL in an technological agnostic way. The risk however is if it is too close to a certain technology stack like GMF or Graphiti it will only be used in such context. To my understanding, a Spray definition should be implementable also in Microsoft DSL Tools  to put a extreme counterpart.</p>
<p>If a contest for the novel tool of the year will have ever existed in CG, IMHO this year had been awarded to <strong>The Whole Plaftorm</strong> by Riccardo Solmi and Enrico Persiani. They have a nice and cool looking projectional tool that was deeply unknown to all of us. So, welcomed to the club!</p>
<p><strong>XML</strong> is definitely not for humans (Terrence Parr) and XMI sucks for XML transitivity (Ed Merks).</p>
<p>Finally <strong>Mark Dalgarno</strong> and <strong>his team</strong> were <strong>superb</strong> organizing all the logistics to make all of this possible. Thanks to everyone and see you there next year.</p>
]]></content:encoded>
			<wfw:commentRss>http://pjmolina.com/metalevel/2011/05/code-generation-2011-a-personal-review/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>First public Essential 0.4.44 Beta!</title>
		<link>http://pjmolina.com/metalevel/2011/05/first-public-essential-beta/</link>
		<comments>http://pjmolina.com/metalevel/2011/05/first-public-essential-beta/#comments</comments>
		<pubDate>Wed, 11 May 2011 09:11:57 +0000</pubDate>
		<dc:creator>Pedro J. Molina</dc:creator>
				<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[Essential]]></category>
		<category><![CDATA[MDD]]></category>
		<category><![CDATA[language workbench]]></category>
		<category><![CDATA[mdsd]]></category>

		<guid isPermaLink="false">http://pjmolina.com/metalevel/?p=681</guid>
		<description><![CDATA[The Code Generation 2011 conference and the Language Workbenches Competition 2011 Workshop are quite close in the calendar. I want to celebrate it with the MDD community sharing my work on Essential (a tool designed for acquiring speed with Model Driven Development). On 11th may 2011, version 0.4.44 has been released as the first public beta. Essential [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" style="margin-left: 10px;" title="Essential Logo" src="/img/LogoEssential300px.png" alt="Essential Logo" width="180" height="99" /></p>
<p>The <a title="Code Generation 2011" href="http://www.codegeneration.net/cg2011/index.php">Code Generation 2011</a> conference and the <a title="LWC2011 Workshop" href="http://www.languageworkbenches.net/workshop.html">Language Workbenches Competition 2011 Workshop</a> are quite close in the calendar.</p>
<p>I want to celebrate it with the MDD community sharing my work on <strong><a title="Essential - MDD tool" href="http://pjmolina.com/metalevel/essential">Essential</a> </strong>(a tool designed for acquiring speed with Model Driven Development). On 11th may 2011, version 0.4.44 has been released as the<strong> first public beta</strong>.</p>
<p>Essential is a meta-modeling and code generation tool providing specific DSLs to define and consume:</p>
<ul>
<li>Metamodels</li>
<li>Models</li>
<li>Templates (using StringTemplate) &amp;</li>
<li>Transformations (Model2Text and Model2Model)</li>
</ul>
<div>With a strong emphasis on model interpretation, prototyping a code generation can be done in an agile way without the need of generating any infrastructure boilerplate or meta-editor plumbling accessories.</div>
<div>The main goals of the tools is to enable software architects to:</div>
<div>
<div>
<ul>
<li>Prototyping software directly from models in a unexpensive way</li>
<li>Evolve theirs software architectures as fast as possible experimenting with design choices</li>
<li>Benchmarking and comparing architectures</li>
<li>Code generation</li>
</ul>
</div>
</div>
<div>For all of you interested in, feel free to <a title="Essential evaluation version download" href="http://pjmolina.com/essential/download-eval/">try it</a>, enjoy and provide feedback.</div>
<p>Try it also with the sample projects created for the <a title="LWC2011 Essential sample models" href="http://code.google.com/p/lwc11-essential/downloads/list">LWC 2011 challenge</a>.</p>
<p><a title="Essential evaluation version download" href="http://pjmolina.com/essential/download-eval/"><img class="alignnone" title="Download Essential" src="/img/blue-box256.png" alt="" width="100" height="100" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://pjmolina.com/metalevel/2011/05/first-public-essential-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LWC2011 list of participants disclosed</title>
		<link>http://pjmolina.com/metalevel/2011/03/lwc2011-list-of-participants-disclosed/</link>
		<comments>http://pjmolina.com/metalevel/2011/03/lwc2011-list-of-participants-disclosed/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 21:31:59 +0000</pubDate>
		<dc:creator>Pedro J. Molina</dc:creator>
				<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[MDD]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[language workbench]]></category>
		<category><![CDATA[lwc]]></category>

		<guid isPermaLink="false">http://pjmolina.com/metalevel/?p=667</guid>
		<description><![CDATA[Angelo Hulshout has disclosed the list of participants taking part in the first Language Workbenches Competition to be organized on May 24th, at Cambrigde, UK. Just before the Code Generation annual conference. Finally, I will also be there presenting Essential as a solution to the challenge. It&#8217;s a nice excuse to go there, just in case! Now [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="LWC11 - Essential" src="http://code.google.com/p/lwc11-essential/logo?cct=1298648794" alt="" width="153" height="47" />Angelo Hulshout has disclosed the <a title="LWC workshop" href="http://www.languageworkbenches.net/workshop.html" target="_blank">list of participants</a> taking part in the first <strong>Language Workbenches Competition</strong> to be organized on May 24th, at Cambrigde, UK. Just before the <a title="CG2011" href="http://www.codegeneration.net/cg2011/index.php" target="_blank">Code Generation annual conference</a>.</p>
<p>Finally, I will also be there presenting <a title="Essential" href="http://pjmolina.com/metalevel/essential/" target="_blank">Essential</a> as a solution to the challenge. It&#8217;s a nice excuse to go there, just in case! <img src='http://pjmolina.com/metalevel/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now I can hear in the background the sound of knives being sharpened, nevertheless with an Olympic spirit. }:)</p>
<p>If you want to see the State of the Art of the next generation Software Engineering tools in action, don&#8217;t miss the opportunity and join us. See you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://pjmolina.com/metalevel/2011/03/lwc2011-list-of-participants-disclosed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>StringTemplate: a great template engine for code generation</title>
		<link>http://pjmolina.com/metalevel/2010/11/stringtemplate-a-great-template-engine-for-code-generation/</link>
		<comments>http://pjmolina.com/metalevel/2010/11/stringtemplate-a-great-template-engine-for-code-generation/#comments</comments>
		<pubDate>Fri, 26 Nov 2010 00:34:34 +0000</pubDate>
		<dc:creator>Pedro J. Molina</dc:creator>
				<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[DSL]]></category>
		<category><![CDATA[Essential]]></category>
		<category><![CDATA[MDD]]></category>
		<category><![CDATA[cg2011]]></category>
		<category><![CDATA[stringtemplate]]></category>

		<guid isPermaLink="false">http://pjmolina.com/metalevel/?p=637</guid>
		<description><![CDATA[When building a new tool for modelling and code generation like Essential, one has to rethink again what template engine use to drive all the machinery. In code generation contexts, template engines are a good field for innovation and your choice will be with you probably for the full lifetime of your tool. In this [...]]]></description>
			<content:encoded><![CDATA[<div>
<p><img class="aligncenter" title="Paper Templates, licensed CC Attribution by Edinburgh City of Print" src="http://farm3.static.flickr.com/2581/4203670446_ef6f914933.jpg" alt="Paper Templates, licensed CC Attribution by Edinburgh City of Print" width="500" height="213" /></p>
<p>When building a new tool for modelling and code generation like <a title="Essential / MDD tool" href="http://pjmolina.com/metalevel/essential/" target="_blank">Essential</a>, one has to rethink again what template engine use to drive all the machinery. In code generation contexts, template engines are a good field for innovation and your choice will be with you probably for the full lifetime of your tool.</p>
<p>In this post, I will try to introduce and explain why <a title="StringTemplate" href="http://www.stringtemplate.org/" target="_blank">StringTemplate</a> is a superb engine for doing code generation and why you should consider it if dealing with a code generation scenario.<span id="more-637"></span></p>
<p>As commented before in <a title="Selecting a template engine for code generation" href="http://pjmolina.com/metalevel/2009/06/choosing-a-template-engine-for-code-generation/" target="_blank">other post</a>, I felt in love with StringTemplate in 2005 when I discovered <a title="ANTLR" href="http://www.antlr.org/" target="_blank">ANTLR</a> and StringTemplate during the development of a MDD workbench for a customer. Prior to that date, I had tested many template engines and also developed on my own a pair of them. For one reason or another, I was not comfortable with the language, the coupling of the template with the transformation control, or the maintainability of the templates in the long term. As the time goes by, this last point arises as crucial to maintain and evolve your architecture.</p>
<p>Therefore, one could say that I am being quite loyal to StringTemplate for the last 5 years, and that too much for technology, moreover, for a product software. And such loyalty is definitely not my merit for not been promiscuous in this issue, but a merit of StringTemplate: I’m still looking for new ways for improvement and didn’t find one better to my needs. (<em>Note: this is probably the best compliment I never paid to a piece of good software.</em>)</p>
<p>Some products shine thanks to the many features they provides, StringTemplate sparkles for avoiding adding features in the wrong place. I will elaborate a bit more on that.</p>
<h2><span style="font-weight: normal;">MVC</span></h2>
<p><strong><a title="Model View Controller Pattern" href="http://en.wikipedia.org/wiki/Model%E2%80%93View%E2%80%93Controller" target="_blank">Model View Controller</a></strong> is an old and good “classic” architectural pattern providing a solution to organize the pieces of a user interface. Originally proposed by <a title="Trygve Reenskaug" href="http://en.wikipedia.org/wiki/Trygve_Reenskaug" target="_blank">Trygve Reenskaug</a>, in Smalltalk in 1979. It has been lately again on fashion, especially in the building of web sites, multi-channel user interfaces and promoting UI testability thanks to the application of the principle of <a title="Separation of Concerns" href="http://en.wikipedia.org/wiki/Separation_of_concerns" target="_blank">Separation of Concerns</a> that the pattern provides.</p>
<p>There are many variants or dialects to MVC out there, but the simple one is enough to describe our scenario: code generation.</p>
<p>Code generation can be seen as a classic MVC domain with the three roles easily identifiable:</p>
<ul>
<li><strong>A model</strong>: the variable data in consideration, the metadata to be generated in this case.</li>
<li><strong>A view</strong>: the template with the form of the target language and providing holes or slots to be later being fill in (the output).</li>
<li>And the transformation <strong>controller</strong>: the piece in charge of selecting with model parts should be selected, combine and finally inserted in which template holes/slots to render the final and concrete view.</li>
</ul>
<p>The main problem with traditional template engines is that there are lots of template engines that mix the last two roles (for example all coming from web development in the flavour of JSP or  ASP variants). The view and the transformation controller are intermingled and this situation, in the long time, is not good. I found this strict separation of responsibilities crucial for the maintainability of the templates.</p>
<p>And StringTemplate does exactly that. It syntax and features, although could be strange for the first time, was carefully selected to not allow you to do control choices in the view. It allows to define templates, declare named holes (or slots) and an inline for-each and if statements.</p>
<p>Let’s review a basic sample of StringTemplate syntax:</p>
<pre class="brush:c-sharp;">group mail;

genMail(msg)::=&lt;&lt;
Mail: Subject $msg.Subject$
From: $msg.From:genAddress()$
To: $msg.To:genAddress(); separator=”, “$
&gt;&gt;

genAddress()::=&lt;&lt;$it.Name$ ($it.Email$)&gt;&gt;</pre>
<p>The sample contains two templates: one for a mail, and a second one for each address. Templates can have parameters explicit parameters like name, but also there is an implicit keyword (it) to reference the current iterating context.</p>
<p>Named holes or slots are defined are marked with $expression$ where expression is a constrained expression resolution of the model properties received.</p>
<p>In the sample, genAddress() template will be invoked to resolve the From and To properties. Assuming that <strong>From</strong> is a monovaluated property and that <strong>To</strong> is a list, the template iterates throw the collection received and evaluates the template for each item. Note the separator modifier used to describe how items should be rendered.</p>
<p>That’s all in the template, the view. It’s forbidden to compute any value inside the template. The idea is that only read operations are going to be done into the model to get the data needed to fill the template.</p>
<h2>How to consume the template?</h2>
<p>From the transformation side (the controller) consuming a template is something such straightforward as the following one:</p>
<pre class="brush:c-sharp;">//1. Select the template
StringTemplate tlp = group.InstanceOf(“genMail”);
//2. Set parameters
tlp.setAttribute(“msg”, message);
//3. Get the result
string result = tlp.ToString();</pre>
<p>It is frequent to find people complaining StringTemplate about not having enough freedom for example to call functions from the inside. But this is not a missing feature, this done on purpose to assure no side effects of such computations. The motto is; if you need to compute something, do it the transformation stage.</p>
<p>This only has covered a very basic intro to StringTemplate. If you are interested you can browse for more contents in the main documentation of StringTemplate.</p>
<p>Of course, <a title="Essential" href="http://pjmolina.com/metalevel/essential/" target="_blank">Essential</a> uses StringTemplate!</p>
<h2>ST &amp; ANTRL on Code Generation 2011</h2>
<p>By the way, the father of StringTemplate and the superb meta-compiler tool called ANTLR is <a title="Terrence Parr" href="http://www.antlr.org/wiki/display/~admin/Home" target="_blank">Terrence Parr</a>. He teaches compiler construction in the <a title="University of San Francisco" href="http://www.cs.usfca.edu/" target="_blank">University of San Francisco</a>.</p>
<p>I was planning to prepare this post for some months, but in the meanwhile, <a title="Mark Dalgarno's blog" href="http://blog.software-acumen.com/" target="_blank">Mark Dalgarno</a> (the main organizer of Code Generation Conferences) has surprises us announcing the next keynote for CG2011.</p>
<p>I am quite happy to see that, as announced by Mark, that in the next edition of <a title="Terrence Parr" href="http://www.codegeneration.net/cg2011/keynotes.php" target="_blank">Code Generation 2011 Terrence is going to be present as one of the invited keynotes</a>!</p>
<p>So, if you are interested in all of these topics, join us and meet Terrence on May 25-27, 2011 in Cambridge, UK on <a title="Code Generation 2011" href="http://www.codegeneration.net/cg2011/" target="_blank">Code Generation 2011</a>.</p>
<p><a title="Call for spekers" href="http://www.codegeneration.net/cg2011/speak.php" target="_blank">The call for speakers for CG2011</a> is open till January 15<sup>th</sup> 2011.</p>
<p><strong>To know more:</strong></p>
<ol>
<li><a title="Enforing String MV in template engines" href="http://www.cs.usfca.edu/~parrt/papers/mvc.templates.pdf" target="_blank">Enforcing Strict Model-View Separation in Template Engines</a>, Terrence Parr</li>
<li><a title="StringTemplate" href="http://www.stringtemplate.org" target="_blank">StringTemplate</a></li>
<li><a title="ANTLR" href="http://www.antlr.org" target="_blank">ANTLR</a></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://pjmolina.com/metalevel/2010/11/stringtemplate-a-great-template-engine-for-code-generation/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

