New jQuery API Site

Posted on by

In anticipation of next week’s jQuery 1.4 release we’re revealing the brand new jQuery API site. Not only is this a complete redesign of the existing API site but it’s also a complete rewrite. Every single method has been rewritten from the bottom-up to provide the best possible information about how jQuery works.

API Documentation Rewrite

A couple months ago the jQuery team sat down to start rewriting the API documentation in anticipation for the 1.4 release. We were working with team member Karl Swedberg, one of the co-authors of Learning jQuery and the jQuery Reference Guide, and in reviewing his work on the next version of the jQuery Reference Guide came to the conclusion that he had written a superior resource. We contacted Packt publishing and came to agreement wherein the project would receive the contents of the jQuery Reference Guide so that we could use it and publish it on the API site as we see fit.

This is a huge coup for the jQuery community: I think you’ll find, when looking at the improved documentation, that the quality is dramatically improved over the old docs. There are more explanations, more examples, and the documentation has been made current with jQuery 1.4 wherever possible (there are still some gaps that we’re looking to close before the release but we’re very nearly there).

The new version of the jQuery Reference Guide, based upon this rewrite of the jQuery API, is coming out soon. I recommend watching the Packt publishing web site for more announcements.

We should mention that we’re working on a final set of licensing for the site’s contents. Once the final ducks are in a row we’ll be releasing the entire contents of the site under a Creative Commons license for all to use as they see fit.

API Site Redesign

The entire API site has been redesigned. We’ve taken special care to try and integrate many of the requests that’ve come in from users to improve the overall quality of the site.

API Home Page

To start you’ll notice that the API now has a dedicated sub-domain focusing completely on jQuery API:
https://api.jquery.com/

(Note: The old docs.jquery.com API pages will remain intact for about a week or so, so that we can make sure that everything is transitioned over, then we’ll set up the final redirects to the new site.)

This main landing page is optimized to get you to the methods that you want, as quickly as possible. The main page has every single jQuery method, property, and selector listed on it – you can scroll through the full list, or browse through the extensive category list on the side, or you can simply begin typing. When you type on the jQuery API homepage all the API entries will be instantly filtered.

Categories and Versions

One of the areas that we wanted to see improved in this iteration of the site was the quality of categories provided. To start, we’ve expanded the number of categories from our traditional jQuery module structure to become more comprehensive (and include topics like forms and plugin authoring). Along with this expansion we made it so that API entries could co-exist in multiple categories simultaneously. This will make it easier for you to find the entries you’re expecting, where they should be.

Additionally, and perhaps more importantly, we’ve added information to every single method, property, and selector in the API showing in which version they were added to jQuery. For example, you can see all the pieces of the API that were added, or changed, in jQuery 1.4 (Note: The aforementioned page is nearly complete, it’ll be more-so in time for the final 1.4 release next week). We have version information for every entry, going all the way back to jQuery 1.0.

API Entries

Individual API entries are not only easier to read but they’re also easier to find. You no longer have to divine which category an API entry might be in: You can simply access the name directly. For example:

When viewing an API entry you’ll likely note a few major changes: No more tabs hiding important entry content, clearer page organization, and most excitingly: A new, inline, commenting system.

As part of the move we’re moving away from using a wiki to power the API site. While it was nice to receive the occasional contributions from users those additions were far outweighed by the piles of spam that the wiki got. Now you can feel free to use the inline comment system to talk about the API entry, provide samples, and offer corrections. The jQuery team will be monitoring the comments and will periodically integrate recommended changes.

Performance and Backend

As mentioned before, we’ve switched away from using a MediaWiki backend to a new WordPress-powered backend. So far we’ve been very impressed with the performance. Every single page on the site is heavily cached and gzipped – with all media being served up from our CDN. We think you’ll find it to be a significant performance improvement over the old docs site.

jQuery API XML Dump

A big part of the rewrite of the new backend is that we can now provide a uniform XML dump of the jQuery API. Historically we’ve provided a Python script for scraping the contents of the wiki site but now we’re just going to provide that file directly and immediately to you. If you’re developing a tool that provides alternative views for displaying the documentation you can feel free to use the file as you see fit.

Thanks

I want to thank the whole jQuery team for their support but specifically Karl Swedberg, Jonathan Chaffer, Paul Irish, Boaz Sender, John Resig, Richard Worth, and Scott Jehl for their hard work in rewriting the documentation and making this site come to life. It was many hours of tedious work but we hope all will benefit from it in the end.

14 Days of jQuery and the New API Browser

Posted on by

Note from 2025: The jquery14.com domain is no longer owned by people behind jQuery. Its posts have been migrated directly to the jQuery blog, any remaining references are replaced with Web Archive links. Other than that, the content is mostly preserved for historical purposes.

It’s the start of a new year, and the jQuery team’s been hard at work. We’ve been up day and night working to crank out the upcoming jQuery 1.4 release, and there’s a LOT to announce! So much, in fact, that we’ll need fourteen full days to get it all out there… As such, I’d like to announce The 14 Days of jQuery 1.4 (archived)!

