I'm looking for a JavaScript library that will allow me to query complex JSON objects using a LINQ-like syntax. A quick search found a couple of promising options that look they might offer what I need:
LINQ to JavaScript and jLinq
Does any one have any experience
using them?
What are some pros and cons?
Is the performance comparable...
Microsoft have published Reactive Extensions for Javascript.
It should make asynchronous (and event based) web-ui programming easy.
There are currently a video and some tutorials.
But how cool UI could I really make? Do you know any good demos or code examples using rx.js?
...
I'm trying to understand Reactive JS. In JQuery I can trigger custom events as
$(document).bind('eventbus', function(e, d) { console.log(d);});
$(document).trigger('eventbus', 'test');
and pass around data (i.e. 'test'). It's not clear how to do this in RxJS. I could try to convert the jquery events as
var observable = $(document)....
I wonder which is the best approach to trigger an event after several (unordered) ajax calls finished.
To make it a bit clearer, I would like to call a Method doSomethingGreat() which triggers several ajax calls, the order in which those succeed ins unnecessary. I just want to trigger an event 'SomethingGreatFinished' when all of those ...