jQuery – my new best friend…

Friday, January 25, 2008

The typical web application development process for me starts with finding a really great site template. Hopefully, it will include at least a couple of layouts, all the images, and very tidy stylesheets. So now I start building the application and inevitably start tweaking CSS classes, adding new ones, renaming, deleting and pretty much pillaging the entire template. Then I start adding my own javascript, AJAX, and more flashy UI stuff. Pretty soon, I’m working 90% on the UI and the rest actually developing the application.

jQuery makes all this “flashy” stuff a piece of cake, even if you don’t have a lot of javascript experience. It even allows advanced features like posting forms using AJAX, handling responses and anything else you can imagine. The most attractive feature is how easy it really is to implement. In just 2 lines of code you can get some amazing results.


I don’t see jQuery mentioned often in the ASP.NET community, so hopefully this will incite some exploration. There is the core jQuery API as well as hundreds of plugins which you can use with it. Its got huge community support and it’s open source.


Check out some of the UI plugins for it here to get a feel for it. View the source of the demos to see now little javascript it really requires. You’ll also want to browse the main page for more info and to start getting used to the syntax.


I plan to have more posts specifically about integrating jQuery with the ASP.NET MVC Framework.


Hope this helps!



4 Comments

  1. I’ve just recently discovered jQuery. It is indeed awesome.

  2. John S. says:

    jQuery is the best thing that ever happened to JavaScript and “Ajax”. The plugins really put it over the top. tablesorter and tabs are my favorite.

    If only INamingContainer didn’t exist, it would be perfect. Obviously that’s not jQuery’s fault.

  3. SixYo says:

    In my option jQuery is the best javascript library

  4. Ber_Arg says:

    Jquery is amazing. Check my post about a trick a use with it (it’s in spanish, but you can understand).
    http://weblogs.asp.net/bernardoraskovsky/archive/2008/01/31/base-page-con-jquery-script-aculo-us-motools-etc.aspx

Leave a Reply