Paul - I have implemented the view server in Scala. I was wondering what I need to do if I wanted to implement validation functions validate_doc_update in Scala. Is there a separate protocol for that ? Or is it at all possible ? Or it somehow uses the same protocol as the view (add_fun ?) ?
Thanks. - Debasish On Mon, Sep 7, 2009 at 11:11 PM, Paul Davis <[email protected]>wrote: > On Mon, Sep 7, 2009 at 1:36 PM, Debasish Ghosh<[email protected]> > wrote: > > Hi - > > Is it possible to write validation functions in any language other than > > Javascript ? I have implemented a Scala View Server in scouchdb. But I > > cannot find any documentation on writing validation functions in > languages > > other than Javascript. If it is possible, where can I get the protocol > for > > the same ? > > > > Thanks. > > - Debasish > > > > Debasish, > > In the test subdirectory there is a Ruby spec file that tests view > server implementations for protocol compatibility. Its a > JSON-over-stdio protocol, so for all CouchDB cares, you could write a > view server in Bash. > > HTH, > Paul Davis >
