Differences between revisions 3 and 4
Revision 3 as of 2008-11-05 01:23:43
Size: 1227
Editor: MartinCzura
Comment: redirect
Revision 4 as of 2009-09-20 21:44:54
Size: 1233
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
There is a nascent interface being built for [http://www.cincomsmalltalk.com Cincom Smalltalk]. To try that out, you'll need to: There is a nascent interface being built for [[http://www.cincomsmalltalk.com|Cincom Smalltalk]]. To try that out, you'll need to:
Line 4: Line 4:
 * [http://www.cincomsmalltalk.com/scripts/CommunityDownloadPage.ssp Download Cincom Smalltalk]
 * Get an Account in the [http://www.cincomsmalltalk.com/CincomSmalltalkWiki/Public+Store+Repository Cincom Smalltalk Public Repository]
 * [[http://www.cincomsmalltalk.com/scripts/CommunityDownloadPage.ssp|Download Cincom Smalltalk]]
 * Get an Account in the [[http://www.cincomsmalltalk.com/CincomSmalltalkWiki/Public+Store+Repository|Cincom Smalltalk Public Repository]]

There is a nascent interface being built for 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

GettingStartedWithSmalltalk (last edited 2009-09-20 21:44:54 by localhost)