Hacker News new | ask | show | jobs
by carsongross 3553 days ago
If you are sick of javascript on the front end, but don't want to give up the fancy-pants UI, you could do worse than my library, intercooler, which lets you add AJAX to your app with a few HTML attributes.

http://intercoolerjs.org

Make REST work the way it was intended, supports CSS transitions, request indicators, etc.

Good little library that eliminates a lot of complexity for web apps that don't need all this junk (most of them.)

1 comments

Just saw intercooler referenced in a post a couple days ago and took a look. It does look refreshingly simple to get started.

I've got a basic app with JSON end points already created. I was going to give VUE a go but after looking at intercooler I'm going to create an alternate set of /IC/* URLS and send out HTML instead. I'll soon see how it works for this task.

Just saw intercooler referenced in a post a couple days ago and took a look. It does look refreshingly simple to get started.

Aaaaaand...we've come full-circle now:

Intercooler depends on JQuery, version 1.10.0 or higher.

:-)

>Intercooler depends on JQuery, version 1.10.0 or higher.

I don't have any real problems with jQuery being in the mix for intercooler. Even with that, jQuery appears to be an underlying library used for convenience rather than a library an intercooler coder would have to know and code against.

I do appreciate the irony when taken in context with the original article though.

I'd love to hear what your experience is. Thanks for giving it a try!