Download & Extend

High-performance JavaScript callback handler

JavaScript callback handler is an interim solution for high-performance server requests including (but not limited to) AHAH, AJAX, JSON, XML, etc.

Note that this module does nothing on itself, only install it if another module leverages its functionality and instructs you so.

By copying the included js.php front controller to Drupal's root directory, setting up clean URLs, and adding an Apache RewriteRule (see README for full installation instructions), any JavaScript code is able to retrieve information from Drupal at lightning speed.

Apache benchmarks

index.php:

  ab -n20 -c1 http://example.com/index.php?q=js/mymodule/callback
  Requests per second: 2.24 [#/sec] (mean)
  Time per request:    446.846 [ms] (mean)

js.php:
  ab -n20 -c1 http://example.com/js.php?q=js/mymodule/callback
  Requests per second: 16.84 [#/sec] (mean)
  Time per request:    59.371 [ms] (mean)

Requirements

  • Clean URLs
  • A web server supporting mod_rewrite (such as Apache).

Integration

Contributed (third-party) modules that support the high-performance JavaScript/AJAX callback handler:

Credits

Authors and current maintainers:

This project has been sponsored by:

UNLEASHED MIND
Specialized in consulting and development of Drupal powered sites, our services include installation, development, theming, customization, and hosting to get you started.

Downloads

Version Downloads Date Links
6.x-2.x-dev tar.gz (10.71 KB) | zip (12.31 KB) 2011-Feb-25 Notes
5.x-2.x-dev tar.gz (10.7 KB) | zip (12.29 KB) 2011-Feb-25 Notes

Project Information


Maintainers for High-performance JavaScript callback handler

  • sun - 5 commits
    last: 2 years ago, first: 3 years ago
  • smk-ka - 6 commits
    last: 2 years ago, first: 2 years ago

Issues for High-performance JavaScript callback handler

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 13 Nov 10