Xml as programming language
i read that phrase in an XML book i bought five long years ago. it was an amazing declaration that stuck in my head thru all these years. frankly, i never thought it would happen. but no sooner did i put down that bloody book, MSDN was showcasing code snippets scripted in the now familiar XML format. the MSDN article did have an amazing punchline too - those same scripts were supposed to run on the desktop or in a browser with nary a tweak. needless to say, i nearly fell off my chair.
about a week or so, MS released the .NET Framework 3.0 RC1. today i finally got the thing installed on my PC after almost a week of trying. it's quite comforting to know that i was not the only one who was scrambling to get this new piece of software with a kickass code name - WinFx.
RC1 brings to the table a simple yet powerful tool in crafting XAML scripts - XamlPad. unlike the trusty old NotePad which not a few web designers loved to hate, you will probably thank the heavens for this one. its simplicity is actually a boon to learning this new markup language.
to see what XamlPad is really all about, i dowloaded Charles Petzold's sample AllXamlClock from his blog and copy pasted it to XamlPad's editor. oh yes, the bloody thing works.
Petzold's clock is really amazing because there's no C# code-behind to control the movement of the hands, unlike other clock samples you may find on the net. could this be the fulfillment of that prophecy, that in near future, XML will become a dominant programming language?
oh well, Petzold's clock is really awesome, wouldn't it be nice to be able to use it on my good ol' Boo apps? why not, so after a couple of hours tinkering, i got Petzold's clock working on an old school Boo form.
