However, there are a number of other attractive features, the combination
of which makes Tapestry unique.
Tapestry HTML Templates are Free from
Obtrusive Instrumentation
Every web application has to deal with HTML in one or another way. No matter
what language is used on the server or what intricate logic is employed to produce
the page, what actually gets sent to the user's browser is an HTML page. To make
that page dynamic, web applications use some kind of HTML template, or specially
prepared chunks of HTML markup, and employ some programming logic to fill that
template with dynamically generated data, or manipulate HTML in a desired way.
To make this possible, virtually all web frameworks create a tight mixture of HTML
markup and some other kind of code, whether it is Java, PHP, VBScript, JSP tags,
JSF, ASP.NET components, or something else. Such an approach has a number of
significant disadvantages.
Chapter 1
[ 9 ]
First of all, the more complicated the page design and programming logic, the
more difficult it is to weave them together. Second, this tight conglomeration of
different kinds of code is extremely difficult to maintain and update. Debugging the
programming logic of such a page can be quite a challenge.
Pages:
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28