On Aug 24, 2012, at 6:40 PM, Vincent Massol <[email protected]> wrote:

> 
> On Aug 24, 2012, at 6:39 PM, Vincent Massol <[email protected]> wrote:
> 
>> 
>> On Aug 24, 2012, at 6:18 PM, Jean-Vincent Drean <[email protected]> wrote:
>> 
>>> Hi,
>>> 
>>> I've been working on UI extensions lately and those extensions are
>>> implemented as components.
>>> To be able to have components both defined from java code and from
>>> wiki documents I've worked on the xwiki-platform-component-wiki module
>>> started by Jerome a while ago.
>>> The initial design is described here:
>>> http://dev.xwiki.org/xwiki/bin/view/Design/WikiComponents
>>> 
>>> In addition the module allows other modules to easily synchronize java
>>> components with content coming from XObjects.
>>> To do so you need to implement WikiComponent [1] and
>>> WikiComponentBuilder [2]. Then a manager will automatically
>>> unregister/register your components whenever it's required: when the
>>> wiki starts, when a document is updated, deleted, etc.
>>> 
>>> In order to commit the UI extension module I need
>>> xwiki-platform-component-wiki to be moved to platform.
>>> Here's my +1
>> 
>> +1
> 
> And +1 to refactor existing code to use that in the future. I can think of:
> * Wiki Macros
> * IRC Bot Listeners

And importantly, the new translation module, which should have something of a 
TranslationSet component role and the ability to register a TranslationSet 
component in a wiki page.

I'll probably end up writing this one if nobody beats me to it...

Thanks
-Vincent

> Thanks
> -Vincent
> 
>>> [1] : 
>>> https://github.com/xwiki-contrib/xwiki-platform-component-wiki/blob/master/src/main/java/org/xwiki/component/wiki/WikiComponent.java
>>> [2] : 
>>> https://github.com/xwiki-contrib/xwiki-platform-component-wiki/blob/master/src/main/java/org/xwiki/component/wiki/WikiComponentBuilder.java
> 

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

Reply via email to