On 04/11/2010 11:17 PM, Andreas Schaefer wrote:
Hi
After using my Groovy based XWiki Blog I decided that I am not going to pursue this any
further because of these issues:
- Groovy applications still have more limitations than Velocity making it very difficult
to use as an alternative
- It is very difficult to deploy my own Groovy blog application because I have to go over
several hoops to install it (content, plugins, plugin configurations)
- Most of the issues where related to Groovy based Panels which seems not to be possible
- No interest in it
Even though I think that Groovy would be a much better way to script applications like
the Blog XWiki seems not to be ready to embrace it. From my point of view the entrenched
usage of Velocity makes it very difficult to go beyond a simple page script in another
scripting language.
What I'd like is to be able to write such an application solely with
wiki markup, no scripting at all. Something like:
(% class="hfeed single" %)(((
{{withObject type="Blog.BlogPostClass"}}
(% class="blogdate" %)
== {{property name="publishDate"/}} ==
(% class="hentry single-article" %)(((
(% class="entry-content" %)(((
{{property name="content"/}}
)))
)))
{{/withObject}}
)))
--
Sergiu Dumitriu
http://purl.org/net/sergiu/