+612 9045 4394
Tapestry in Action : In Action - Howard M. Lewis Ship

Tapestry in Action

In Action

Paperback Published: 1st March 2004
ISBN: 9781932394115
Number Of Pages: 550

Share This Book:


RRP $90.00
Ships in 7 to 10 business days

The creator of Tapestry details how to use this new framework's components to create rich web-based GUIs using links, images, and HTML forms. The challenges of web application development are discussed, such as managing server-side state properly, application localization, and maintaining synchronization between the client web browser and the application server. At the same time, the benefits of a clean separation between presentation logic and business logic and how well Tapestry succeeds in keeping these two concerns apart are identified. Written for new Tapestry users and even developers new to creating web applications in general, this guide includes extensive notes on development ""gotchas,"" including common Tapestry errors and how to fix them. Advanced techniques are covered as well, including creating entirely new components, integration with traditional servlet and JSP applications, and creation of client-side JavaScript. Finally, a complete J2EE application, the Virtual Library, is presented and analyzed in detail.

Forewordp. xvii
Prefacep. xix
Acknowledgmentsp. xxi
About this bookp. xxiii
About the titlep. xxvii
About the cover illustrationp. xxviii
Getting started with Tapestryp. 1
Introducing Tapestryp. 3
What are web applications?p. 5
What are Java servlets?p. 7
Why do we need Tapestry?p. 16
Understanding Tapestry's goalsp. 22
How does Tapestry work?p. 25
Using Spindlep. 35
Summaryp. 37
Getting started with Tapestryp. 38
Introducing the Hangman applicationp. 39
Developing the Home pagep. 51
Implementing the Home page using standard servletsp. 62
Developing the Guess pagep. 65
Developing the Win and Lose pagesp. 89
Configuring the web.xml deployment descriptorp. 89
Summaryp. 91
Tapestry and HTML formsp. 92
Understanding HTML formsp. 93
Creating a simple login formp. 96
Understanding the Form componentp. 103
Using basic form control componentsp. 109
Creating a to-do listp. 120
Summaryp. 132
Advanced form componentsp. 133
Introducing the advanced form componentsp. 134
Creating drop-down lists with PropertySelectionp. 134
Recording data in the form with Hiddenp. 148
Looping within a form using ListEditp. 151
Handling file uploadsp. 160
Creating pop-up date selections using DatePickerp. 165
Summaryp. 168
Form input validationp. 169
Validating user inputp. 170
Building the Register pagep. 179
Validating input based on regular expressionsp. 195
Customizing label and field decorationsp. 199
Enabling client-side validationp. 202
Handling form-level validationsp. 205
Using validation without ValidFieldp. 208
Summaryp. 211
Creating Tapestry Componentsp. 213
Creating reusable componentsp. 215
Creating simple template componentsp. 216
Creating the component specificationp. 219
Creating the Digit and Scaffold componentsp. 230
Creating the Letter componentp. 234
Building the Spell componentp. 238
Building the Border componentp. 242
Creating interactive, reusable componentsp. 246
Using component librariesp. 254
Packaging components into librariesp. 261
Summaryp. 268
Tapestry under the hoodp. 269
Processing requestsp. 270
Understanding the application servletp. 271
Understanding the Tapestry enginep. 277
Understanding engine servicesp. 279
Page rendering in detailp. 291
Loading and pooling pagesp. 299
Using persistent page propertiesp. 306
Using specified propertiesp. 308
Localizing Tapestry applicationsp. 309
Summaryp. 321
Advanced techniquesp. 322
Creating new engine servicesp. 323
Client-side scriptingp. 339
Integrating with JavaServer Pagesp. 369
Summaryp. 379
Building complete Tapestry applicationsp. 381
Putting it all togetherp. 383
Introducing the Virtual Libraryp. 384
Performing searchesp. 385
Logging in and registeringp. 388
Borrowing booksp. 389
Getting details about books and personsp. 390
Managing your booksp. 393
Administering the Virtual Libraryp. 399
Summaryp. 402
Implementing a Tapestry applicationp. 403
Looking at the application layersp. 404
Organizing EJB accessp. 406
Implementing the Search pagep. 413
Implementing the BookMatches pagep. 419
Implementing the Browser componentp. 430
Implementing the ColumnSorter componentp. 434
Implementing the Border componentp. 438
Authenticating the userp. 445
Creating bookmarkable linksp. 449
Editing a Bookp. 457
Giving books awayp. 463
Editing the publishersp. 464
Editing the list of usersp. 470
Creating the web deployment descriptorp. 474
Wrapping it all upp. 477
Getting involved with Tapestryp. 479
Building the examples with Antp. 485
Tapestry component referencep. 493
Tapestry specificationsp. 516
Indexp. 537
Table of Contents provided by Ingram. All Rights Reserved.

ISBN: 9781932394115
ISBN-10: 1932394117
Series: In Action
Audience: Professional
Format: Paperback
Language: English
Number Of Pages: 550
Published: 1st March 2004
Publisher: Manning Publications
Country of Publication: US
Dimensions (cm): 23.4 x 18.8  x 3.5
Weight (kg): 0.99