intercooler-js

Making AJAX as easy as anchor tags

Github星跟蹤圖

Introduction

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

Installing

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.

License

Intercooler is licenced under the MIT License

Official Theme Music

Rober Parker

Contributing

To contribute a change to intercooler:

  • Fork the main intercooler repository
  • Create a new feature branch based on the development branch with a reasonably descriptive name (e.g. fix_http_get_parameter_overriding)
  • Implement your fix
  • Add a test to /test/unit_tests.html. (It's pretty easy!)
  • Create a pull request for that branch against development in the main repository

Thank you to all the contributors!

Join the chat at https://gitter.im/intercooler-js/Lobby

?️?️?️

主要指標

概覽
名稱與所有者bigskysoftware/intercooler-js
主編程語言HTML
編程語言JavaScript (語言數: 4)
平台
許可證MIT License
所有者活动
創建於2013-12-17 22:11:03
推送於2024-12-29 15:40:35
最后一次提交2024-12-29 08:36:59
發布數25
最新版本名稱v1.2.4 (發布於 )
第一版名稱v0.3.0 (發布於 2014-04-30 16:14:50)
用户参与
星數4.8k
關注者數116
派生數238
提交數787
已啟用問題?
問題數224
打開的問題數6
拉請求數77
打開的拉請求數2
關閉的拉請求數42
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?