On 19 January 2014 23:11, Hank Knight <[email protected]> wrote: > I would like to use CouchDB to power a large website containing > hundreds of pages. The pages will be dynamically created from > thousands of documents. Some pages will be powered by List Functions > and the other pages will be created by Show functions. > > There are many advantages of using a single design document to power > ALL of the pages. For example, I could access could access common > JavaScript modules / functions and I could manage common areas such as > the header and footer from a single place. > > Are there any drawbacks to storing all pages inside a singe design > document? >
not answering your question directly, but this sounds like you want to check out these frameworks for doing the job: http://couchapp.org/page/index https://github.com/benoitc/erica http://kan.so/ Cheers Andy -- Andy Wenk Hamburg - Germany RockIt! http://www.couchdb-buch.de http://www.pg-praxisbuch.de GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588 https://people.apache.org/keys/committer/andywenk.asc
