Microsoft Templates included in jQuery 1.5!

When I joined the ASP.NET team as the Program Manager for Ajax, the ASP.NET team was working on releasing a new version of the Microsoft Ajax Library. This new version of the Microsoft Ajax Library had several really innovative and unique features such as support for client templates, client data-binding, script dependency management, and globalization. However, we kept hearing the message that our customers wanted to use jQuery when building ASP.NET applications.

Therefore, about ten months ago, we decided to pursue a risky strategy. Scott Guthrie sent me to Cambridge to meet with John Resig – the creator of jQuery and leader of the jQuery project – to find out whether Microsoft and jQuery could work together. We wanted to find out whether the jQuery project would be open to allowing Microsoft to contribute the innovative features that we were developing for the Microsoft Ajax Library — such as client templates and client data-binding — to the jQuery library.

Fortunately, the Cambridge meeting with Resig went well. John Resig was very open to accepting contributions to the jQuery library. Over the next few months, we worked out a process for Microsoft to contribute new features to the open-source jQuery project. Resig and Guthrie appeared on stage at the MIX10 conference to announce that Microsoft would be contributing features to jQuery.

It has been a long journey, but I am happy to report success. Today, Microsoft and the jQuery project have announced that three plugins developed by developers on the ASP.NET team – the jQuery Templates, jQuery Data Link, and jQuery Globalization plugins – have been accepted as official jQuery plugins. In addition, the jQuery Templates plugin will be integrated into jQuery 1.5 which is the next major release of jQuery.

You can learn more about the plugins by watching the following Web Camps TV episode hosted by James Senior with Stephen Walther:

Web Camps TV #5 – Microsoft Commits Code to jQuery!

You can read Scott Guthrie’s blog announcement here:

http://weblogs.asp.net/scottgu/archive/2010/10/04/jquery-templates-data-link-and-globalization-accepted-as-official-jquery-plugins.aspx

You can read the jQuery team’s announcement here:

http://blog.jquery.com/2010/10/04/new-official-jquery-plugins-provide-templating-data-linking-and-globalization/

I wrote the original proposal for the jQuery Templates plugin. Dave Reed and Boris Moore were the ASP.NET developers responsible for actually writing the plugin (with lots of input from the jQuery team and the jQuery community). Boris has written a great set of tutorials on the Templates plugin. The first tutorial in his series is located here:

http://www.borismoore.com/2010/09/introducing-jquery-templates-1-first.html

I want to thank John Resig, Richard Worth, Scott Gonzalez, Rey Bango, Jorn Zaefferer, Karl Swedberg and all of the other members of the jQuery team for working with the ASP.NET team and accepting our contributions to the jQuery project. 

Discussion

  1. Roland says:

    Awesome! Keep up the good work :)

  2. Roland says:

    Another development that would be worth mentioning is a complete tool for unit-testing javascript / Ajax.

    I know such tool is not aimed to be a plugin.

    This would give the world a powerful tool aimed at all the javascript developers.

    Just a thought :p

  3. Agafonov says:

    Cool news, keep it up! jQuery is the best framework for JavaScript.

  4. Trotsky says:

    I can’t wait for the template plugin to show up in the CDN. ETA?

  5. @Trotsky – Looks like the jQuery team already added the Templates plugin to the CDN. I’ll update the CDN info page later tonight with the correct URLs.

  6. Trotsky says:

    Developments like these will undoubtedly expose a wide audience to .NET, a stack they might not have previously considered. Hats off to you guys.

  7. ArthurDent says:

    My fingers are crossed for a jQuery DataGrid from Microsoft that works well with MVC.NET. A DataGrid with a polished API and editable cells would be a great early Christmas present.

  8. souptoy says:

    @ArthurDent I second that

  9. This sounds really exciting. I am looking forward to the forthcoming jQuery 1.5 release.

  10. I am working on asp.net project and i need to know that how to use jQuery when building ASP.NET applications.
    please anyone can help for same.

    Thanks