[xwiki-devs] [Proposal] Add an application for common XWiki functions
Hi devs, I propose to add a new application called "core-functionality" that would contain a collection of XWiki.* pages used by the core and some components. The use cases I can think of are: - Some functionality of the old core that used a template from web/standard/src/main/webapp/templates is replaced by a new component - A new component that is supposed to be used everywhere needs to display 1-2 custom pages (a confirmation message, warning etc.) - There are several templates in web/standard/src/main/webapp/templates that are currently used in a somewhat strange way, they are injected into other pages using xpage=template parameter. This parameter completely replaces the original page content by the content of the template (e.g. copy, create or rename page work in this way). These templates should also be slowly migrated to corresponding XWiki.* pages. I have created this application in sandbox: https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/core-functionality It currently contains one page used by the CSRF token component I'm currently working on (https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-csrftoken). WDYT? Alex
+1 Maybe there is a better name than "core-functionality"? I can't think of one. Anyway I'm generally +1 for moving away from the filesystem templates. Caleb Alex Busenius wrote:
Hi devs,
I propose to add a new application called "core-functionality" that would contain a collection of XWiki.* pages used by the core and some components.
The use cases I can think of are:
- Some functionality of the old core that used a template from web/standard/src/main/webapp/templates is replaced by a new component
- A new component that is supposed to be used everywhere needs to display 1-2 custom pages (a confirmation message, warning etc.)
- There are several templates in web/standard/src/main/webapp/templates that are currently used in a somewhat strange way, they are injected into other pages using xpage=template parameter. This parameter completely replaces the original page content by the content of the template (e.g. copy, create or rename page work in this way). These templates should also be slowly migrated to corresponding XWiki.* pages.
I have created this application in sandbox:
https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/core-functionality
It currently contains one page used by the CSRF token component I'm currently working on (https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-csrftoken).
WDYT?
Alex _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
I couldn't think of a better name either, ideas are welcome :) On 06/13/2010 01:01 PM, Caleb James DeLisle wrote:
+1
Maybe there is a better name than "core-functionality"? I can't think of one. Anyway I'm generally +1 for moving away from the filesystem templates.
Caleb
Alex Busenius wrote:
Hi devs,
I propose to add a new application called "core-functionality" that would contain a collection of XWiki.* pages used by the core and some components.
The use cases I can think of are:
- Some functionality of the old core that used a template from web/standard/src/main/webapp/templates is replaced by a new component
- A new component that is supposed to be used everywhere needs to display 1-2 custom pages (a confirmation message, warning etc.)
- There are several templates in web/standard/src/main/webapp/templates that are currently used in a somewhat strange way, they are injected into other pages using xpage=template parameter. This parameter completely replaces the original page content by the content of the template (e.g. copy, create or rename page work in this way). These templates should also be slowly migrated to corresponding XWiki.* pages.
I have created this application in sandbox:
https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/core-functionality
It currently contains one page used by the CSRF token component I'm currently working on (https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-csrftoken).
WDYT?
Alex _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
I renamed the repository directory to be more consistent with the rest, it is now: https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-application-core-f... On 06/13/2010 12:47 PM, Alex Busenius wrote:
Hi devs,
I propose to add a new application called "core-functionality" that would contain a collection of XWiki.* pages used by the core and some components.
The use cases I can think of are:
- Some functionality of the old core that used a template from web/standard/src/main/webapp/templates is replaced by a new component
- A new component that is supposed to be used everywhere needs to display 1-2 custom pages (a confirmation message, warning etc.)
- There are several templates in web/standard/src/main/webapp/templates that are currently used in a somewhat strange way, they are injected into other pages using xpage=template parameter. This parameter completely replaces the original page content by the content of the template (e.g. copy, create or rename page work in this way). These templates should also be slowly migrated to corresponding XWiki.* pages.
I have created this application in sandbox:
https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/core-functionality
It currently contains one page used by the CSRF token component I'm currently working on (https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-csrftoken).
WDYT?
Alex _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (2)
-
Alex Busenius -
Caleb James DeLisle