‘Streaming’ JSON and completing incomplete requests

Man, there’s some good stuff out there today…

A fresh approach to JSON loading that speeds up web applications by providing the parsed objects before the response completes.

So far so cute…

Oboe makes it really easy to start using json from a response before the ajax request completes. Or even if it never completes.

(Emphasis mine)
Oh boy – that’s great!
As the use case example explains:

Sarah is sitting on a train using her mobile phone to check her email. The phone has almost finished downloading her inbox when her train goes under a tunnel. Luckily, her webmail developers used Oboe.js so instead of the request failing she can still read most of her emails. When the connection comes back again later the webapp is smart enough to just re-request the part that failed.

BOOYAH!

https://github.com/jimhigson/oboe.js

Leave a Reply

Your e-mail address will not be published. Required fields are marked *