http://pusher.com/
Connections:20 MAX ,Channels:UNLIMITED , Messages / day:100,000
dreamfactory realtime
http://community.dreamfactory.com/t/realtime-integration-firebase-socket-io/178
http://blog.dreamfactory.com/blog/bid/300138/Mobile-App-Development-with-CORs-and-Pub-Sub3
*vm https://bitnami.com/stack/dreamfactory/virtual-machine
http://faye.jcoglan.com/
http://blog.dreamfactory.com/blog/bid/300138/Mobile-App-Development-with-CORs-and-Pub-Sub3
*vm https://bitnami.com/stack/dreamfactory/virtual-machine
http://faye.jcoglan.com/
[轉]程式開發者談Facebook上的授權以及帳號被盜的觀念
http://www.cool3c.com/article/65408
https://www.facebook.com/settings?tab=applications
https://www.facebook.com/settings?tab=applications
3 4 way couchbase couchbase lite sync_gateway :: online - offline - sync
This is OK! Sure!
1、use aws install ubuntu 14 (8GB),install
http://www.couchbase.com/download
**Couchbase Server "3.0 b2"
**Sync Gateway lates..
sudo dpkg -i
install finish!
this json use databases: todos , so sync_gateway need setup this.
***ps:setup 2, if create bucket todos, use passwoard. need add in config file.
port: 4985 for admin, 4984 for user
***ps: 2014/10/28 SYNC_URL = "http://xxx.xxx.amazonaws.com:4984/todos/";
if use this way is ok, can use.
1、use aws install ubuntu 14 (8GB),install
http://www.couchbase.com/download
**Couchbase Server "3.0 b2"
**Sync Gateway lates..
sudo dpkg -i
install finish!
--------------
2、Setup Couchbase Server http://127.0.0.1:8091 (http://xxx.xxx.compute.amazonaws.com:8091)
** default bucket, ram set 100MB (now just for test), why, because aws ram less.
** create bucket : todos (for mobile app use)
--------------
3、Set Sync Gateway
** edit .bashrc, add => export PATH="$PATH:/opt/couchbase-sync-gateway/bin/"
** create config file, name: xxxxx
xxxx :https://github.com/couchbaselabs/ToDoLite-Android/ use this sync-gateway-config.json
but add line : "adminInterface":":4985",
change line or add : "server": "http://127.0.0.1:8091/",
***ps:setup 2, if create bucket todos, use passwoard. need add in config file.
"username": "todos",
"password": "xxxxxxxxxx",
--------------
4、Then > sync_gateway xxxxx
connect to http://127.0.0.1:4985/_admin/ (http://xxx.xxx.compute.amazonaws.com:4985/_admin/)
if see Welcome to Couchbase Sync Gateway. , success. and check it about have a link : todos,if have, all ok!
--------------
5、Try to download https://github.com/couchbaselabs/ToDoLite-Android
Cahnge:app/src/main/java/com/couchbase/todolite/Application.java
Application.java SYNC_URL = "127.0.0.1:4984"
Application.java SYNC_URL = "127.0.0.1:4984"
"xxx.xxx.compute.amazonaws.com:4984"
***ps: 2014/10/28 SYNC_URL = "http://xxx.xxx.amazonaws.com:4984/todos/";
if use this way is ok, can use.
--------------
after all, follow step for
https://github.com/couchbaselabs/ToDoLite-Android/
--------------
then play app with your server~~~~
4 way, 3 way data binding offline data synchronization in angularjs
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.
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",
-----
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.
訂閱:
文章 (Atom)