Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions

2016-09-19 Thread Vincent Massol
Now added to http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPractices Thanks -Vincent > On 16 Sep 2016, at 14:35, Vincent Massol wrote: > > Hi, > > Since XWiki 8.0 we now have a way to define in which namespace an extensions > work. See “xwiki.extension.namespaces” i

Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions

2016-09-19 Thread Guillaume Delhumeau
+1 2016-09-18 22:05 GMT+02:00 Eduard Moraru : > +1 > > Thanks, > Eduard > > On Fri, Sep 16, 2016 at 7:27 PM, Marius Dumitru Florea < > mariusdumitru.flo...@xwiki.com> wrote: > > > On Fri, Sep 16, 2016 at 7:24 PM, Vincent Massol > > wrote: > > > > > > > > > On 16 Sep 2016, at 18:08, Marius Dumitr

Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions

2016-09-18 Thread Eduard Moraru
+1 Thanks, Eduard On Fri, Sep 16, 2016 at 7:27 PM, Marius Dumitru Florea < mariusdumitru.flo...@xwiki.com> wrote: > On Fri, Sep 16, 2016 at 7:24 PM, Vincent Massol > wrote: > > > > > > On 16 Sep 2016, at 18:08, Marius Dumitru Florea < > > mariusdumitru.flo...@xwiki.com> wrote: > > > > > > What

Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions

2016-09-16 Thread Marius Dumitru Florea
On Fri, Sep 16, 2016 at 7:24 PM, Vincent Massol wrote: > > > On 16 Sep 2016, at 18:08, Marius Dumitru Florea < > mariusdumitru.flo...@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.

Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions

2016-09-16 Thread Vincent Massol
> On 16 Sep 2016, at 18:08, Marius Dumitru Florea > 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.

Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions

2016-09-16 Thread Marius Dumitru Florea
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 wrote: > Hi, > > Since XWiki 8.0 we now have a way to define in which namespace an > extensions work. See “xwiki.ext

Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions

2016-09-16 Thread Thomas Mortagne
On Fri, Sep 16, 2016 at 3:28 PM, Vincent Massol wrote: > >> On 16 Sep 2016, at 15:26, Thomas Mortagne 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 wh

Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions

2016-09-16 Thread Vincent Massol
> On 16 Sep 2016, at 15:26, Thomas Mortagne 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). Tha

Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions

2016-09-16 Thread Thomas Mortagne
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 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.or

[xwiki-devs] [Proposal] New best practice for app development: namespace restrictions

2016-09-16 Thread Vincent Massol
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 be