ASP.NET + jQuery: What about PrototypeJS?

Well done jQuery

As everyone already knows, Microsoft has announced that jQuery will ship in the future with Visual Studio. I think this really is a step forward and will definitely complement all the exciting new developments going on with ASP.NET including the enhancements with ASP.NET Ajax and ASP.NET 3.5 + SP1.

But...

Here’s what I would like to know: Why did Microsoft choose jQuery? The only explanation I can come up with is: Well..why not?

I have ported JavaScript from jQuery to PrototypeJS and visa-versa, even emulated functionality I’ve seen in one with the other. After a while, I ended up settling into PrototypeJS, why? Well, honestly it’s probably not because of PrototypeJS itself, but because of script.aculo.us. Going back 12 months or so, the animations and effects in script.aculo.us to me appeared a little smoother and seemed to have more browser compatibility then the jQuery of the time.

I have recently been writing a client-side control extender using the ASP.NET Ajax libraries then using PrototypeJS+script.aculo.us to basically fill the gaps. And thus far these libraries are an exceptionally powerful and productive combination.

Battle tested

Lets also not forget that PrototypeJS + script.aculo.us are included as part of Ruby-on-rails, which basically means you can be assured that these JavaScript libraries have been deployed in a huge variety of websites in the Ruby community.

Taking a look at the warm-fuzzy real world client list on Prototype’s site and jQuery’s site, its obvious that both libraries are popular, there are a lot of big companies in each list, some are even listed in both. Funnily enough though Microsoft itself is listed only on the Prototype site.. :)

Conclusion?

Not really knowing where to get answers or reasons, I took a long shot and fired a tweet at Scott Hanselman…no pulse, but I didn’t expect anything. I’m just wanting to know what makes jQuery so special? It definitely has a better website then PrototypeJS. I’ve read forum comments that in some cases jQuery is only being used for it’s plugins, which are conveniently accessible from a link on the homepage. How many people even know that Scripteka has a collection of downloadable plug-ins for prototype!? I agree that the guys over at Prototype should look at a website refresh and start pulling the community together a bit.

The future 

In any respect I feel this is a step forward for Microsoft actually accepting and using Open Source products for .net instead of replicating them. And you never know, shipping NHibernate with Sql Server would be to me, a whole new level of respekt.

ASP.NET Internet General
Posted by: Brendan Kowitz
Last revised: 21 Sep 2013 12:15PM

Comments

Al
Al
10/5/2008 11:55:04 PM
I'm just happy that they've acknowledged that an open source product is of a high enough standard for them to include within their product.

For all we know, this may well be the beginning of a much bigger movement within Microsoft regarding OSS. They are already experimenting with different development strategies with ASP.NET MVC - maybe we'll see more in the near future as well.
10/6/2008 12:35:48 AM
Hi Brendan,

You may not know but jQuery has an equivalent to Scriptaculous which provides all of the same effects as well as solid UI controls. jQuery UI is well supported and constantly being updated. Be sure to check it out at ui.jquery.com

Rey
jQuery Team
10/6/2008 6:26:03 AM
...I think it's time to give jQuery another shot in future projects.
10/6/2008 6:26:27 AM
...I think it's time to give jQuery another shot in future projects.
10/7/2008 12:54:46 AM
Personally, I would tend to agree that jQuery has eclipsed Prototype/Scriptaculous.
10/7/2008 6:18:48 PM
Cheers Scott, happy to hear it :)

No new comments are allowed on this post.