langalex / couchdb_example_wiki

example implementation of a wiki in all ruby couchdb frameworks for my couchdb talk

This URL has Read+Write access

commit  4edff3ed2750a19bf57e74d19dc3e9153e461762
tree    32cf78e9467a29367f9cfbbd73f6755a330e0441
parent  8bdeca054679e2d3478963b7ee084a2152675b70
name age message
file .gitignore Tue Mar 17 14:03:48 -0700 2009 moved gitifnore to top dir, dried up couch_foo'... [langalex]
file README.textile Sat Mar 21 11:18:14 -0700 2009 couch potato readme [langalex]
directory activecouch/ Sun Mar 22 09:40:32 -0700 2009 added activecouch implementation [langalex]
directory activerecord/ Sun Mar 15 07:19:13 -0700 2009 initial commit - rails/mysql implementation [langalex]
directory couch_foo/ Sat Mar 21 11:18:14 -0700 2009 couch potato readme [langalex]
directory couch_potato/ Thu May 21 15:06:38 -0700 2009 upgraded example wiki to couch potato 0.2 [langalex]
directory couchapp/ Fri May 22 12:33:39 -0700 2009 added creating new pages via camelcase links, r... [langalex]
directory couchobject/ Sun Mar 22 11:49:12 -0700 2009 couchobject readme [langalex]
directory couchrest/ Wed Mar 18 02:04:35 -0700 2009 renamed reduce args [langalex]
directory relaxdb/ Thu May 21 06:56:31 -0700 2009 relaxdb readme [langalex]
README.textile

couchdb example wikis

in order to prepare my upcoming talk at scotland on rails 2009 i am implementing a simple wiki in all the available ruby frameworks for couchdb. i have created a bunch of cucumber scenarios that define the requird functionaility:

  • create a page
  • create another page by clicking on a camal case link
  • update a page and still have access to the old version
  • view a list of all pages
  • view statistics about the overall word count in all pages

maybe later: (if i have the tim)

  • tags for each page, a tag cloud – to demnstrate more map/reduce
  • comments on each page to demonstrate associations

you can find my comments on each framework in the README of each application root directory.

running the apps

all of the apps (except couchapp) are rails 2.3.1 apps so you need rails. for the activerecord reference implementation you need mysql. for all the couchdb apps you need the latest couchdb from svn trunk. to run the cucumber features you need culerity (which in turn requires jruby).