Beginning on January 14th, we’ll start a fourteen-day event. Each day we’ll have fresh videos and announcements — there’ll be code releases, project-related updates, and jQuery UI goodness, among other things. In addition to the announcements, we’ll also be releasing a set of videos over the 14 days with talks and tutorials relating the jQuery 1.4 release and other general jQuery topics. You’ll want to check back at jQuery14.com (archived) every day during the two weeks to see what’s new, or sign up to be notified via email. Think of it like an online conference, only longer, freer, and with a bit of mystery and suspense!

But Wait, There’s More!

We’ve got a lot planned for January 14th, but it seemed good to whet your appetite and pre-release some tasty jQuery morsels. Head over to jQuery14.com (archived) to learn all about the brand-new jQuery API site:

Be sure to subscribe to the jQuery14.com (archived) site or to the @jquery Twitter account for all the updates during these upcoming weeks.

Free Books, Anyone?

The jQuery project is a non-profit, open-source effort, and we rely heavily on donations and contributions to help fund everything we do. We’ll be running a fundraising drive starting now and throughout the 14 Days of jQuery. If you’re a jQuery user, show your support by making a tax-deductible donation of $20 USD (archived) or more to the project during the event, and you’ll receive a free jQuery book with your donation.

It’s always important to mention that much of this would not be possible without the help of the jQuery project sponsors; Netflix, JupiterIT Consulting, appendTo, Fusionary Media and Oxide Design Co have all signed on as official sponsors of the 14 Days of jQuery 1.4, along with our favorite jQuery book publishers, Manning, Packt, jQuery Enlightenment, and O’Reilly.

That’s it for now — head on over to jQuery14.com (archived) for much more to come!

jQuery 1.4 Alpha 2 Released

Posted on by

jQuery 1.4 Alpha 2 is released! This is the second alpha release of jQuery 1.4 (alpha 1 was released previously). The code is stable (passing all tests in all browsers we support), feature-complete (we’re no longer accepting new features for the release), and needs to be tested in live applications.

Grab the code:

NOTE: If you’re using jQuery 1.4a2 and you run into an error please make sure that you’re using the regular version of the code, it’ll make it easier to spot where the error is occurring.

How can I help?

To start, try dropping the above un-minified version of jQuery 1.4a2 into a live application that you’re running. If you hit an exception or some weirdness occurs immediately login to the bug tracker and file a bug. Be sure to mention that you hit the bug in jQuery 1.4a2!

We’ll be closely monitoring the bug reports that come in and will work hard to fix any inconsistencies between jQuery 1.3.2 and jQuery 1.4.

With your input we should be able to produce a solid release. Right now we’re looking to push out at least one beta around the beginning of the new year and a final release candidate early in January. The final release will occur on January 14th, coinciding with jQuery’s 4th birthday. Thanks for your help in reviewing jQuery 1.4a2!

jQuery 1.4 Alpha 1 Released

Posted on by

Hot off the presses: jQuery 1.4 Alpha 1 is released! This is the first alpha release of jQuery 1.4. The code is stable (passing all tests in all browsers we support), feature-complete (we’re no longer accepting new features for the release), and needs to be tested in live applications.

Grab the code:

NOTE: If you’re using jQuery 1.4a1 and you run into an error please make sure that you’re using the regular version of the code, it’ll make it easier to spot where the error is occurring.

How can I help?

To start, try dropping the above un-minified version of jQuery 1.4a1 into a live application that you’re running. If you hit an exception or some weirdness occurs immediately login to the bug tracker and file a bug. Be sure to mention that you hit the bug in jQuery 1.4a1!

We’ll be closely monitoring the bug reports that come in and will work hard to fix any inconsistencies between jQuery 1.3.2 and jQuery 1.4.

What to Watch For

There are a few areas in jQuery that have seen extensive changes since 1.3.2 was released:

  • live was drastically overhauled and now supports submit, change, mouseenter, mouseleave, focus, and blur events in all browsers. Also now supports context and data.
  • append, prepend, etc. have been heavily optimized.
  • add has been adjusted to always return elements in document order.
  • find, empty, remove, addClass, removeClass, hasClass, attr, and css have been heavily optimized.

Full details concerning the release are forthcoming – for now we just need your help in catch regressions. Some more details can be found in John Resig’s keynote at the 2009 jQuery Conference.

Note: There are still a few open bugs that we will be reviewing before jQuery 1.4 final is released.

With your input we should be able to produce a solid release. Right now we’re looking to push out at least one more alpha before the holiday season and a final release candidate early in January. Thanks for your help in reviewing jQuery 1.4a1!

jQuery Joins the Software Freedom Conservancy

Posted on by

You’ve been hearing for almost a year now that the jQuery Project was going to join the Software Freedom Conservancy.  As we stated on January 14th, 2009:

