Asual

Wednesday,
5 May 2010

jQuery Address 1.2 - Ajax Crawling, URL building and more

I'm happy to announce the strongest jQuery Address release up to date. In the last few months we put a lot of effort in adding new features and samples as well as incorporating bug fixes and community feedback.

Probably the most important update is the strong integration between the plugin and the Ajax Crawling mechanism promoted by Google. The sample that jQuery Address ships with is unobtrusive as possible and works even better than the Google's own GWT example. We used PHP to showcase all the aspects of this integration but we'll try to add samples for more languages in the near future.

Another huge improvement is the ability to build deep linking values part by part. It should replace any custom string concatenation functions that you have used in the past and simplify the cases where you need to use many different parameters. In order to build such values or queries without the generation of history entries in the browser you may need to use the new autoUpdate mode setting.

Other notable features are the wrap option which will generate a DIV wrapper for your content in order to prevent scroll issues with the hash fragments, the support for hash fragments inside the value and the utilization of the the HTML5 onhashchange event where possible.

Here is a list of all the changes:

  • New queryString, parameter and path setters.
  • New autoUpdate, crawling and wrap options.
  • New generic bind method.
  • New Accordion, Crawling and Form samples.
  • Support for hash fragments as a part of the value.
  • Basic support for forms.
  • Improved onhashchange support.
  • Switched samples to HTML5.
  • Switched to the Closure compiler.
  • JSLint compatibility.
  • Simple test suite.
  • Support for jQuery 1.4.2 and jQuery UI 1.8.

Any comments and opinions are welcome but please use the GitHub issue system for bug reports.

Download jQuery Address 1.2

Wednesday,
23 Dec 2009

jQuery goodness - new Address, Format and Thead plugins

It has been almost half an year ago when we announced the jQuery Address plugin and it's great that we're now back with a new version and two other cool additions. We're releasing them at once because I hardly find the time to blog while the code has been available on GitHub for quite a long time. Here are some more details:

jQuery Address 1.1

I hope that all who tried it have enjoyed the clean API and feature set. There were some problems that may users reported but unfortunately until now there was no free time available for an official release. This new version works better with Internet Explorer, introduces news internalChange and externalChange events as well as various other small improvements.

jQuery Format 1.0

This plugin in based on some legacy code that I have successfully used in the past few years. It enables formatting and parsing of dates and numbers with a fair level of complexity and fits well in Java based applications that require internationalization. Parts of the code have been ported from scripts like date.js and probably from others that I don't even remember. I'm interested in adding support for time zones and ISO dates but that will probably happen only if I need them one day.

jQuery Thead 1.0

It's nice to have a sticky table header that is always visible when you scroll down in a long table. I experienced it while working with Drupal and I became eager to use in another project of mine. The enabling script was jQuery based but it wasn't a standalone plugin so I made it one. The original developer wasn't fine with me releasing the code in anything different than GPL so I had to change it completely in order to use the MIT license.

Happy Holidays to everyone! This is how we do it :)

Tuesday,
28 Apr 2009

Introducing jQuery Address

I'm happy to announce our first contribution to the jQuery ecosystem. Our brand new project called jQuery Address brings the deep linking functionality to jQuery and hopefully is going to simplify one of the most common tasks for JavaScript developers. In other words it provides an API for creating direct links to specific Ajax states and enables the Back and Forward buttons of the browser.

jQuery Address is a direct port of the SWFAddress library which has become a standard in the Flash world and has been used on many high profile websites. It supports all the major browsers and degrades flawlessly in a small percent of unsupported versions. This first release ships with 2 samples that showcase the different ways to utilize the plugin (API sample) and how to use with jQuery UI (Tabs sample). The next steps we're planning include documentation, SEO samples and integration with the SWFObject plugin.

The work on the plugin started a few months ago but so far I wasn't able to find the time to release it. It's my first serious work that involves jQuery and I'm open for suggestions, critiques and comments. I had great time learning the library and writing the most expressive code ever. The good thing about the plugin is that it has much smaller file size compared to SWFAddress but it also does not target Flash content at this point.

I hope that our experience in this field will be valuable to many jQuery users. The plugin already contains all the improvements included in the upcoming SWFAddress 2.3 which is we're planning to release tomorrow.

Download jQuery Address 1.0

Projects

Syndication

Blog Search

Blog Categories

Blog posts

Recommended sites