[xwiki-devs] [Proposal] Bundle Template Providers with Apps as a best practice
Hi devs, On http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac... we list some app dev best practices. I’m proposing to add one more bullet point which is to add a template provider. The goal is to make it as easy as possible for end users to add new items for the concerned app. For example, the blog app would have a Blog Template to create new blog post directly from the Add menu, the FAQ app would add a FAQ Template to do the same for the FAQ app, etc. WDYT? Thanks -Vincent
Sounds good in general, but do you mean for the whole wiki or limited to blog space, FAQ space etc. ? On Wed, Apr 2, 2014 at 9:36 AM, [email protected] <[email protected]> wrote:
Hi devs,
On http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac... we list some app dev best practices. I'm proposing to add one more bullet point which is to add a template provider. The goal is to make it as easy as possible for end users to add new items for the concerned app.
For example, the blog app would have a Blog Template to create new blog post directly from the Add menu, the FAQ app would add a FAQ Template to do the same for the FAQ app, etc.
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On 2 Apr 2014 at 09:39:34, Thomas Mortagne ([email protected]) wrote: Sounds good in general, but do you mean for the whole wiki or limited to blog space, FAQ space etc. ? IMO this depends on the app. If the app supports having pages located anywhere then whole wiki. If the app supports only pages in a given space then at the space level. What would be nice would to be able to lock the space in a template provider so that when you click Add at the wiki level, the space field is greyed out and uneditable and shows the default space value provided by the provider. Thanks -Vincent On Wed, Apr 2, 2014 at 9:36 AM, [email protected] <[email protected]> wrote:
Hi devs, On http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac... we list some app dev best practices. I'm proposing to add one more bullet point which is to add a template provider. The goal is to make it as easy as possible for end users to add new items for the concerned app. For example, the blog app would have a Blog Template to create new blog post directly from the Add menu, the FAQ app would add a FAQ Template to do the same for the FAQ app, etc. WDYT? Thanks -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Currently we can specify a list of spaces where the template is available. So you can put FAQ or Blog, but you have to go to those spaces to be able to have the template provider listed when you create a new page. So you won't be able to create a blog post from the Main space. I'm not sure if there are real use cases for this, but being able to fix the space where the page is created as Vincent suggested is better. Thanks, Marius On Wed, Apr 2, 2014 at 10:42 AM, [email protected] <[email protected]> wrote:
On 2 Apr 2014 at 09:39:34, Thomas Mortagne ([email protected]) wrote:
Sounds good in general, but do you mean for the whole wiki or limited to blog space, FAQ space etc. ? IMO this depends on the app. If the app supports having pages located anywhere then whole wiki. If the app supports only pages in a given space then at the space level.
What would be nice would to be able to lock the space in a template provider so that when you click Add at the wiki level, the space field is greyed out and uneditable and shows the default space value provided by the provider.
Thanks
-Vincent
On Wed, Apr 2, 2014 at 9:36 AM, [email protected] <[email protected]> wrote:
Hi devs,
On http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac... we list some app dev best practices. I'm proposing to add one more bullet point which is to add a template provider. The goal is to make it as easy as possible for end users to add new items for the concerned app.
For example, the blog app would have a Blog Template to create new blog post directly from the Add menu, the FAQ app would add a FAQ Template to do the same for the FAQ app, etc.
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+1 for the proposal. Thanks, Marius On Wed, Apr 2, 2014 at 10:52 AM, Marius Dumitru Florea <[email protected]> wrote:
Currently we can specify a list of spaces where the template is available. So you can put FAQ or Blog, but you have to go to those spaces to be able to have the template provider listed when you create a new page. So you won't be able to create a blog post from the Main space. I'm not sure if there are real use cases for this, but being able to fix the space where the page is created as Vincent suggested is better.
Thanks, Marius
On Wed, Apr 2, 2014 at 10:42 AM, [email protected] <[email protected]> wrote:
On 2 Apr 2014 at 09:39:34, Thomas Mortagne ([email protected]) wrote:
Sounds good in general, but do you mean for the whole wiki or limited to blog space, FAQ space etc. ? IMO this depends on the app. If the app supports having pages located anywhere then whole wiki. If the app supports only pages in a given space then at the space level.
What would be nice would to be able to lock the space in a template provider so that when you click Add at the wiki level, the space field is greyed out and uneditable and shows the default space value provided by the provider.
Thanks
-Vincent
On Wed, Apr 2, 2014 at 9:36 AM, [email protected] <[email protected]> wrote:
Hi devs,
On http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac... we list some app dev best practices. I'm proposing to add one more bullet point which is to add a template provider. The goal is to make it as easy as possible for end users to add new items for the concerned app.
For example, the blog app would have a Blog Template to create new blog post directly from the Add menu, the FAQ app would add a FAQ Template to do the same for the FAQ app, etc.
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+1 Thanks, Caty On Wed, Apr 2, 2014 at 10:54 AM, Marius Dumitru Florea < [email protected]> wrote:
+1 for the proposal.
Thanks, Marius
On Wed, Apr 2, 2014 at 10:52 AM, Marius Dumitru Florea <[email protected]> wrote:
Currently we can specify a list of spaces where the template is available. So you can put FAQ or Blog, but you have to go to those spaces to be able to have the template provider listed when you create a new page. So you won't be able to create a blog post from the Main space. I'm not sure if there are real use cases for this, but being able to fix the space where the page is created as Vincent suggested is better.
Thanks, Marius
On Wed, Apr 2, 2014 at 10:42 AM, [email protected] <[email protected]> wrote:
On 2 Apr 2014 at 09:39:34, Thomas Mortagne ([email protected])
wrote:
Sounds good in general, but do you mean for the whole wiki or limited to blog space, FAQ space etc. ? IMO this depends on the app. If the app supports having pages located
anywhere then whole wiki. If the app supports only pages in a given space then at the space level.
What would be nice would to be able to lock the space in a template
provider so that when you click Add at the wiki level, the space field is greyed out and uneditable and shows the default space value provided by the provider.
Thanks
-Vincent
On Wed, Apr 2, 2014 at 9:36 AM, [email protected] <[email protected]>
wrote:
Hi devs,
On http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac... list some app dev best practices. I'm proposing to add one more bullet point which is to add a template provider. The goal is to make it as easy as possible for end users to add new items for the concerned app.
For example, the blog app would have a Blog Template to create new blog post directly from the Add menu, the FAQ app would add a FAQ Template to do the same for the FAQ app, etc.
WDYT?
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On 04/02/2014 03:36 AM, [email protected] wrote:
Hi devs,
On http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac... we list some app dev best practices. I’m proposing to add one more bullet point which is to add a template provider. The goal is to make it as easy as possible for end users to add new items for the concerned app.
For example, the blog app would have a Blog Template to create new blog post directly from the Add menu, the FAQ app would add a FAQ Template to do the same for the FAQ app, etc.
WDYT?
+1, we already decided a very long time ago to do this, but not in writing, and nobody seems to have added any templates. -- Sergiu Dumitriu http://purl.org/net/sergiu
+0 Thanks, Sofiane 2014-04-02 12:21 GMT+01:00 Sergiu Dumitriu <[email protected]>:
On 04/02/2014 03:36 AM, [email protected] wrote:
Hi devs,
On http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPrac... list some app dev best practices. I'm proposing to add one more bullet point which is to add a template provider. The goal is to make it as easy as possible for end users to add new items for the concerned app.
For example, the blog app would have a Blog Template to create new blog post directly from the Add menu, the FAQ app would add a FAQ Template to do the same for the FAQ app, etc.
WDYT?
+1, we already decided a very long time ago to do this, but not in writing, and nobody seems to have added any templates. -- Sergiu Dumitriu http://purl.org/net/sergiu _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (6)
-
Ecaterina Moraru (Valica) -
Marius Dumitru Florea -
Sergiu Dumitriu -
Sofiane Baloul -
Thomas Mortagne -
vincent@massol.net