Re:Oboe.js: reacting to Ajax/Rest quicker by not waiting for...
by ianstormtaylor on Friday October 18, 2013 @12:51PM
(#6572380)
Random tangent: no need to make your own pubsub by the way. I figure you might be interested in component[1]. Makes writing libraries like oboe even easier because all of the little stuff is packaged up for you already, like emitter[2]. And then tons of the little helpers in oboe could easily be their own components and useable by others. Check out the full list[3].
[1]: https://github.com/component/component
Re:Oboe.js: reacting to Ajax/Rest quicker by not waiting for...
by alessioalex on Friday October 18, 2013 @11:08AM
(#6571779)
It would be really nice to have the same streaming interface (with EventEmitters) as Node, but you I can just shim that on top of Oboe I guess. It would be great to have the same patter as in Node.
Btw what are you using for the Node side, JSONStream?
Re:Oboe.js: reacting to Ajax/Rest quicker by not waiting for...
by joombar on Friday October 18, 2013 @11:35AM
(#6571936)
There's only a node side so far as I needed to write for some component tests. It'd work with anything that writes out valid JSON.
The client side works in Node right now as well as in the browser but it is a bit browser-y. It is on my home office Agile board to make it a bit more node-y.
Very similar except JSON/JSONPath instead of HTML/CSS. Oboe runs fine in Node but I want to make the code a bit more standards-y. Ie, using Node's EventEmitters instead of the little pubsub I made for the browser.