← Back to team overview

deskdb team mailing list archive

Re: Early DeskDB progress

 

Alright!

A much better base is in place now at

    https://launchpad.net/deskdb

It's been split into two layers: a low-level Go API which may be used
to build any kind of application on top of it, and a high-level HTTP
API which mimics the CouchDB API.  Both layers are independently
tested, and we should try to preserve everything touching both layers
with independent tests.

Note that the system is already being built with namespacing and
multi-tenancy in mind.  Namespaces allow several completely
independent DeskDBs in the same Mongo cluster (e.g. production vs.
testing), and multi-tenancy enables several users on the same
namespace.

There's API documentation available at:

    http://goneat.org/lp/deskdb

You can run a DeskDB server with:

    make runserver

and a Python interaction such as this should already work against it:t

    http://pastebin.ubuntu.com/611170/

There's still *a lot* (really!) missing, but it's already fun to see
these early interactions working.

-- 
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/blog
http://niemeyer.net/twitter


References