Re: [xwiki-devs] Why /templates not in /WEB-INF?

2008-06-13 Thread Pascal Voitot
one question: would it even be possible to put all VM scripts (maybe not VM Xwiki variables since they are part of the XWiki interface...) directly in the DB so that the admin can even modify the most basic XWiki scripts? Pascal On Fri, Jun 13, 2008 at 3:17 PM, Sergiu Dumitriu [EMAIL PROTECTED]

Re: [xwiki-devs] Why /templates not in /WEB-INF?

2008-06-13 Thread Pascal Voitot
I would be glad to do it but I'm on holiday next week ;) Basically, some more doc would be great because I can imagine people can feel a bit lost when digging into XWiki... On Fri, Jun 13, 2008 at 4:54 PM, Vincent Massol [EMAIL PROTECTED] wrote: On Jun 13, 2008, at 4:49 PM, Pascal Voitot

Re: [xwiki-devs] Why /templates not in /WEB-INF?

2008-06-13 Thread Sergiu Dumitriu
Pascal Voitot wrote: one question: would it even be possible to put all VM scripts (maybe not VM Xwiki variables since they are part of the XWiki interface...) directly in the DB so that the admin can even modify the most basic XWiki scripts? [snip] the way XWiki is made, the templates can

Re: [xwiki-devs] Why /templates not in /WEB-INF?

2008-06-13 Thread Pascal Voitot
On Fri, Jun 13, 2008 at 5:13 PM, Sergiu Dumitriu [EMAIL PROTECTED] wrote: Pascal Voitot wrote: one question: would it even be possible to put all VM scripts (maybe not VM Xwiki variables since they are part of the XWiki interface...) directly in the DB so that the admin can even modify

Re: [xwiki-devs] Why /templates not in /WEB-INF?

2008-06-12 Thread Pascal Voitot
I see your point but, as an external XWiki user/developer (I'm not committer), I think these are only velocity scripts containing useful variables and parts of interaction code but no core core... These scripts could be copied/pasted in any XWiki document... To my mind, the important thing is not

Re: [xwiki-devs] Why /templates not in /WEB-INF?

2008-06-12 Thread Vincent Massol
Hi Lilianne, On Jun 12, 2008, at 6:04 AM, Lilianne E. Blaze wrote: Hello, Is there any particular reason why /templates are not in /WEB-INF? I don't like the idea of having part of the source code accessible by everyone. They are content like any content file you put in your webapp root.

Re: [xwiki-devs] Why /templates not in /WEB-INF?

2008-06-12 Thread Lilianne E. Blaze
Hello, Pascal Voitot wrote: scripts could be copied/pasted in any XWiki document... To my mind, the important thing is not to hide these scripts but to verify they don't I agree it's more important, but it's better to take a multi-layered approach and both secure and hide the code. No point

Re: [xwiki-devs] Why /templates not in /WEB-INF?

2008-06-12 Thread Pascal Voitot
In fact, the question is always: where is the limit between content and code? what's presentation layer and what's business layer? :) JSP should never contain any code in modern web architecture and only be presentation layer... PHP often mixes both but this can be limited using a good PHP

Re: [xwiki-devs] Why /templates not in /WEB-INF?

2008-06-12 Thread Tiago Rinck Caveden
On Thu, Jun 12, 2008 at 9:53 AM, Lilianne E. Blaze [EMAIL PROTECTED] wrote: Hello, Pascal Voitot wrote: scripts could be copied/pasted in any XWiki document... To my mind, the important thing is not to hide these scripts but to verify they don't I agree it's more important, but it's

Re: [xwiki-devs] Why /templates not in /WEB-INF?

2008-06-12 Thread Lilianne E. Blaze
Tiago Rinck Caveden wrote: On Thu, Jun 12, 2008 at 9:53 AM, Lilianne E. Blaze [EMAIL PROTECTED] wrote: Hello, Pascal Voitot wrote: scripts could be copied/pasted in any XWiki document... To my mind, the important thing is not to hide these scripts but to verify they don't I agree it's

[xwiki-devs] Why /templates not in /WEB-INF?

2008-06-11 Thread Lilianne E. Blaze
Hello, Is there any particular reason why /templates are not in /WEB-INF? I don't like the idea of having part of the source code accessible by everyone. Greetings, Lilianne E. Blaze ___ devs mailing list devs@xwiki.org