Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions
Now added to http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPractices Thanks -Vincent > On 16 Sep 2016, at 14:35, Vincent Massolwrote: > > 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
Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions
+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 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 > > 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
Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions
On Fri, Sep 16, 2016 at 7:24 PM, Vincent Massolwrote: > > > 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.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 > 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
Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions
> 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. 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 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
Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions
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 Massolwrote: > 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
Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions
On Fri, Sep 16, 2016 at 3:28 PM, Vincent Massolwrote: > >> 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). s/main wiki/root namespace/ > > Thanks > -Vincent > >> 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.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 -- Thomas Mortagne ___ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions
> On 16 Sep 2016, at 15:26, Thomas Mortagnewrote: > > 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 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
Re: [xwiki-devs] [Proposal] New best practice for app development: namespace restrictions
Sure but should not be abused, most of the extensions can be installed anywhere. On Fri, Sep 16, 2016 at 2:35 PM, Vincent Massolwrote: > 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 -- Thomas Mortagne ___ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs