This is the code samples that were used during my talk at the 2012 ADUG symposium on REST. CouchDB was one of the systems I demonstrated connected to and since there was no known CouchDB clients available I wrote this one that allowed for Generics support so a simple persistence mechanism is in place.
While this client can be used it is not tested exhaustively and but I am hopeful that others can use it.
A few well deserved references.
http://www.adug.org.au for allowing me to speak, otherwise I would not have written these units.
http://code.google.com/p/superobject/ for providing a neat library for using JSON
Features
- Ability to create, delete and list CouchDB database
- Ability to request all documents within a database
- Ability to return an object as a specific Delphi type using Generics
- Ability to query a map reduce view and return the resulting values as a specific Delphi type
- Ability to insert, save and delete a document
Follow Delphi CouchDB Client
Other Useful Business Software
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Delphi CouchDB Client!