Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 46088 invoked from network); 4 Feb 2010 10:46:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2010 10:46:50 -0000 Received: (qmail 53678 invoked by uid 500); 4 Feb 2010 10:46:50 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 53592 invoked by uid 500); 4 Feb 2010 10:46:49 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 53575 invoked by uid 99); 4 Feb 2010 10:46:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 10:46:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 10:46:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AAE96234C48C for ; Thu, 4 Feb 2010 02:46:28 -0800 (PST) Message-ID: <901846591.35761265280388698.JavaMail.jira@brutus.apache.org> Date: Thu, 4 Feb 2010 10:46:28 +0000 (UTC) From: "Benoit Chesneau (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-589) Simplify Query Server interface and Design Handlers In-Reply-To: <655627592.1259796920988.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829572#action_12829572 ] Benoit Chesneau commented on COUCHDB-589: ----------------------------------------- I'm all for having it back . Actually this is very needed for people who would like to create embedded application with clean url with the rewriter for example. if we can't catch the 404 in _show we have to wrap all shows in an html with urls in fragments or such if we don't want to display the 404 or provide some action. Maybe it could be an option in design doc ? : show_404 = true smth like it ? > Simplify Query Server interface and Design Handlers > --------------------------------------------------- > > Key: COUCHDB-589 > URL: https://issues.apache.org/jira/browse/COUCHDB-589 > Project: CouchDB > Issue Type: Improvement > Components: JavaScript View Server > Reporter: Chris Anderson > Assignee: Chris Anderson > Attachments: ddoc_qs.patch, design_handlers.patch > > > This patch refactors list, show, update, filter, and view handling to have a unified interface for loading the design document and functions from it. It is a step on the path to removing a lot of function src passing overhead from the view server protocol. > The patch also removes some old part of the API while improving other parts of the API. > The big changes: > Load the design document before handing it to the design document handlers. This removes a lot of duplicated code. > Remove /db/_view handler. I think it's in our interest to remove the last bits of the old-style API before 0.11. > I also clean up some rough edges in the API. > I plan to commit this patch soon, but want to give people an opportunity to look it over. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.