Hi Bikash,
I'm not sure the solution is to change the store.. The current store
will allow to store anything locally and also includes searching.
I'm not sure the P2P wiki should use a store as there are going to be
difficulties for searching..
A local wiki can use the current store and store in HSQLDB. We are close
to having a release that will work by default with HSQLDB.
And P2P can happen outside of that working to replicate the content of
the Wiki on the P2P network..
I tend to prefer this architecture because it won't break the existing
code..
Now I think it has one drawback.. It means one wiki cannot be
distributed, which means having half of the wiki in one place and the
other half at another place. Wikis need to be 100% replicated to be
usable or there are used in the current state of replication..
I tend to believe this is the only usable way currently otherwise the
system will be way too slow.. A wiki page can have multiple searches
embedded in it and if these require searches in the P2P network it's
going to be too slow anyway.
But of course this is open to discussion
Ludovic
Bikash Agarwalla a écrit :
I have submitted a proposal for P2P XWiki to Google
and am exploring
the current code base
so that I get a head-start incase the proposal gets accepted. I have
A) Downloaded XWiki source version 0.9.793
B) Looked at developer documentation from
http://www.xwiki.org/xwiki/bin/view/Doc/WebHome
By looking at overall architecture of XWiki, I think that an offline
XWiki will have a
different type of Store (centralized store) and a P2P XWiki will have
another store implementation
(P2P Store). At first glance, it appears that the centralized and P2P
store will
extend the interfaces XWikiStoreInterface. The interaction with these
stores *may* introduce new
APIs or use existing XML-RPC API without any changes. I am working on
understanding the overall architecture of the current XWiki and
identifying how a P2P XWiki can make the best use of
existing implementation.
I have the following questions:
a) I have downloaded the source code but don't see any documentation
on how I can run the XWiki completely
local to my machine. What are the requirements and steps for running a
local wiki from the source code?
b) To be sure, am I starting with the correct code base or is there
any other version of offline XWiki (may be not fully developed)?
Any other suggestions also welcome,
Thanks,
Bikash Agarwalla
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Ludovic Dubost
XPertNet:
http://www.xpertnet.fr/
Blog:
http://www.ludovic.org/blog/
XWiki:
http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic