http://fitc.ca/presentation/4-way-data-binding-offline-data-synchronization-in-angularjs/

http://fitc.ca/presentation/mobile-offline-data-synchronization-in-angularjs/ watch ppt firest, http://www.youtube.com/watch?v=6ecuA-pOev0&feature=youtu.be&t=14m9s then see this youtube, begin time:14:45 start demo v6 time:29:17 CouchDB online synchronization to CouchDB time: 31:26 have ios emu

Sync multiple AngularJS apps without server via PouchDB http://www.mircozeiss.com/sync-multiple-angularjs-apps-without-server-via-pouchdb/

http://www.youtube.com/watch?v=QSC1fnfUlU0 this easy simple to try sync

Building offline applications with AngularJS and PouchDB 13 Jun 2013 http://www.mircozeiss.com/building-offline-applications-with-angularjs-and-pouchdb/


A standalone REST interface server for PouchDB. https://github.com/pouchdb/pouchdb-server

—–Couchbase Lite Couchbase Sync Gateway http://www.couchbase.com/mobile#sync-gateway

Install on premise http://www.couchbase.com/download#cb-mobile

Install on Amazon Web Services https://aws.amazon.com/marketplace/seller-profile/ref=dtl_pcp_sold_by?ie=UTF8&id=1a064a14-5ac2-4980-9167-15746aabde72

Couchbase vs. Apache CouchDB :: A comparison of two open source NoSQL database technologies http://www.couchbase.com/couchbase-vs-couchdb

Couchbase Server for ubuntu free download V2.5.1 Released March 31, 2014 http://www.couchbase.com/couchbase-server/overview

如果是自建,還真的這個比較適當。 中文相關 http://hhtucode.blogspot.com/search/label/Couchbase


Build always-available apps that work both online & offline. http://developer.couchbase.com/mobile/

  1. Couchbase Server:JSON database 放資料(db)server
  2. Sync Gateway:synchronize on-device Couchbase Lite - Couchbase Sever,and Authentication, Access Control, Validation
  3. Couchbase lite: on-device JSON database, full function (sync), all platom

Downloads for both community and enterprise editions are free. Support and updates are different between them, and not necessarily free. 所以是全部免費,除了支援…要付錢,那基本上採用這架構是沒問題的了!!



***couchbase-sync-gateway 深入簡報

http://www.slideshare.net/Couchbase/webinar-couchbase-mobile-sync-gateway-configuration-and-management-webinar-mobile-advanced-couchbase-sync-gateway1

記得裝完後,用config檔啟動,補上這個設定: “adminInterface”:":4985",

然後在 http://xxx.xxx.xx/_admin/ 可以簡單的做db管理……..官方沒這個,好佳在有人摸出來…

Setting up couchbase-sync-gateway (1.0.2-9) …

You have successfully installed Couchbase Sync Gateway.

You can start Couchbase Sync Gateway by using the following command:

/opt/couchbase-sync-gateway/bin/sync_gateway

That’s it! This command starts Sync Gateway on port 4984, connects to a limited in-memory database that lives on Sync Gateway called “walrus”, and starts the admin server on port 4985.

The command-line options are:

-adminInterface=":4985": Address to bind admin interface to -bucket=“sync_gateway”: Name of bucket -dbname="": Name of CouchDB database (defaults to name of bucket) -interface=":4984": Address to bind to -log="": Log keywords, comma separated -personaOrigin="": Base URL that clients use to connect to the server -pool=“default”: Name of pool -pretty=false: Pretty-print JSON responses -url=“walrus:": Address of Couchbase server -verbose=false: Log more info about requests

By using this software you agree to the End User License Agreement. See /opt/couchbase-sync-gateway/LICENSE.txt.