intercooler 2.0 (renamed to htmx 1.0) has been released. It is smaller, more expressive and no longer has a dependency on jQuery.
You can view the new website here:
And the new repo here:
https://github.com/bigskysoftware/htmx
Intercooler is a small (6.74KB gzipped) jQuery or zepto.js based library that allows you to add AJAX to your application using HTML attributes.
Here is an example:
<!-- When this button is clicked an AJAX POST request is sent to /example and the
response content is swapped in to the body of the button -->
<button ic-post-to="/example">
Click Me!
</button>
Despite this simplicity, intercooler supports quite a bit of functionality:
These features allow you to build modern web applications with little fuss, using a simple and intuitive REST-ful architecture that ensures good performance, excellent user experience and a minimum of complexity.
It also is very easy to incrementally retrofit intercooler into existing web applications to add AJAX functionality where it is most valuable.
Full documentation is available on the main intercooler website
Intercooler can be downloaded or hot-linked from the downloads page.
Or installed via bower:
"dependencies": {
"intercooler-js" : "1.2.0"
}
Intercooler depends on jQuery v1.10.0 or higher.
Intercooler is licenced under the MIT License
To contribute a change to intercooler:
development
branch with a reasonably descriptive name (e.g. fix_http_get_parameter_overriding
)/test/unit_tests.html
. (It's pretty easy!)development
in the main repositoryThank you to all the contributors!
🕊️🕊️🕊️