Am 17.03.2017 um 22:43 schrieb yves cloutier:

I know this is an older post, but I think everyone should have a look at http://intercoolerjs.org/

It's a JS ajax library which allows you to use AJAX as though it were a simple html tag.

If you look at the various examples you can see the different ways in which it can be used.

I wouldn't call it "reactive", as in the Backbone way of doing things. But still, it does open up some nice and elegant possibilities.

yc

Looks like a nice and lean solution. I was thinking about doing
something between/including this and a more higher level (Angular or
Backbone) approach at compile time on the server.

So the page code would be written as a Diet template and would include
the same special attributes or tags as found in the JS frameworks, but
there would be an AST transformation pass that replaces these with
generated tags and script calls before the page gets compile to actual
HTML. This would greatly reduce the DOM transformation pressure on the
client side and could make the client side script a lot simpler/smaller.