Hi Sergiu

Well, that was the other thing that nagged me today. Now I need to manually 
revert the documents from the Groovy script back to the Velocity script in 
order to make it work with the default blog.

I completely agree there should be a clear separation between the document / 
content and the presentation / scripting. But let's have a closer look:

- Presentation can be done through wiki markup I guess (looks like CSS to me)
- Controlling the work flow (create new / edit exiting entry, create / update 
category, add / update tags, publish / hide, delete entry etc) can be done 
through hooks and server side scripting
- Ajax functionality: needs some server side scripting but I don't know how 
this would work on the client side

I don't know how easy or difficult it would be to introduce service side hooks 
into XWiki to enable the creation of applications like the blog.

Have fun - Andy

On Apr 11, 2010, at 3:49 PM, Sergiu Dumitriu wrote:

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

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

Reply via email to