Pierre Greborio.NET

Talking about .NET world

XALM and InfoPath

In a recent post, Chris Anderson posted a brief history overview about XAML:

"Here introduces one of our current debates - is XAML a programming language or a resource format? With XAML you can define new types, define interactivity with "def:Code", and specifiy member variables of the type using "ID". XAML also defines the UI appearance of something, and is used for localization scenarios. XAML lacks any imperitive constructs (branching, etc.). XAML is more of a "programming model" rather than a language, so we have left it at that - "XAML is a declarative programming model"."

Reading the story (I've not been at PDC :-( ) I can recognize some similarities with Microsoft InfoPath 2003 form code. For example, a TextBox is coded as:

<span class="xdTextBox" hideFocus="1" title="" xd:xctname="PlainText" xd:CtrlId="CTRL2" tabIndex="0" xd:binding="my:txtName" style="WIDTH: 130px">
  <xsl:value-of select="my:txtName" />
</span>

ok, that is XSL, but it's very similar to XAML concept. Hope to learn more on XAML...in the near future.

Comments

No Comments