[xwiki-devs] [Proposal] New best practice for app development: namespace restrictions
Hi, Since XWiki 8.0 we now have a way to define in which namespace an extensions work. See “xwiki.extension.namespaces” in http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Commons+-+Extensi... I’m proposing to add that apps should use this as a best practice in http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac... WDYT? Thanks -Vincent
Sure but should not be abused, most of the extensions can be installed anywhere. On Fri, Sep 16, 2016 at 2:35 PM, Vincent Massol <vincent@massol.net> wrote:
Hi,
Since XWiki 8.0 we now have a way to define in which namespace an extensions work. See “xwiki.extension.namespaces” in http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Commons+-+Extensi...
I’m proposing to add that apps should use this as a best practice in http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac...
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On 16 Sep 2016, at 15:26, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Sure but should not be abused, most of the extensions can be installed anywhere.
The idea is to use it when an extension will only work in a specific namespace (usually when the extension should only be installed on the main wiki). Thanks -Vincent
On Fri, Sep 16, 2016 at 2:35 PM, Vincent Massol <vincent@massol.net> wrote:
Hi,
Since XWiki 8.0 we now have a way to define in which namespace an extensions work. See “xwiki.extension.namespaces” in http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Commons+-+Extensi...
I’m proposing to add that apps should use this as a best practice in http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac...
WDYT?
Thanks -Vincent
On Fri, Sep 16, 2016 at 3:28 PM, Vincent Massol <vincent@massol.net> wrote:
On 16 Sep 2016, at 15:26, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Sure but should not be abused, most of the extensions can be installed anywhere.
The idea is to use it when an extension will only work in a specific namespace (usually when the extension should only be installed on the main wiki).
s/main wiki/root namespace/
Thanks -Vincent
On Fri, Sep 16, 2016 at 2:35 PM, Vincent Massol <vincent@massol.net> wrote:
Hi,
Since XWiki 8.0 we now have a way to define in which namespace an extensions work. See “xwiki.extension.namespaces” in http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Commons+-+Extensi...
I’m proposing to add that apps should use this as a best practice in http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac...
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
What exactly is the best practice you want to add? Set xwiki.extension.namespaces to what value and in which cases? Thanks, Marius On Fri, Sep 16, 2016 at 3:35 PM, Vincent Massol <vincent@massol.net> wrote:
Hi,
Since XWiki 8.0 we now have a way to define in which namespace an extensions work. See “xwiki.extension.namespaces” in http://extensions.xwiki.org/xwiki/bin/view/Extension/ XWiki+Commons+-+Extension+-+Repository+-+Maven#HCustomproperties
I’m proposing to add that apps should use this as a best practice in http://dev.xwiki.org/xwiki/bin/view/Community/ ApplicationDevelopmentBestPractices
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
On 16 Sep 2016, at 18:08, Marius Dumitru Florea <mariusdumitru.florea@xwiki.com> wrote:
What exactly is the best practice you want to add? Set xwiki.extension.namespaces to what value and in which cases?
Set xwiki.extension.namespaces in the pom when an extension will only work when installed on the root namespace. IMO that’s the main use case and I don’t really see another one. Do you? Thanks -Vincent
Thanks, Marius
On Fri, Sep 16, 2016 at 3:35 PM, Vincent Massol <vincent@massol.net> wrote:
Hi,
Since XWiki 8.0 we now have a way to define in which namespace an extensions work. See “xwiki.extension.namespaces” in http://extensions.xwiki.org/xwiki/bin/view/Extension/ XWiki+Commons+-+Extension+-+Repository+-+Maven#HCustomproperties
I’m proposing to add that apps should use this as a best practice in http://dev.xwiki.org/xwiki/bin/view/Community/ ApplicationDevelopmentBestPractices
WDYT?
Thanks -Vincent
On Fri, Sep 16, 2016 at 7:24 PM, Vincent Massol <vincent@massol.net> wrote:
On 16 Sep 2016, at 18:08, Marius Dumitru Florea < mariusdumitru.florea@xwiki.com> wrote:
What exactly is the best practice you want to add? Set xwiki.extension.namespaces to what value and in which cases?
Set xwiki.extension.namespaces in the pom when an extension will only work when installed on the root namespace.
+1 Thanks, Marius
IMO that’s the main use case and I don’t really see another one. Do you?
Thanks -Vincent
Thanks, Marius
On Fri, Sep 16, 2016 at 3:35 PM, Vincent Massol <vincent@massol.net>
wrote:
Hi,
Since XWiki 8.0 we now have a way to define in which namespace an extensions work. See “xwiki.extension.namespaces” in http://extensions.xwiki.org/xwiki/bin/view/Extension/ XWiki+Commons+-+Extension+-+Repository+-+Maven#HCustomproperties
I’m proposing to add that apps should use this as a best practice in http://dev.xwiki.org/xwiki/bin/view/Community/ ApplicationDevelopmentBestPractices
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
+1 Thanks, Eduard On Fri, Sep 16, 2016 at 7:27 PM, Marius Dumitru Florea < mariusdumitru.florea@xwiki.com> wrote:
On Fri, Sep 16, 2016 at 7:24 PM, Vincent Massol <vincent@massol.net> wrote:
On 16 Sep 2016, at 18:08, Marius Dumitru Florea < mariusdumitru.florea@xwiki.com> wrote:
What exactly is the best practice you want to add? Set xwiki.extension.namespaces to what value and in which cases?
Set xwiki.extension.namespaces in the pom when an extension will only work when installed on the root namespace.
+1
Thanks, Marius
IMO that’s the main use case and I don’t really see another one. Do you?
Thanks -Vincent
Thanks, Marius
On Fri, Sep 16, 2016 at 3:35 PM, Vincent Massol <vincent@massol.net>
wrote:
Hi,
Since XWiki 8.0 we now have a way to define in which namespace an extensions work. See “xwiki.extension.namespaces” in http://extensions.xwiki.org/xwiki/bin/view/Extension/ XWiki+Commons+-+Extension+-+Repository+-+Maven#HCustomproperties
I’m proposing to add that apps should use this as a best practice in http://dev.xwiki.org/xwiki/bin/view/Community/ ApplicationDevelopmentBestPractices
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
+1 2016-09-18 22:05 GMT+02:00 Eduard Moraru <enygma2002@gmail.com>:
+1
Thanks, Eduard
On Fri, Sep 16, 2016 at 7:27 PM, Marius Dumitru Florea < mariusdumitru.florea@xwiki.com> wrote:
On Fri, Sep 16, 2016 at 7:24 PM, Vincent Massol <vincent@massol.net> wrote:
On 16 Sep 2016, at 18:08, Marius Dumitru Florea < mariusdumitru.florea@xwiki.com> wrote:
What exactly is the best practice you want to add? Set xwiki.extension.namespaces to what value and in which cases?
Set xwiki.extension.namespaces in the pom when an extension will only work when installed on the root namespace.
+1
Thanks, Marius
IMO that’s the main use case and I don’t really see another one. Do
you?
Thanks -Vincent
Thanks, Marius
On Fri, Sep 16, 2016 at 3:35 PM, Vincent Massol <vincent@massol.net>
wrote:
Hi,
Since XWiki 8.0 we now have a way to define in which namespace an extensions work. See “xwiki.extension.namespaces” in http://extensions.xwiki.org/xwiki/bin/view/Extension/ XWiki+Commons+-+Extension+-+Repository+-+Maven#HCustomproperties
I’m proposing to add that apps should use this as a best practice in http://dev.xwiki.org/xwiki/bin/view/Community/ ApplicationDevelopmentBestPractices
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
-- Guillaume Delhumeau (guillaume.delhumeau@xwiki.com) Research & Development Engineer at XWiki SAS Committer on the XWiki.org project
Now added to http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac... Thanks -Vincent
On 16 Sep 2016, at 14:35, Vincent Massol <vincent@massol.net> wrote:
Hi,
Since XWiki 8.0 we now have a way to define in which namespace an extensions work. See “xwiki.extension.namespaces” in http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Commons+-+Extensi...
I’m proposing to add that apps should use this as a best practice in http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac...
WDYT?
Thanks -Vincent
participants (5)
-
Eduard Moraru -
Guillaume Delhumeau -
Marius Dumitru Florea -
Thomas Mortagne -
Vincent Massol