Hi devs,
Raluca has worked on a new plugin to manage comments and ratings.
The objective of this plugin is to allow the comments and rating to be
more modular. This way we can use different type of implementation and
still have some common APIs work even though comments or rating
information are stored differently.
For example this new plugin would allow to decide if we store comments
as XWiki Object or as separate Pages. The experience of usage of XWiki
has shown that depending on the usage both cases are actually
interesting to use.
This plugin also allows to apply a comment more precisly. We can assign
a comment to a part of a page, or to another comment. This is why a
"Container" has been created which can define precisly the parent of a
comment.
The initial design proposal is here:
http://dev.xwiki.org/xwiki/bin/view/Design/RatingSystem
http://dev.xwiki.org/xwiki/bin/view/Design/NewCommentsPlugin
Raluca has started coding by reimplementing the current behavior in the plugin. It still
needs to be wired to the current code to maintain compatibility.
The code is in the sandbox
http://svn.xwiki.org/svnroot/xwiki/sandbox/plugins/comments/
Feedback welcome
Ludovic
--
Ludovic Dubost
Blog:
http://blog.ludovic.org/
XWiki:
http://www.xwiki.com
Skype: ldubost GTalk: ldubost