News for hackers. Stuff that matters.
Re:The Trello Tech Stack by yesbabyyes on Thursday January 19, 2012 @12:55PM (#3485649)
Socket.io is a great library. When it comes to a contender, I see Server-side Events [1] as a contender to WebSockets. I feel it's a simpler architecture which fits HTTP/REST better than WebSockets in the general case. I built a couple of small experiments/examples using CoffeeScript and Redis [2]; the middleware.coffee in particular is designed to be used together with REST, where if you send "Accept: text/event-stream" you will get updates to the resource(s) on that URL.

1: http://dev.w3.org/html5/eventsource/ 2: https://gist.github.com/1560654

Re:The Trello Tech Stack by josephg on Thursday January 19, 2012 @05:19PM (#3487108)
Unfortunately, eventsource isn't supported by any current version of IE. It'll be awhile before ES can replace your AJAX/websocket libraries.

http://caniuse.com/#search=eventsource

Re:The Trello Tech Stack by yesbabyyes on Friday January 20, 2012 @08:55AM (#3489443)
On the plus side, it's supported by Opera Mini and iOS.

For IE and others (Android, I'm looking at you!), I have yet to try it and so can't vouch for it, but there exists a polyfill: https://github.com/Yaffle/EventSource