[xwiki-devs] Blog rewrite in Groovy
Hi Because of all the issues I have trying to convert XWiki Blog to 2.0 I was wondering if it wouldn't be better to rewrite it in Groovy than trying to convert it? Any feedback is welcomed. Thanks - Andy Schaefer
Having a Blog plugin would indeed make sense to have the lower level APIs covered. This would also be the place to have the RPC apis to support remore posting. Now this might better in a Java plugin/component than in Groovy. Moving the code to groovy could be a step to making it a plugin. Ludovic Andreas Schaefer a écrit :
Hi
Because of all the issues I have trying to convert XWiki Blog to 2.0 I was wondering if it wouldn't be better to rewrite it in Groovy than trying to convert it?
Any feedback is welcomed.
Thanks - Andy Schaefer _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
On Jul 3, 2009, at 4:27 AM, Andreas Schaefer wrote:
Hi
Because of all the issues I have trying to convert XWiki Blog to 2.0 I was wondering if it wouldn't be better to rewrite it in Groovy than trying to convert it?
I also agree that we should make it a java component, i.e. move most of the velocity code located in BlogCode and such into a java API that can be reused from wiki pages and only keep presentation code in the Blog application. However that's more work and can be done in a second step. The first step IMO is to convert the blog app to 2.0 syntax. It's very easy to do so. However make sure you're using XE 1.9.1 or 2.0M1 since you need to use the new velocity macro with the new default whitespace/newline strategy. Thanks -Vincent
participants (3)
-
Andreas Schaefer -
Ludovic Dubost -
Vincent Massol