incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Binns <rog...@rogerbinns.com>
Subject Re: unit testing view/show functions
Date Sun, 27 Dec 2009 21:57:56 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Vander Stichele wrote:
> The bad part currently is that I have a lot of friction when trying to
> write view/show functions.

Agreed.  For debugging, I think it is possible to serve up the view/show
code from the server (or possibly have Futon suck it down client side) and
then run that code under Firebug with just enough scaffolding to download
the needed documents.

I did propose this on the dev list.  I don't know enough about client side
Javascript to know if Futon can suck down the view/show code and contrive a
document good enough for Firebug or if the code has to be served up from the
server.

http://mail-archives.apache.org/mod_mbox/couchdb-dev/200912.mbox/browser

Worst case I'll get around to writing a Python web "proxy" that provides the
code in a form sufficient for Firebug.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAks32F0ACgkQmOOfHg372QTIKACgukitHPIwYvocGqflQGvvYPdM
fdEAniWRQW30cXHObq1vA61X93W44TAW
=Fxex
-----END PGP SIGNATURE-----

Mime
View raw message