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