Giter Site home page Giter Site logo

pandahisham / intercooler-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bigskysoftware/intercooler-js

0.0 2.0 0.0 775 KB

Making AJAX as easy as anchor tags

Home Page: http://intercoolerjs.org

License: MIT License

JavaScript 47.36% HTML 52.07% Ruby 0.28% CSS 0.29%

intercooler-js's Introduction

intercooler.js

Introduction

Intercooler is a small javascript library that allows you to add AJAX to your web application with simple HTML5 attributes. This makes adding AJAX (almost) as simple as adding an anchor tag.

Here is an example:

// When this button is clicked an AJAX POST request is sent to /example and the response is
// swapped in to the body of the button
<button ic-post-to="/example">
    Click Me!
</button>

Despite its small size, Intercooler supports quite a bit of functionality. Some examples:

  • Specifying the UI event that causes an AJAX request
  • A pluggable event hook system
  • Custom HTTP response headers for meta-actions
  • A dependency mechanism between HTML elements
  • A visual debugger

Full documentation is available on the main Intercooler website

Installing

Intercooler is just another javascript library can be downloaded or hot-linked from the downloads page.

License

Intercooler is licenced under the MIT License (see the LICENSE)

Contributing

To contribute a change to Intercooler please try to follow this workflow:

  • Fork the main intercooler repository
  • Create a new feature branch based on the master branch with a reasonably descriptive name (e.g. fix_http_get_parameter_overriding)
  • Implement your fix, trying not to mix multiple fixes/improvements in the same feature branch
  • Add a test to /test/unit_tests.html. (It's pretty easy!)
  • Create a pull request for that branch against master in the main repository
  • Add yourself to the "Contributors" section below

This keeps changes from bleeding into one another and makes my life easier.

Contributors

  • carsongross
  • matdrapeau
  • mindreframer
  • juggy
  • niv
  • coffeecodecouch
  • evilotto

intercooler-js's People

Contributors

coffeecodecouch avatar evilotto avatar gottlike avatar juggy avatar mdpaquin avatar mindreframer avatar mwkaufmann avatar niv avatar vrinek avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.