Getting started with Smalltalk

There is a nascent interface being built for [WWW] Cincom Smalltalk. To try that out, you'll need to:

Once it's loaded, you can try things like this:

"A simple interface to Couch DB.  To create, delete, and query databases, try:"
CouchDB.Interface default databases.
CouchDB.Interface default create: 'mydb'.
CouchDB.Interface default delete: 'mydb'.
CouchDB.Interface default database: 'mydb'

"Further, you can then manipulate documents in a database, try:"
myDatabase := CouchDB.Interface default database: 'mydb'.
documentRecord := myDatabase save: myDatabase address.
myDatabase document: (documentRecord at: 'id').
myDatabase delete: (documentRecord at: 'id') revision: (documentRecord at: 'rev').

The APIs for database are fully implemented, and, other than attachments, the APIs for documents are fully implemented as well

last edited 2008-11-01 23:54:35 by MartinCzura