I don't look at it as odd at all. JSP and servlets in general
are *very low level* abstractions. They are incredibly useful,
but they are at such a low level that it's very difficult to
build a complex application. It's like coding in machine
language. It's not that difficult to add a layer or two to
raise the level of abstraction.
The good thing about JSP and servlets is they provide a stable,
portable, and solid base with good engineering. They are
complex enough that getting them implemented correctly is
nontrivial (hence all the work on tomcat etc.) but yet generic
enough that different abstractions can easily be constructed
on top of them. This is precisely what I want, a
good solid base engineered well on which I can build what
we need.
All the experimentation with the various macro languages and
the like is all good, and we'll all learn from them and
eventually it will all converge [or fail to do so]; I don't
see that it has happened yet, and each solution has its pros
and cons, none of which were acceptable when we started our
project, which is why I've got a stupid lightweight YATL that
we use in-house that solves our problems.
I just thought I'd toss out an example of how we solved the
`no code in JSP' problem.
-tom
-----Original Message-----
From: Jon Stevens [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 11:54 AM
To: [EMAIL PROTECTED]
Subject: Re: An alternative to JSP
on 1/12/01 11:49 AM, "Tomas Rokicki" <[EMAIL PROTECTED]> wrote:
> With the solution we're deploying in-house here, your dynamic row
> example is just
>
> <table><tr><td>%tr rundata%%key%</td><td> = %value%</td></tr></table>
>
> which is editable in WYSIWYG HTML editors, contains no Java code,
> and so on . . . the magic %tr ...% tells it to iterate on table rows.
>
> Oh, but of course it's YATL so I'll shut up now. (It compiles down
> to JSPs.)
Exactly. JSP alone didn't solve your problem. You had to do YATL in order to
get it to do what you want. That just seems odd to me.
-jon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]