[xwiki-devs] [Proposal] New Resource module
Hi devs, See http://jira.xwiki.org/browse/XWIKI-9237: {quote} The idea is to rename the URL module's XWikiURL, AbstractXWikiURL, XWikiEntityURL, etc into Resource, AbstractResource and EntityResource and move them to a resource module. The reason is that they are not URL and are thus badly named. In addition since the goal is to the resource in the Execution Context and the EC should be independent of any environment it's not right to put a URL in it. A Resource is much better. This also brings us one step closer to http://markmail.org/thread/wfj4dupq76agqonz {quote} Specifically the code is in a branch right now at: https://github.com/xwiki/xwiki-platform/tree/feature-resource-and-wiki-modul... Let me know what you think. Thanks -Vincent
Note that this will also be needed for the Action module that's supposed to replace struts. Thanks -Vincent On Jun 17, 2013, at 10:02 AM, Vincent Massol <[email protected]> wrote:
Hi devs,
See http://jira.xwiki.org/browse/XWIKI-9237:
{quote} The idea is to rename the URL module's XWikiURL, AbstractXWikiURL, XWikiEntityURL, etc into Resource, AbstractResource and EntityResource and move them to a resource module.
The reason is that they are not URL and are thus badly named. In addition since the goal is to the resource in the Execution Context and the EC should be independent of any environment it's not right to put a URL in it. A Resource is much better.
This also brings us one step closer to http://markmail.org/thread/wfj4dupq76agqonz {quote}
Specifically the code is in a branch right now at: https://github.com/xwiki/xwiki-platform/tree/feature-resource-and-wiki-modul...
Let me know what you think.
Thanks -Vincent
Also note that my plan is to merge the work I've done on the feature-resource-and-wiki-modules branch on master for 5.2M1 as soon as we branch master for the 5.1RC1 release. Let me know quickly if you see an issue with this. Thanks -Vincent On Jun 17, 2013, at 10:03 AM, Vincent Massol <[email protected]> wrote:
Note that this will also be needed for the Action module that's supposed to replace struts.
Thanks -Vincent
On Jun 17, 2013, at 10:02 AM, Vincent Massol <[email protected]> wrote:
Hi devs,
See http://jira.xwiki.org/browse/XWIKI-9237:
{quote} The idea is to rename the URL module's XWikiURL, AbstractXWikiURL, XWikiEntityURL, etc into Resource, AbstractResource and EntityResource and move them to a resource module.
The reason is that they are not URL and are thus badly named. In addition since the goal is to the resource in the Execution Context and the EC should be independent of any environment it's not right to put a URL in it. A Resource is much better.
This also brings us one step closer to http://markmail.org/thread/wfj4dupq76agqonz {quote}
Specifically the code is in a branch right now at: https://github.com/xwiki/xwiki-platform/tree/feature-resource-and-wiki-modul...
Let me know what you think.
Thanks -Vincent
participants (1)
-
Vincent Massol