Wednesday, April 2, 2008

Silverlight 1.0 uses JavaScript...a word from Tanmoy

Working with Silverlight from no-flash background was an interesting thing for me. Silverlight 1.0 uses JavaScript as its programming language and thus well-known to all developer communities. Also with 1.1 and 2.0 releases Silverlight is taking advantages of .net framework and languages. So from the programming point of view Silverlight is having a very strong base. One thing is that Blend2 doesn’t have much facility for JavaScript debugging. I have used visual studio for getting help in debugging and IntelliSense. Though with later releases this problem is not likely to persist.

In most cases it is possible to separate coding part from designing with proper planning. For complex application it’s a great relief for both sides. From the code we can access normal HTML DOM objects and Silverlight objects with the tree structure or by x:Name and id. It’s also easy to create and remove objects like Ellipse, Rectangle or media files dynamically. It is also possible to load XAML files when required and make it lightweight and efficient. Creating Rich and interactive application with simple JavaScript event-handlers is in the same way developers are used to. With later versions many user controls has been added to help the development.

As Silverlight avoids using binary files it’s hard to obfuscate code but easily accessible to the search engine robots. (SEO people must love it).

No comments: