And another workspace . . .

I have been messing about with CouchDB for a while. Back in 2006 I put together a couple of LotusScript wrapper classes for it using LS2J to do the communications and presenting a friendly API for putting Notes like data in and out of the CouchDB database. Now I have been mucking about with Python and PyGTK trying to build something of a GUI to link with CouchDB. Here are a couple of screenshots to give you a feel of the progress so far. Firstly the workspace, because every client worth having must have a workspace. This one is based on a gtkiconview widget. It really is getting the list of database names directly out of the CouchDB server. The icons are pulled from the filesystem at the moment but I want them to come from each database when I figure out how to work with attachments. They are .png files, I think .svg would work too, along with most other formats you could mention.

This next screenshot shows a form. The form is designed using Glade, a user interface designer which saves UI definitions as XML. The client code reads the XML and inserts the form into a new tab in it’s own user interface. At the moment the form XML is being read from the filesystem, but that too can come from a document in couchDB.

This will probably run on Windows as well as Linux. I don’t think GTK (or the Twisted/Python/GTK collection) runs on Mac at the moment.

4 Responses to “And another workspace . . .”

  1. Dan Sickles says:

    Have you looked at wxPython? It runs on Win, *nix and Mac:

    http://www.wxpython.org/what.php

  2. Stephan H. Wissel says:

    Nice. Are the LS wrappers a secret or did you publish them?
    Or would you publish them?
    :-) stw

  3. Alan Bell says:

    The LS wrapper isn’t a secret have a look here: http://wiki.apache.org/couchdb/GettingStartedWithLotusScript

  4. Alan Bell says:

    wxPython is interesting, I will have to look closer at that. The other platforms I am targeting are the OLPC XO Sugar interface, which is mostly based on PyGTK and the Elonex One. The EeePC does seem to use wxPython.