On Wed, Aug 17, 2011 at 12:02 PM, Vincent Massol <vincent(a)massol.net> wrote:
Hi Matthias,
On Aug 16, 2011, at 11:18 PM, Matthias Gorzellik wrote:
Hello,
I have a question concerning the integration of xWiki into a vaadin project.
We are very keen to add some of the xWiki features to our project, for example the
WYSIWYG editor, the versioning, multilang support, plugin support...
Because these features will then be very interconnected with our
application, we refrain from using the REST api.
What we rather want is to use the xWiki somehow as a 'library' which provides
components we can add to our vaadin view.
The question now is, if someone has done such thing before or it it is even
possible ? Do we have to rip the whole xwiki sourcecode apart or is there an
easy way to adapt xWiki to the vaadin framework ?
I would be very pleased with any kind of answer and I would also be happy to
explain our project in detail if its not clear enough.
XWiki has a lot of different pieces to it and using it as a library means deciding what
pieces you'd like to reuse.
All pieces located in commons/, rendering/ are easy to use as a library. This means that
you can easily reuse the XWiki rendering engine, see
http://rendering.xwiki.org
Now it's also possible to use some modules in platform/ but that'll depend on the
module.
The WYSIWYG editor is also usable as a library.
Marius, do we have doc on
xwiki.org that explains how to do this? (we should have it).
You can find some information on
http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module
. The editor has a client side and a serve side. The server side
implements some services required by some client side features. You
can of course reuse the client side. For the features that require
services you can provide your own server side implementation, possibly
reusing XWiki components. For instance, if you want to convert the
HTML output of the editor to a different syntax you can use the
rendering module.
Hope this helps,
Marius
Plugin support is deprecated is now component support, which is part of common/, see
http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module
Multilang support is going to be hard to reuse ATM.
Let us know more if you need more details.
Thanks
-Vincent
Thanks in advance,
Matthias Gorzellik
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users