I’m pleased to announce the 0.0.1 release of kutty, the successor to intercooler.js!
Like intercooler, kutty brings features of modern browsers that normally require javascript (AJAX, CSS transitions, etc.) directly into HTML.
I chose to rename the project for a few reasons:
intercooler.js
implied a javascript-orientation. The more I developed intercooler the more I realized
that it was really about enhancing (completing?) HTML, not javascript. This project doesn’t really compete with tools
like angular, vue or react, it’s something different, so I wanted a different name.kutty
is short and memorable, kutty.org
was available, and it has consonance with “cuttlefish” which is the
official cephalopod of kutty development.innerHTML
and outerHTML
)Beyond that, basic kutty and intercooler code will look a lot a like:
<div kt-post="/clicked">Click Me!</div>
This will issue an AJAX post to /clicked
, in a manner familiar to anyone who has used intercooler.
I’m planning on maintaining both projects. Intercooler is a slow moving project anyway, and the code is stable and works fine for people who want to go the jQuery route. I have a large application written with it and I’m not planning on moving that to kutty any time soon.
Depends a lot on how into the weeds you got with intercooler. The core attributes are pretty close to one another
but if you were using ic-action
or event handlers extensively it will be a project.
The usual:
Cheers!