Openmoney 2.0 Serverside Code
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
.htaccess
LICENSE.md
README.md
composer.json
config.php
disable.php
enable.php
index.php
mail-signature.class.php
mail-signature.config.php
migration.php
onchange.php
password.php
reindex.php
resetPassword.php
resetPasswordSave.php

README.md

Architecture:

  • Couchbase Lite
  • Sync Gateway
  • Couchbase DB Server

Required Frameworks: http://docs.slimframework.com/ http://docs.couchbase.com/couchbase-sdk-php-1.1/

Authentication is negociated using the server side API. https://username:password@cloud.openmoney.cc/login which returns a sessionID.

Archetecture:

openmoney-mobile -> uses couchbase-lite-phonegap -> couchbase-lite-java-core REST API -> local device database -> Sync replication with cloud -> Cloud Sync Gateway run by sync-gateway.json rules -> linearly extensible cloud server database instances -> Cross Datacenter Replication (XDCR)

Propsed P2P Archetecuture: Local device database -> Replicates with local devices P2P using TCP connections through local wifi connections. Content and routing information is exchanged through NFC connections made from device to device. remote db connection can be made through the internet if an untrusted network can negoticate public private RSA key authentication and authroization.