Better HN
topnewbestaskshowjobs
Log inSign up

skawful

5 karma · joined Jul 5, 2012 (14y ago) · 6 submissions

Submissions

comment 12y ago · link · parent

loopback.createDataSource({localStorage: 'mydb', connector: loopback.Memory});

...will allow you to read/write/replicate/etc models with the browser's localStorage.

LoopBack replication/sync is similar to PouchDB. The important distinction is that loopback can sync with any connector that supports the basic crud methods:

http://docs.strongloop.com/display/DOC/Data+sources+and+conn...

2.

Open Source Replication and Offline Sync for Node.js and Devices(strongloop.com ↗)

10 points · by skawful · 12y ago · 3 comments

comment 12y ago · link · parent

Agreed. Back when I was working on rails type projects we always wished we could just drop down into sinatra-ish APIs for certain things that didn't align with the "rails way".

Thats a +1 for LoopBack - its built on and extends express. You can drop from the magic into a barebones express route if you want:

http://apidocs.strongloop.com/loopback/#var-app-loopback

4.

Make Your JS App Crawlable(developers.google.com ↗)

2 points · by skawful · 14y ago · discuss

5.

Why do we need threads?(ritch.calepin.co ↗)

2 points · by skawful · 14y ago · 1 comment

6.

Realtime and Transactional Syncing(ritch.calepin.co ↗)

1 points · by skawful · 14y ago · discuss