Groovy and XWiki

August 9, 2008 at 2:32 am (Uncategorized) ()

The more I use a wiki at my day job the more I come to rely on it.  I have found it to be an outstanding documentation and note-taking tool.  At work I installed the Moin Moin Wiki which myself and two other developers contribute to regularly now.  We are using version 1.6.something and have been happy with it.

I recently installed a new kind of wiki at home.  XWiki, the self-proclaimed second generation wiki, is more than just a wiki.  XWiki adds the very desirable capability to add two kinds of scripting languages directly into the wiki pages: Groovy and Vortex.  This capability could allow you to write quick-and-dirty web applications directly in the wiki.  It’s all object oriented and runs on a JEE back end.

In my brief encounter with XWiki so far the most exciting part is the Groovy support.  Groovy seems to be exciting lots of Java developers and I’m one of them.  XWiki also has a very flexible and, so the XWiki developers say, an enterprise ready wiki architecture.

The major problem I see with XWiki’s Groovy support is that the code is embedded directly in the wiki pages.  At first glance this seems to be bad form when I think of all the “best practices” I’m always attempting to digest and use.

I’ll have to investigate more to see how this all plays out.  Let me know your opinion if you have some experience with XWiki.

Permalink 4 Comments