Hi Vincent,
Vincent Massol wrote:
Hi Stephane,
On Apr 16, 2007, at 12:08 AM, Stéphane Laurière wrote:
Hi Vincent and all,
I actually committed this code (a bit abruptly maybe) so that we
can discuss in greater detail what this would mean to use WikiModel
in XWiki. This is also the follow up of a recent exchange between
Silvan, Mikhail and I, while Silvan was asking about more info
about WikiModel on the one hand and about XWiki/WikiModel
integration on the other hand.
Who's Silvan? :)
sorry, this is Silvan Reinhold:
http://www.wikicreole.org/wiki/SilvanReinhold
This code is
just meant to be experimented with for now... It's a
few classes that make it possible to use WikiModel from XWiki. I
have put it at the developers' disposal so that others may build
upon this code if they wish. I will provide more information about
this code as soon as possible so that we can continue the
discussion.
org.semanticdesktop.wiki.core implements the Adapter pattern
applied to a wiki page: it lets you see a wiki page either as a
SemanticWikiPage, i.e a set of RDF statements, or as an HtmlPage or
as a SourceWikiPage. I agree a jar would be better indeed.
Actually I think it's a bit confusing to integrate both WikiModel AND
SemanticDesktop at the same time and I don't understand why we have
to do that together? Cannot we integrate WikiModel first and then
later on SemanticDesktop, provided we are interested in that (I have
only a very faint idea of what it means)?
org.semanticdesktop.wiki.core.adapter is just a helper package for
WikiModel. BTW WikiModel is also packaged under the org.semanticdesktop
umbrella package (see [1]). Using those packages doesn't mean we're
embedding the whole so called "Semantic Desktop" libraries being
developed in Nepomuk. It's just a package naming issue. That package
name is used because the code is developed within Nepomuk, and may be
part of a codebase living under the
SemanticDesktop.org community in the
future.
[1]
http://nepomuk.semanticdesktop.org/xwiki/bin/view/Components/WikiModel
What is SemanticDesktop? Where is it hosted? Who is
behind it? What's
its community?
SemanticDesktop is for now mainly driven by the Nepomuk Consortium, i.e
a European project running until 2008 [2]. The server is hosted jointly
by Mandriva and XPertNet. The domain name is for now the property of
StefanDecker [4], head of DERI [5] at the University of Galway, Ireland.
Within the Consortium, we're discussing the creation of a
SemanticDesktop.org foundation for sustaining the academic and industry
effort on Semantic Desktop technologies in the future, and for
maintaining standards and codebase implementing the Nepomuk APIs. The
Consortium description is available from [2]. XPertNet has been recently
appointed subcontractor of Mandriva/Edge-IT in this Consortium. A recent
presentation of Nepomuk and of the potential goals of the
SemanticDesktop.org community is available from [3].
[2]
http://nepomuk.semanticdesktop.org
[3]
http://www.semanticdesktop.org/xwiki/bin/view/Wiki/SemDeskHandsOn2007April_…
[4]
http://www.stefandecker.org
[5]
http://www.deri.org/
The seminal article by Stefan Decker and Martin Frank on the topic of a
"Social Semantic Desktop" is available from there:
http://www.deri.ie/fileadmin/documents/DERI-TR-2004-05-02.pdf
Also you're talking about viewing the same page
using different
models: semantic, html, source. I'd like an architecture overview of
this. Why is this needed?
It's just we found it handy to use something inspired by the Eclipse
IAdaptable interface for extending dynamically a WikiResource. Here is
below a link to the Javadoc of an IAdaptable and of IAdapterManager. Let
Mikhail and I provide a big picture of the use of this pattern in the
committed code in the next days.
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.is…
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.is…
For example, I would have thought the HTML view would
have been the
rendering of a Source page. Also, what about XWiki XML format, PDF,
etc?
As for the license: although not yet present yet
in the files, all
org.semanticdesktop.wiki* classes are EPLv1.0, all
com.xpn.xwiki.wikimodel classes follow th XWiki license, i.e LGPL.
Is EPL compatible with LGPL? (I have never used EPL).
good question! There are actually some issues apparently indeed. Let us
check and we'll get back with more information and proposals.
Cheers
Stéphane
Thanks!
-Vincent
Let me remind you all of the existence of a
specific mailing-list for
WikiModel:
https://nepomuk.semanticdesktop.org/wws/lists
CC: Mikhail, author of WikiModel
Cheers
Stéphane
Vincent Massol wrote:
Hi Stephane,
This sounds cool. Could you please send a short email explaining what
this is for, what you're planning to do with this, who's going to
work on this, architecture decisions taken, etc?
Also I've see you've imported sources from org.semanticdesktop.*. I
have some questions regarding this:
1) Why do we need this library? 2) Why don't we depend on a JAR
version of it rather than on source? 3) What is the license of it? 4)
It looks like JDK 1.5 code... but I guess we're going to standardize
on JDK 1.5 now...
A general comment: while this sounds cool, I think you're dumping a
LOT of files and this makes it almost impossible for anyone else to
participate in this refactoring which isn't good for you as it may
mean you'll have to do the whole coding yourself... ;-) I would have
rather had a discussion first explaining what you wanted to do, what
architecture, how does it fit with the 2.0 architecture, etc. Of
course we can and should do that now but still it's hard to review
that huge commit... at least for anyone not having 3-4 full days
ahead of him... :)
All that said, I'm happy we're getting traction on this :)
Thanks -Vincent
On Apr 15, 2007, at 10:10 PM, St??phane Lauri??re wrote:
Author: slauriere Date: 2007-04-15 22:10:22 +0200
(Sun, 15 Apr
2007) New Revision: 2817
Added: xwiki-sandbox/com.xpn.xwiki.wikimodel/ Log: XWIKI-1088: Put
wikimodel integration prototype available in the xwiki-sandbox
-- You receive this message as a subscriber of the
xwiki-commits(a)objectweb.org mailing list. To unsubscribe:
mailto:xwiki-commits-unsubscribe@objectweb.org For general help:
mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists
service home page:
http://www.objectweb.org/wws
------------------------------------------------------------------------
-- 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
--
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
------------------------------------------------------------------------
--
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