On Jun 14, 2010, at 6:25 PM, Vincent Massol wrote:
On Jun 14, 2010, at 6:14 PM, Marius Dumitru Florea wrote:
Hi devs,
You can find here http://dev.xwiki.org/xwiki/bin/view/Drafts/PortletIntegration a draft regarding the portlet integration.
We need to decide what's the best approach. For short term I think the loosely-coupled integration solution is the best as it requires less changes to the core. The current implementation is in http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-portlet/ and I propose to move it to platform/xwiki-portlet before 2.4M2.
For long term, when we'll have the new model in place, we might consider the tightly-coupled integration solution as it seems to be more clean and it follows the component way. It won't be easy to implement though.
WDYT?
I'd like to see how it integrates with the portlet module in containers. I don't think it's a good idea to have 2 places for portlets at the same time. I'd also like to see how it integrates in container/ module in general.
We have defined a place for environments in containers/ so if you're proposing to put code outside of it, it means this container notion doesn't work and we need to get rid of it.
hmm what you are saying I think is that your implementation is an implementation using old concepts (ie xwiki-core). So far everything that was done the old way has been put in xwiki-core (and in plugins). I'd prefer to isolate new stuff from old stuff that has to go away. So it seems we'd need something like: platform/xwiki-old/ |_ xwiki-core/ |_ xwiki-portlet Do I understand correctly? Thanks -Vincent