On Mon, Jan 5, 2009 at 2:06 PM, Christopher Lenz <[email protected]> wrote:
>
> So, um, can we get this change backed out?
>

+1 on deleting the feature altogether. It's parallel code in places
and doesn't provide any functionality.

Backing out the change doesn't bother me. I don't feel strongly about
what it's called, although I don't think slow_view is an inappropriate
name, considering the support requests we receive that turn out to be
solved by saying "don't use temp views."

As far as dropping the feature, Futon could be changed so that it
appear no differently, by automatically creating design docs for temp
views, when the run button is used. Prompting for the design doc name
at that point would be the perfect place for a warning about the
potential cost and time to run.

I'll volunteer to write the patch. I've already worked through how to
patch the db.query function in couch_tests.js, which relies on temp
views. Having it generate a design doc for each query would be
trivial, and transparent to the user.

Patching the jquery.couch.js library, as well as any libraries in
other languages that wanted to avoid breaking "legacy" code, would be
trivial as well.

-- 
Chris Anderson
http://jchris.mfdz.com

Reply via email to