On 07/08/2010 01:41 PM, Florin Ciubotaru wrote:
Hi Anca,
+1 for A)
I like the fact that this will easily get integrated into the wysiwyg, the
fact that it offers more display freedom, better reuse and cleaner syntax.
also, it would not necessarily be cleaner syntax, from one point of
view: We need to find a way to specify the gadgets in a dashboard and,
if any macro can be used as a gadget, it means that we're gonna find a
method to display these macros as gadgets without adding extra params
(like title, width, height, position in the dashboard).
Sorry, I didn't follow your roadmap, but how do you plan to integrate this
into the platform? I see the gadgets/directory/dashboard as distinct
elements. Are these going to be implemented(to be read 'implemented&
released') separately or in one big step?
Thanks,
Florin Ciubotaru
On Wed, Jul 7, 2010 at 7:13 PM, Anca Luca<lucaa(a)xwiki.com> wrote:
Hi devs,
Following the implementation of gadgets we'd need to discuss the
approach of implementing xwiki as an open social container (also see
http://dev.xwiki.org/xwiki/bin/view/Design/GadgetIntegration#HXWikiasOpenSo…
for the discussion). There are 2 approaches that can be used:
Short story:
Option A): open social gadgets are imported as xwiki macros (one macro
for each imported gadget), the xwiki dashboard works with macros as
gadgets, to publish the xwiki macros as gadgets we provide an automatic
transformation of xwiki macros in open social gadgets XML definition
Option B): dashboard accepts a single macro inside, the {{gadget}}
macro, which will specify a reference to the gadget to display (URL to
XML if it's open social, page reference if it's xwiki gadget) and the
parameters, there would be a mechanism to automatically publish these
xwiki pages as gadgets (to be used either by this {{gadget}} macro or by
other containers).
Long story (also discussing possible approaches for subproblems, and
also containing some pros& cons):
Option A)
See
http://dev.xwiki.org/xwiki/bin/view/Design/GadgetIntegration#HProposalA-Gad…
Option B)
See
http://dev.xwiki.org/xwiki/bin/view/Design/GadgetIntegration#HProposalB-All…
WDYT? Do you think there are other possible approaches that should be
added to this list before the vote? What do you think would be more
suitable?
Some usage scenarios are documented at
http://dev.xwiki.org/xwiki/bin/view/Design/GadgetIntegration#HScenarios
. Please, if you feel the list is not complete, contribute your usecases.
Thanks,
Anca
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs