[cgi-wiki-dev] CGI-Wiki-Store-Kwiki

rootmj cgi-wiki-dev@earth.li
Tue, 24 Feb 2004 19:06:14 +0100


Kate L Pugh wrote:
> This does look very interesting.  I note that you are inheriting from
> CGI::Wiki::Store::Database - I had envisaged this being the base class
> for actual RDBMS backends.  The base class for all store backends
> should really be called something like CGI::Wiki::Datastore, and then
> CGI::Wiki::Datastore::DBI and CGI::Wiki::Datastore::Kwiki would
> inherit from that.  What do you think?

I agree. It can looks like?

CGI::Wiki::Datastore
   new
   _init
   _checksum
   _checksum_hashes
   verify_checksum
   _get_timestamp
   retrieve_node
   list_recent_changes

CGI::Wiki::Datastore::Kwiki
    use base qw(CGI::Wiki::Datastore);
   _init
   _retrieve_node_data
   _retrieve_node_content
   check_and_write_node
   write_node_post_locking
   _find_recent_changes_by_criteria


CGI-Wiki-Store-Kwiki-0.03 - Checksum added.
http://kwikimj.kn.vutbr.cz/downloads/CGI-Wiki/CGI-Wiki-Store-Kwiki-0.03.pm

-- 
------------------------------
   S pozdravem Michal Jurosz
rootmj@seznam.cz ICQ#:93348414
     http://mjhome.zde.cz
------------------------------