Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (8 sloc) 954 Bytes

API

The goal is to clearly separate APIs.

img

All Connectors and Collections should be accessible via a uniform Javascript programming interface. An App can therefore utilize these libraries via Javascript.

To maintain language independence and to allow the possiblity of services spread out across many computers, every Connector and Collection is encouraged to expose its API via an HTTP (for their Sync API) and Websocket (for their Realtime API). The language we speak is JSON.

  • A Connector/Collection HTTP / Websocket wrapper module should be named after the original module, plus an -http postfix

The daemon process is able to manage these web services, mounting and unmounting them depending on the required setup.

It should be possible to develop and run an App without ever seeing a GUI. The GUI, thus, should not be part of core but a complementary project.