26 February, 2013

qajx 1.5.0


Developer:

Website:

License / Price:


Platforms:

Databases:

Language:

Last Updated:

Category:
Michael Gunderson | More scripts
github.com
MIT License
GPL - GNU General Public License 

Windows / Linux / Mac OS / BSD / Solaris
N/A
JavaScript
February 26th, 2013, 16:47 GMT [view history]
C: \ AJAX

While queuing AJAX calls might seem a bad idea since it forces asynchronous calls to become synchronous again, and then what would be the point of using AJAX in the first place (which makes synchronous calls become asynchronous), using qjax is a little different.

qjax creates a queue indeed, but still executes the calls asynchronous, only delaying their firing to a specific execution order.

It is generally a good idea to use qjax when a specific AJAX call depends on the result of another AJAX call (like editing a page and saving its content via AJAX).

A demo is included with the download package.

Requirements:

· JavaScript enabled on client side
· jQuery 1.8 or higher

What's New in This Release: [ read full changelog ]

· Changed internal queue object to expose promise methods, and added auto binding of promise events to $.ajax during queue change.
· Changed Queue to return queue object, so promise methods can be used for event binding.
· Added queueChangeDelay option to control the delay of kicking off the next ajax call, allowing time for promise usage.


Download button
Via: qajx 1.5.0

0 Comment: