News for hackers. Stuff that matters.
Re:Spire.io: A New Platform For Serverless Apps That Work On... by akrymski on Wednesday May 09, 2012 @02:26PM (#3949865)
From giving Spire and Freebase a quick glance, none of these services seem to be designed to work in offline mode. What I'd love to see is a different kind of architecture: a server-less app with its local database (websql or indexedDB) which syncs with a server-side database instead of making RPC style calls. ie disconnected mode of operation with syncing when online.

This is how Meteor works from what I understand, and we've had to build this ourselves on top of Backbone for Post.fm. Perhaps we're a special case, but something tells me that the infrastructure of the future is not RPC calls but data-sync. (I guess MS Exchange is one of the first large examples of this).

Re:Spire.io: A New Platform For Serverless Apps That Work On... by DenisM on Wednesday May 09, 2012 @03:12PM (#3950025)
RPC is an anti-pattern.

I've been beating this drum for years, but it feels awfully lonely...

http://news.ycombinator.com/item?id=2317568

http://news.ycombinator.com/item?id=2972345

Re:Spire.io: A New Platform For Serverless Apps That Work On... by dyoder on Wednesday May 09, 2012 @03:32PM (#3950102)
FWIW, we use HTTP as intended, not to tunnel RPCs.
Re:Spire.io: A New Platform For Serverless Apps That Work On... by dyoder on Wednesday May 09, 2012 @03:27PM (#3950081)
Correct. We do not yet work well offline. Request buffering, data storage, and synchronization are on our roadmap.