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
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
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
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
"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%>!?>
> >
> >
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.
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
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
"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
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
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
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
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
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
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
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
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
> -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
> -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
('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
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
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
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
> -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 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
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]
26 matches
Mail list logo