incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cinnebar <ccinne...@gmail.com>
Subject Re: jQuery dependency (Re: Futon Improvements)
Date Sun, 13 Sep 2009 10:47:15 GMT
For the sake of discussion:

> [1]
http://svn.apache.org/repos/asf/couchdb/trunk/share/www/script/couch.js
> [2]
http://svn.apache.org/repos/asf/couchdb/trunk/share/www/script/jquery.couch.js

These client libs were mentioned in the Futon Improvements thread which was
forked to this jQuery dependency thread.

> There's an advantage in using the built-in clients because the code
> will probably be in browser cache, and it makes application component
> reuse a little easier to have a shared basic library as well.

Its safe to say that a shared library (loaded to and stored in browser
cache) and code reuse are fundamental to good front end design, whether the
shared library is jQuery, Dojo, couch.js or whatever.

It may be worth mentioning that a long stack of js src files in a html doc
is probably ok after intial caching if they are static files.  Excessive
weight is undesirable.

The built in libs with the prefix jquery (in the scripts folder in the www
folder next to the server folder containing the main.js file included in the
CouchDB install) are dependent on parts of the jquery.js file which
essentially is also a built-in lib.

There is a request for the development of Futon.  Futon uses the built-in
jQuery libraries which means that it is jQuery dependent.

The request can be found in a thread called Futon Improvements.


cheers

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message