Blog rewrite in Groovy

3 messages Options
Embed this post
Permalink
Andreas Schaefer

Blog rewrite in Groovy

Reply Threaded More More options
Print post
Permalink
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
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
Ludovic Dubost-2

Re: Blog rewrite in Groovy

Reply Threaded More More options
Print post
Permalink

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
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/devs
>
>  


--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs
vmassol

Re: Blog rewrite in Groovy

Reply Threaded More More options
Print post
Permalink
In reply to this post by Andreas Schaefer

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

_______________________________________________
devs mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/devs