Live data from Hacker News

Intercooler.js – Simple AJAX Using HTML Attributes

intercoolerjs.org

1–10 of 53 posts

Re: Intercooler.js – Simple AJAX Using HTML Attributes

#4
post #2

Is it just me or "Live Demo" actually doesn't send any AJAX requests?

Yeah, I don't see it either.

I've used pjax with Laravel before, and it's trivial. Kinda does the same thing.

There is a Laracasts video explaining it here: https://laracasts.com/lessons/faster-page-loads-with-pjax

Demo page here: https://pjax.herokuapp.com/

Re: Intercooler.js – Simple AJAX Using HTML Attributes

#8
Seems useful when you've written a traditional server-side rendered app and you just want to "sprinkle" some AJAX onto it.

Back when I used PHP 5-6 years ago, I would use an "AJAX" helper built into the CakePHP MVC framework which would generate JavaScript for really basic AJAX requests. It was great for rapid prototyping and even production for admin panels and such. It's cool to see a similar, client-sided, framework-agnostic library like this with similar functionality.

Post reply on HN