It took me quite a while to understand Sergiu's ideas, but now that I
think I did they seem quite convincing. Here are two points on which I
agree with Sergiu.
It's highly unlikely that we can specify all possible extension points
in any interface using XWiki, especially if we want to keep things
easily extensible in the future. So instead of trying to enumerate the
ones we currently know about, it would make sense to use a more
generic way of specifying extension points. For better understanding,
you can view an extension point as something as simple as a HTML id or
class, so just a string identifier.
Another point is that it should be possible to add such extension
points not only from Java components, but also from Velocity, Groovy
or Xwiki objects etc, so from the user interface itself. First,
because it would be convenient for users. Most users will have the
permissions to add new Velocity code for example, while adding a new
Java component is not an option unless you are an administrator.
Second, if the syntax is simple enough the designers themselves will
be able to add the extension points to their user interface, without
needing a programmer's assistance.
Regards,
Catalin
On 3/21/07, Luis Arias <kaaloo(a)gmail.com> wrote:
Ok Vincent, sounds cool ! I hope your conference went
well !
Luis
On 3/21/07, Vincent Massol <vincent(a)massol.net> wrote:
Luis, I was only discussing general principles and not details. The
page stuff was only one example of one interface. This is why I said:
"<example - I'm not asking to vote on this, it's just an example to
better visualize what "one Java Interface for each UI contribution"
means>"
:)
Now that said, I need to read Sergiu's emails and answer. That'll
take me a bit as I'm talking at conference today and this is not
something you read quickly. I'll need to digest it :)
--
Luis Arias
http://www.xwiki.com
+33 6 14 20 87 93
skype : kaaloo
--
You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws