[xwiki-devs] [WEBDAV] Getting rid of xwiki-webdav-plugin.
Hi Devs, xwiki-webdav-plugin was developed to provide means to calculate webdav urls of xwiki documents and attachments. But as it turns out, for a given document or an attachment, calculating webdav url is simply a string manipulation operation. It doesn't require any support from the webdav component (and thus the webdav plugin). So, I'm thinking we should remove the webdav plugin completely. WDYT ? Thanks. - Asiri
+0 Asiri Rathnayake wrote:
Hi Devs,
xwiki-webdav-plugin was developed to provide means to calculate webdav urls of xwiki documents and attachments. But as it turns out, for a given document or an attachment, calculating webdav url is simply a string manipulation operation. It doesn't require any support from the webdav component (and thus the webdav plugin). So, I'm thinking we should remove the webdav plugin completely.
WDYT ?
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Thu, Nov 27, 2008 at 6:22 PM, Asiri Rathnayake <[email protected]> wrote:
Hi Devs,
xwiki-webdav-plugin was developed to provide means to calculate webdav urls of xwiki documents and attachments. But as it turns out, for a given document or an attachment, calculating webdav url is simply a string manipulation operation. It doesn't require any support from the webdav component (and thus the webdav plugin). So, I'm thinking we should remove the webdav plugin completely.
WDYT ?
+1 to remove the plugin if it's really useless
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
+1 of course if it's useless. We don't want useless things :) Less is better. Unless there's another need to keep it of course. Thanks -Vincent On Nov 28, 2008, at 10:55 AM, Thomas Mortagne wrote:
On Thu, Nov 27, 2008 at 6:22 PM, Asiri Rathnayake <[email protected]> wrote:
Hi Devs,
xwiki-webdav-plugin was developed to provide means to calculate webdav urls of xwiki documents and attachments. But as it turns out, for a given document or an attachment, calculating webdav url is simply a string manipulation operation. It doesn't require any support from the webdav component (and thus the webdav plugin). So, I'm thinking we should remove the webdav plugin completely.
WDYT ?
+1 to remove the plugin if it's really useless
Thanks.
- Asiri
Asiri Rathnayake wrote:
Hi Devs,
xwiki-webdav-plugin was developed to provide means to calculate webdav urls of xwiki documents and attachments. But as it turns out, for a given document or an attachment, calculating webdav url is simply a string manipulation operation. It doesn't require any support from the webdav component (and thus the webdav plugin). So, I'm thinking we should remove the webdav plugin completely.
I don't like the "string manipulation" approach. In the future we should have pluggable URLFactories, so that you should just call something like: $services.urlFactory.getFactory('webdav').getAttachmentLink($attachment) +1 for removing the plugin, I never liked it anyway. -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (5)
-
Asiri Rathnayake -
Marius Dumitru Florea -
Sergiu Dumitriu -
Thomas Mortagne -
Vincent Massol