InfoQ

News

jQuery Gaining Traction With 1.2 and jQuery UI

Posted by James Estes on Sep 12, 2007

Community
Java
Topics
Javascript ,
Rich Internet Apps
Tags
AJAX ,
jquery

jQuery is quickly becoming the Ajax library of choice for many. Its API is deceptively simple, it is consistent across browsers, well documented, it supports many features developers have come to expect of a library, it has a compelling plugin architecture making jQuery extensible in a future-proof manner, and it has an active development cycle and community.

That last point was really highlighted today when they announced the jQuery 1.2 release less than 3 weeks after its predecessor 1.1.4. The team has been quite visible in their development and many of the features described in the jQuery 1.2 roadmap made it into the target release. The new features include:

  • Partial Load - "Partial .load() allows you to load chunks of HTML documents into your page, filtered by a jQuery selector. This works just like a normal Ajax .load(), but you just specify a selector immediately following the URL that you're retrieving."
  • Remote Scripts - "You can now use getScript to dynamically load, and execute, remote scripts. This could be used to load in jQuery plugins or other code modules."
  • Disable Caching - "In an $.ajax call you can now prevent requests from being cached by the browser by providing an extra cache: false flag. This will ensure that any GET requests that you might be performing will absolutely be retrieving the latest version of the page."
  • Percentage based animations - "Animations can now be done using em values or percentages as well as pixel values. They can even be mixed within the same animate() call."
  • Color Animations - "A new official jQuery plugin that supports animating CSS colors of elements by using the new jQuery.fx.step. Supported CSS properties include: 'backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'."
  • Offset - " _fcksavedurl="">Offset - "Brought over from the Dimensions plugin, the .offset() method allows you to find the offset of the element (as 'top' and 'left') from the top-left corner of the document."

True to their goal of keeping the library concise (the new version weighs in at an impressive 14kb minified and gzip'ed), some functionality has been removed in this release.  For this release, they have provided an Upgrade Path that includes a compatibility plugin (leveraging their own plugin architecture) for the removed bits.

Another big announcement was a preview of jQuery User Interface:

This Sunday, September 16th, the brand new jQuery UI is coming to your town. Draggables, droppables, resizables, shadows, sliders, sortables, tabs, accordions, selectables, trees, and modals. All completely documented, demoed, themed, and 100% Free Open Source Software.
jQuery 1.2 release has many new features as well as support for removed features.  This shows a level of dedication to the users that will be appreciated by those that use jQuery and attractive to those that do not.
JQuery UI is not released yet by 超 陆 Posted Sep 13, 2007 9:14 AM
  1. Back to top

    JQuery UI is not released yet

    Sep 13, 2007 9:14 AM by 超 陆

    And it's said to be on 16th in google groups.

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.