# HG changeset patch # User k0s # Date 1265146748 18000 # Node ID 910fa7e781b90254bcd9fa2ef28280b4fd57180e # Parent 79ba50af94431cf811324f2c8322ca3da3696cee update whitepaper diff -r 79ba50af9443 -r 910fa7e781b9 whitepaper.txt --- a/whitepaper.txt Mon Jan 04 21:17:41 2010 -0500 +++ b/whitepaper.txt Tue Feb 02 16:39:08 2010 -0500 @@ -1,9 +1,39 @@ -= Discussions = +Discussions +=========== All Discussions objects are basically the same. You get a set of options which are inherited from the parent or provided. -== Roles and Permissions == +Discussions (version 1) is a strict hierarchy with views on this object. +Email messages (as per the python ``email`` module) are used as the +basis of all message object: that is, each object should be +expressable as a set of headers and body. Since email messages are +hierarchal, the organization makes sense + +Discussion version 2 is planned to be a directed graph. + +Core concepts: + * events + * people + * moderation + * policy + + +Events +------ + +The add_message event: this is the portal event for all messages going +through discussions. This may be via + + * email + * web + * command line + +This could provide a front for twitter, RSS, or other discussions instances. + + +Roles and Permissions +--------------------- A member can be in one of three states with respect to a resource: @@ -18,9 +48,10 @@ * non-members: if an agent isn't a member of a resource, they generally have lowest level priveleges. -== Options == +Options and Configuration +------------------------- -Options can be in one of three states: unset, set, and locked (and +Configuration options can be in one of three states: unset, set, and locked (and set + locked). In the case where the option is locked, all children inherit the setting as well: @@ -44,13 +75,16 @@ (Forum or Discussion). -= Members = +Members +------- -== Preferences == +Preferences: Member preferences can also be set from the site level. -= Digest = + +Digest +------ Different templates can be used to display different digest methods. For instance, you could display a brief form of the message with just @@ -65,4 +99,36 @@ }}} This can be used to facilitate a moderated digest. Roundup emails can -be sent about a discussion written and editted by the moderator. \ No newline at end of file +be sent about a discussion written and editted by the moderator. + + +Hierarchy Example +----------------- + +Both Forum and Conversation objects are MessageContainers. + +/foo + bar/--message 1 + | | + | +-reply to message 1 + | | | + | | \-"..." + | | + | \-"..." + | + +-message 2 + | + \-message 3 + +URL for reply posting: /foo//reply +(posts to /foo/ ) + + +Message Objects +--------------- + +{ 'headers': {}, + 'messages': [ list, of, children ], + 'next': + 'previous': + 'parent': } \ No newline at end of file