MozillaZine

MSDN Magazine Article on XML-Based GUIs

Tuesday October 22nd, 2002

Jacob pointed us towards an interesting Microsoft MSDN Magazine article on using XML to create user interfaces. In the tutorial, Paul DiLascia describes how to "develop an XML-based GUI language parser for .NET that lets you code resources, menus, toolbars, and status bars in XML instead of with procedural code." It introduces new XML elements, including <toolbar>, <button> and <menuitem>. Sound familiar? We thought so.

To be fair, DiLascia, who doesn't work for Microsoft, does acknowledge the influence of XUL, though he states, somewhat bizarrely, that it was developed by the "Java language folks". You can download the MotLib.NET C# class library for use in your own .NET applications but note that Microsoft restrictions prevent you from using it in open-source projects.


#32 The "source"?

by IriseLenoir

Saturday October 26th, 2002 12:15 AM

You are replying to this message

What's more, if it's an XML GUI, the "source" and the distributed GUI is the same... it might be compressed, but there's no way to really hide the source? Does that make it API that is illegal to use under all circumstances? Very useful...