We will be creating non-trivial
custom components in Chapter 8 of this book.
AJAX and DHTML, but No JavaScript Coding
Contemporary web applications are unthinkable without attractive and clever
features powered by JavaScript and are commonly known as DHTML and AJAX.
However, JavaScript has browser incompatibilities. So Tapestry comes up with a
number of components that make the miracles of AJAX available to the application,
but, fortunately for developers, all JavaScript is thoroughly hidden inside the
framework. AJAX-enabled components are as easy to use as any other Tapestry
component, so you can make your application Web 2.0-ready without ever seeing
a single line of JavaScript code. Well, at least this is true for the previous version
of the framework, 4.1. As of this writing, the AJAX features are currently under
development (and will likely be in a finalized state by the time you read this), but it is
promised that they will be even more powerful and easier to use than in Tapestry 4.1.
User Input Validation Works Like Magic
User input validation is a must for almost every web application, as users are mere
mortals and will always try to submit some erroneous data. A friendly application
should clearly explain to the user exactly which piece of input is wrong, but creating
an input validation and error reporting subsystem can require quite a lot of work.
Pages:
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31