This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

A wiki stores text with markup that defines some structure. A SQL database stores a number of rows with some non-recursive structure (columns). A noSQL database stores a number of documents with some structure (e.g. JSON)

Since quite a few wikis are used to store a lot of similar facts and objects, thus creating light-weight databases, it seems interesting to explore the possibility of extending this database ability of wikis.

Here is a list of features/topics that are relevant and could be considered:

  • search in a wiki is similar to querying a database, although it ignores structure
  • templates in a wiki are helpful to show the user what should be input and create similar pages easily.
  • some plugins such as the task list plugin of the Confluence wiki offer a user interface for data input
  • using some simple mapping rules, wiki text could be mapped to JSON structures and a couchDB backend would then be able to process the pages. If one writes the pages with some care, the JSON structures could be convenient to use in queries.
  • A plugin in the wiki can display the result of a query (sort of a page include plugin on steroids)

A Frenchman's ideas of names for a Wiki/database hybrid:

  • datki
  • datiki
  • dataki
  • datuki

Now for the American way:

  • WikiBase
  • WWDB (Wiki Wiki Database)

Integration With Ye Olde SQL RDBMS#

It is currently possible to embed SQL queries against available (to the servlet container) databases in wiki pages. It is also possible (with this wiki) to embed forms for inserting into a database in wiki pages.

One interesting use for this would be to allow management of wiki users and roles (stored in an RDBMS) via the wiki itself.

Database for Wiki File System Provider#

CouchDB sounds like an interesting candidate for a JSPWiki File System Provider.

 Name: Implement CouchDBFileProvider / Started: 2010-07-14 / Status: Going for broke
TaskStartingEndingWorkProgressResources
 Install CouchDB2010-07-14 2dcompleted-remainingShanghaiScott
 Create CouchDBFileProvider2010-07-14 3d.completed-remainingShanghaiScott, pog

A JDBC file system provider has been implemented but is not currently integrated into this wiki.

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 14-Jul-2010 18:01 by scott.  
Welcome (anonymous guest) Wiki Prefs
JSPWiki v2.8.5-svn-6