Book Image

Tapestry 5: Building Web Applications

Book Image

Tapestry 5: Building Web Applications

Overview of this book

Table of Contents (17 chapters)
Tapestry 5
Credits
About the Author
About the Reviewers
Preface
Foreword
Where to Go Next

Tapestry Application is a Set of Interactive Pages


It is natural for a user of a web application to think of it as a set of pages. The user might click on a button, select a value in a drop-down list or do something else, and the page would display different data, or even a completely different page might be shown by the application as a result of user actions.

The design of Tapestry is very close to this natural paradigm, as a Tapestry application actually consists of a number of Tapestry pages.

A Tapestry page is quite a clever entity. It remembers the values entered by the user, and if the user initiates some action, like clicking on a link or clicking on a button, the page will react to that action by running an appropriate fragment of code—an event handler method. It is for us developers to decide what kind of code it will be and how it will use the input provided by the user.

This will sound very familiar to those who have experience of developing desktop applications with some Rapid...