Some "time" back, I was given a choice to decide between jQuery and Silverlight.
I did not delve into the discussion of what Silverlight is and what jQuery is. I just presented the solution, using jQuery for lightweight UI's, Silverlight if its intranet based.
First, please understand that Silverlight is not Macromedia Flash. It is far more superior, and elegant; -- and -- it has the "capabilities" of Flash.
![]()
[Image shamefully stolen from Silverlight/Javascript interop library :0) ]
Silverlight and jQuery "may be" intended for similar things, rich user interface, but Silverlight has a complete framework that utilizes the power of .NET and provide rich feature set.
Actually comparing jQuery and Silverlight feels like comparing a red-apple with one-hundred-acre'd-fruit-farm.
Ok, that may be indigestible example, but that's how it really is.
Silverlight comes with a framework, while jQuery is just a JavaScript library. JavaScript -- that is used to play around with DOM elements; meaning? Find and manipulate the html elements. It is just ~30KB in size.
So, how can you compare the two?
The only way you *can* look into the two is from the UI perspective, both can be used to develop Rich Internet Application(RIA); for instance, the data grid provided by Silverlight, and the data grid provided by jQuery. Obviously in that case, jQuery is lightweight. But then again, you might need to "extend" the jQuery data grid to your custom needs. Its JavaScript, so you've got your length and breadth to play around.
Also, you can use jQuery inside Silverlight app, but you cannot otherwise.
The only problem is that, Silverlight requires to be downloaded, similar to Macromedia Flash plugin, but once you download it, you're good to go. Plus, with MEF(Microsoft Extensibility Framework) it feels cool to "componentize" a Silverlight app and load modules on-the-fly and on-demand.
So, must if you choose between the two, go for jQuery if you are considering a web based line of business - lightweight and simple;
And if its a web application, which means, intranet based application for some corporate customer, you can always play with the Silverlight and its features. It can help providing native windows application on the web.
The questions that may help you reach a decision:
0. What feature set customer is looking for? What domain does it belong to? For instance, for a media company you might choose Silverlight UI for a web based app, rather than a jQuery.
1. Is your customer ok with Silverlight requirement on every pc of the network? This means, application will not work if the user has not installed Silverlight.
2. If your customer wants an extra-ordinary user experience; which includes rich interactive media, games, simulation, etc.
3. jQuery may be easier to get along if you already know Javascript, but Silverlight would require a learning curve, atleast of 4 weeks to "really" get along.
Here is an interesting answer posted; and if you’re a jQuery fan this will soothe your veins.
Enjoy, the silver light (0;
Friday, May 20, 2011
Is ‘jQuery vs Silverlight’-comparison even possible?
| Reactions: |
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Windows Communication Foundation (WCF): Why use MessageContract when DataContract is there? Keeping it simple, stupid (KISS): Data contra...
-
I did a small in-house presentation for the young architects in our company and though of sharing my findings. We compared different ORMs, a...
-
Sometime back a question was asked to develop a well performant parser– there was no restriction defined in the question whatsoever as to wh...
-
How bypass integrated authentication using WebBrowser control? Well, sometime back, I was hosting the WebBrowser control over WinForm and ...
-
Couple of days ago I came across the following question over our local web blog, and following is what I replied. Question: [Discuss]: A...
-
Crystal Reports: PrintControl.Cab ActiveX problem Problem: I have a crystal report (some version) with asp.net (usually v2.0), I am using...
-
Crystal Report Viewer "This field name is not known.” Error! I was using Crystal Reports Viewer control in my ASP.NET web application; whe...
-
Problem Response is really slow when a page of ASP.NET/MVC web(site or app) is accessed first time. It takes around(depending?) 4/5 second...
-
Recently, I had to go through the implementation of a cheque clearing system; so, either because of the naive skull sticked on the top of my...
-
Yep, if you are moving to gulf(Dubai) from Pakistan (Karachi), it(the process) sounds like you are placing an order for a double cheese burg...
I totally Agree
ReplyDeleteI recently started a comparison with jQuery + html vs Silverlight and I think you have some good points there.
ReplyDeleteThe way we can compare SL and jQuery is by UI. IMO it's also possible to draw the scope a bit wider and even compare them by how they can both call webservices to make the UI aync.
Also though we'll have video playback in html5 there will always be a need for silverlight when we want to do more advanced stuff with these videos.