InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

jQuery Gaining Traction With 1.2 and jQuery UI

Posted by James Estes on Sep 12, 2007

Sections
Development
Topics
Java ,
Rich Internet Apps ,
Javascript
Tags
jQuery ,
AJAX

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
  1. Back to top

    JQuery UI is not released yet

    by 陆 超

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

Educational Content

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.