By joining The Software Freedom Conservancy, the jQuery projects and community immediately realize some important benefits:

  • It allows the current project members to continue to manage the projects and maintain ultimate responsibility for the direction of current and future efforts.
  • It allows the projects to be considered a true non-profit efforts allowing us to be able to accept donations and contributions without incurring tremendous personal financial liability.
  • The copyright of the code will be assigned to the conservancy thus ensuring that no single person will own contributions or assets of the project.
  • It may allow corporations to write off time when an employee contributes to a project.
  • Most importantly, it ensures that the jQuery projects will always be open and free software.

This is a big step in formalizing the jQuery projects and an important accomplishment in ensuring that the investment being made by the jQuery community is protected.

The Software Freedom Conservancy outlines the benefits of joining quite well:

One of the principal benefits of joining the Conservancy is that member projects get all the protections of being a corporate entity without actually having to form and maintain one. These benefits include, most notably, the ability to collect earmarked project donations and protection from personal liability for the developers of the project. Projects can continue to operate in the same way they did before joining the Conservancy without having to select a board of directors or any other layer of corporate management, without having to maintain corporate records and without having to do any of the other things required of incorporated entities. The Conservancy handles all of that burden on behalf of its projects.

The Conservancy is a tax-exempt 501(c)(3) organization, so member projects can receive tax-deductible donations to the extent permitted by law. The Conservancy files a single tax return that covers all of its member projects and handles other corporate and tax related issues on behalf of its members, who are, of course, always free to join and leave the Conservancy at any time. Additionally, by not having to form a new organization, projects avoid having to pay the fees and spend the time required by the state incorporation and federal tax exemption application processes.

On September 11th, 2009, at the jQuery DevDays in Boston, MA the whole team was together and the documents were signed to officially join the Conservancy.

jQuery Team Signs Documents to join Software Freedom Conservancy

Left to Right: Brandon Aaron, Rey Bango, John Resig, Paul Bakaus, Richard D. Worth and Cody Lindley look on as the documents are signed. (Photo by Jörn Zafferer)

Since then we’ve formed the jQuery Project and have formalized a voting process to vote on adding or removing voting members, financial spending, etc.  Voting is done in public, and you can monitor votes here.

jQuery’s financials have also been transferred to the Conservancy and all your great donations are now managed by the Conservancy based on the direction of the voting members of the jQuery team.

Late last month the final details required by the Conservancy were ironed out and on Tuesday this week the Conservancy welcomed the jQuery Project as its 19th member.

One final detail we are still working on is transferring the copyright of the code to the Foundation.  We are hoping to get that done in the near future.  Transferring the copyright to the Foundation will ensure that the code will live forever.

You can listen to John Resig talk more about joining the Software Freedom Conservancy in Episode 1 of the Official jQuery Podcast.

Announcing the Official jQuery Podcast

Posted on by

On Wednesday night, Ralph Whitbeck and Elijah Manor recorded the first of many weekly episodes that aim to interview key members of the jQuery Community while bringing you the top news from the past week.

We will be recording and streaming the audio live each Wednesday night at 10PM EST on uStream.  You can also subscribe to the show via iTunes or via the RSS Feed.
Our guest this week was jQuery creator, John Resig.

Future shows will have guests such as Richard D. Worth (jQuery UI Release Manager), Paul Irish (yayQuery podcast), Rey Bango (jQuery Evangelist), Ben Alman (jQuery Plugin Author) plus many more.

We will be posting the show notes on the blog each week below is the show note for episode 1.

Continue reading

jQuery Summit – Nov. 19th

Posted on by

jQuery Summit

Environments for Humans is running a one-day, online conference focusing on jQuery. The conference will be on November 19th and will feature a number of prominent members of the jQuery community, including members of the jQuery team.

The following talks are slated for the jQuery Summit:

  • The State of jQuery – John Resig
  • Web Interface Essentials – Marc Grabanski
  • RIAs: Building for the Desktop with the Web – Jonathan Snook
  • Rich Interactivity, Simplified, with jQuery UI – Richard Worth
  • Refactoring jQuery – Jonathan Sharp
  • JavaScript for Designers – David McFarland
  • Building Robust jQuery Plugins – Jörn Zaefferer
  • jQuery Anti-Patterns for Performance & Compression – Paul Irish

While a number of these talks are reprisals from the recent jQuery conference, this event is not being run by the jQuery project. That being said, it looks like it’s going to be a lot of fun, and we encourage those that missed the conference in September to check it out.

All attendees will be receiving a free copy of the upcoming jQuery Cookbook, from O’Reilly. Additionally a number of prizes will be given away to attendees (books, DVDs, etc.).

Register for the jQuery Summit

There is a ticket discount in effect until October 30th. Additionally, if you register and use the discount code JQRYRESIGJ you’ll save an extra 10% off the overall price. A portion of the proceeds will be coming back to help fund the project.