Thursday, December 06, 2007

Volta - typed JS?

Recently, Microsoft released Volta. This is kind of framework, that using .NET to emit client side JS code. Something very similar, was released in ASP.NET AJAX 1.0. So, now, you can access your anchor element in HTML DOM by using following expression

string val = Document.GetById<A>("myHref").Value;

Instead of using following expression in current JS

var val - document.getElementById("myHref").Value;

Pretty cool, however, while web development trying to escape variable types, client side development trying to get into it. Isn't is nonsense?

BTW, this concept already incorporated by Google and other web "prototype" service providers.

Other possible appliance of such framework is ability to work with typed and generic methods, revealed by Silverlight.

image

Download and try Vola >>

No comments: