Re: Added projector documentation link

2004-11-17 Thread James Mason
Cool. Thanks, -James On Wed, 2004-11-17 at 12:02 -0500, Tim Frank wrote: > James Mason wrote on 17/11/04 11:50 AM: > > On Wed, 2004-11-17 at 08:54 -0500, Tim Frank wrote: > > > >>>One thing I don't think JXTemplate can handle (not sure on this) is > >>>outputting non-marked-up content. This woul

Re: Added projector documentation link

2004-11-17 Thread Tim Frank
James Mason wrote on 17/11/04 11:50 AM: On Wed, 2004-11-17 at 08:54 -0500, Tim Frank wrote: One thing I don't think JXTemplate can handle (not sure on this) is outputting non-marked-up content. This would be a problem with CSS files, for example. I love the way the CSS theme is handled with the exa

Re: Added projector documentation link

2004-11-17 Thread James Mason
On Wed, 2004-11-17 at 08:54 -0500, Tim Frank wrote: > > One thing I don't think JXTemplate can handle (not sure on this) is > > outputting non-marked-up content. This would be a problem with CSS > > files, for example. I love the way the CSS theme is handled with the > > example application (I've c

Re: Added projector documentation link

2004-11-17 Thread Tim Frank
See inline below, James Mason wrote on 17/11/04 01:52 AM: On Sun, 2004-11-14 at 02:34 +0100, Stephane Bailliez wrote: [snip...] [snip again...] I don't think JXTemplate can handle conditional attributes, but I would like to point out that in most cases there's a "false" value that can be used to ke

Re: Added projector documentation link

2004-11-17 Thread Daniel Florey
"Slide Users Mailing List" <[EMAIL PROTECTED]> schrieb am 17.11.04 07:50:24: > > On Sun, 2004-11-14 at 02:34 +0100, Stephane Bailliez wrote: > [snip...] > > why did you make your own template language ? > > > > When I see this: > > > > "?>>Hello > > <%username;required;text/plain%>!?> > > > >

Re: Added projector documentation link

2004-11-16 Thread James Mason
On Sun, 2004-11-14 at 02:34 +0100, Stephane Bailliez wrote: [snip...] > why did you make your own template language ? > > When I see this: > > "?>>Hello > <%username;required;text/plain%>!?> > > I'm already screaming of pain ! It's not readable ! This is something I had a problem with as well.

Re: AW: Added projector documentation link

2004-11-16 Thread James Mason
If you wrap the response object before passing it to the RequestDispatcher you could catch the output of the jsp and store it for later. I would be against using jsps as a template system, however. There are many other good solutions that don't allow business logic in the presentation layer. -Jam

Re: AW: Added projector documentation link

2004-11-15 Thread Stephane Bailliez
Daniel Florey wrote: What I had in mind is the following: If a have jsp/servlets that for example have to provide a news summary page, this task may take very long. So it is more clever to cache the generated output until some new news are added. This is what projector can do for you, but I have

Re: AW: Added projector documentation link

2004-11-15 Thread Daniel Florey
"Slide Users Mailing List" <[EMAIL PROTECTED]> schrieb am 15.11.04 13:42:49: > > Daniel Florey wrote: > > Finally I think that there are many different preferences regarding > > templating. It depends on what people are used to use and what they > > personally like. > > The primary goal of proj

Re: AW: Added projector documentation link

2004-11-15 Thread Stephane Bailliez
Daniel Florey wrote: Finally I think that there are many different preferences regarding templating. It depends on what people are used to use and what they personally like. The primary goal of projector was not to introduce new templating mechanisms, but mainly focusses on the event driven workf

Re: AW: Added projector documentation link

2004-11-15 Thread Tim Frank
Stephane I clipped the message as I wanted to expand on the XSLT item. Stephane Bailliez wrote: I'm not too keen on xslt because I find it extremely difficult to find people that can jump into it. It takes a long time to learn tips and tricks even from people that are developpers. And it is a maj

Re: AW: Added projector documentation link

2004-11-15 Thread Tim Frank
Daniel, I forgot to mention something on the issue of workflow and events. If you have not done so I would suggest looking at the Cocoon implementation of "Flows" and the use of flowscript and continuations. Obviously I don't know what you had in mind specifically, but I do know that there are

Re: AW: Added projector documentation link

2004-11-15 Thread Daniel Florey
Finally I think that there are many different preferences regarding templating. It depends on what people are used to use and what they personally like. The primary goal of projector was not to introduce new templating mechanisms, but mainly focusses on the event driven workflow engine. So other

Re: AW: Added projector documentation link

2004-11-14 Thread Stephane Bailliez
Tim Frank wrote: Daniel, Sorry to jump in the middle of this one, but I find it somewhat amusing that you are having a huge discussion about separation of logic/layout and then throw in an example from the HTML side of things that basically goes back to mixing "logic/layout". How do you handle

Re: AW: Added projector documentation link

2004-11-14 Thread Tim Frank
and can be adapted. Tim Daniel Florey wrote: -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Stephane Bailliez Gesendet: Sonntag, 14. November 2004 02:34 An: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Betreff: Re: Added projector documentation link Daniel

Re: AW: Added projector documentation link

2004-11-14 Thread Stephane Bailliez
Oliver Zeigermann wrote: StringTemplate is a general template engine not geared towards HTML as well. I like Daniel's approach as it is cleaner and stricter in design than StringTemplate and both enforce MV separation. Some constructions in StringTemplate seem to be pretty random to me... Well, all

Re: AW: Added projector documentation link

2004-11-14 Thread Oliver Zeigermann
On Sun, 14 Nov 2004 16:35:55 +0100, Stephane Bailliez <[EMAIL PROTECTED]> wrote: > Daniel Florey wrote: > If you feel like using a template language, I will probably recommend to > look at StringTemplate (www.stringtemplate.org) > Enforcing Strict Model-View Separation in Template Engines > There's

AW: Added projector documentation link

2004-11-14 Thread Daniel Florey
> -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im > Auftrag von Stephane Bailliez > Gesendet: Sonntag, 14. November 2004 02:34 > An: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Betreff: Re: Added projector documentation link

AW: AW: Added projector documentation link

2004-11-14 Thread Daniel Florey
> -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im > Auftrag von Stephane Bailliez > Gesendet: Sonntag, 14. November 2004 16:36 > An: [EMAIL PROTECTED] > Betreff: Re: AW: Added projector documentation link > > Daniel Florey wro

Re: AW: Added projector documentation link

2004-11-14 Thread Tassos Bassoukos
('m currently working on a project that uses Velocity) Yes, Velocity can be used to output anything textual, not only HTML. However, it is not a complete language, as it severely restricted in the control statements available (foreach, the only looping construct available, can only perform loops on

Re: AW: Added projector documentation link

2004-11-14 Thread Oliver Zeigermann
Isn't velocity a more general (not restricted to HTML) template engine? Additionally it allows control structures like foreach, assignments, methods, etc. This is a complete programming language while Projector templating is much simpler... Oliver On Mon, 15 Nov 2004 00:34:27 +0900, Carlos Vill

Re: AW: Added projector documentation link

2004-11-14 Thread Stephane Bailliez
Daniel Florey wrote: OK, the example you've picked out seems to be complicated (as I've state in the documentation). My intention for this templating was: 1. To make it very simple. You just mark the dynamic parts in html pages and you optionally specify the matching content type. 2. It is not targ

Re: AW: Added projector documentation link

2004-11-14 Thread Carlos Villegas
Daniel Florey wrote: Why not using a standard jsp/jstl solution, should it means creating taglibs ? I'll avoid jsp's as it enabled people to fill programming code into the templates and decreases reusability. I've worked in so many project where all of the logic was coded into jsp that I still fe

AW: Added projector documentation link

2004-11-14 Thread Daniel Florey
> -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im > Auftrag von Stephane Bailliez > Gesendet: Sonntag, 14. November 2004 02:34 > An: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Betreff: Re: Added projector documentation link

Re: Added projector documentation link

2004-11-13 Thread Stephane Bailliez
Daniel Florey wrote: Hi folks, I've added a link to the Slide website that points to my (work in progress) documentation of Projector. Congratulation Daniel, that's a cool documentation as an introduction to the projector. I have yet to digest everything and think more about it, but I have one f

Added projector documentation link

2004-11-13 Thread Daniel Florey
Hi folks, I've added a link to the Slide website that points to my (work in progress) documentation of Projector. Cheers, Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]