From user-return-6346-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Mon Sep 07 17:42:24 2009 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 80218 invoked from network); 7 Sep 2009 17:42:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Sep 2009 17:42:24 -0000 Received: (qmail 94631 invoked by uid 500); 7 Sep 2009 17:42:22 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 94547 invoked by uid 500); 7 Sep 2009 17:42:22 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 94535 invoked by uid 99); 7 Sep 2009 17:42:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 17:42:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.211.198 as permitted sender) Received: from [209.85.211.198] (HELO mail-yw0-f198.google.com) (209.85.211.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Sep 2009 17:42:14 +0000 Received: by ywh36 with SMTP id 36so2326802ywh.29 for ; Mon, 07 Sep 2009 10:41:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=zNTW7bpc7Z7LAEfkhpEqBUfhAqlKQumALTURvCfc53E=; b=sZhDcYbH5GfOc56cGvX2CY9HDVfRfog61SDoQBsgeMUrPgZJaFxmCJoO896sZZ0/Ih dOsRJxlo499Yxmqz7N6LLTlezyh+ZcOIPqZVDJtDcZC6SzCD5ZibkHyv3ZEhks4B6TYR hHmHFvTYQmE5rKQ5pCPWHVfQKlzle1fdrMAxY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=pqEjtRFc2Rcvf5ojoBBSDXhDqBrpiZZZvLtDzYjMH/3/ESczAAVtanA5Wl025E45Rf RsJMtp/mBlqepQ8bPL+BgShVl7Xy0NnvwcTwjxd/MCETqmh3IgTnIwTjlghvcY2mQ2Dv RtWMdW1ef4v72cGvWX8qG1DQQxeu0TC/BOejg= MIME-Version: 1.0 Received: by 10.101.7.17 with SMTP id k17mr15721635ani.181.1252345313768; Mon, 07 Sep 2009 10:41:53 -0700 (PDT) In-Reply-To: <8b1c89270909071036i6e180b72md0aca3f494b436a3@mail.gmail.com> References: <8b1c89270909071036i6e180b72md0aca3f494b436a3@mail.gmail.com> Date: Mon, 7 Sep 2009 13:41:53 -0400 Message-ID: Subject: Re: CouchDB Validation functions From: Paul Davis To: user@couchdb.apache.org, dghosh@acm.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Sep 7, 2009 at 1:36 PM, Debasish Ghosh 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