AM-214: Tapestry QuickStart: Getting started with Tapestry
WorkShop Overview
Produced by the ArcMind team. After completing this course you will have the skills to design and build Tapestry-based web applications. Onsite training available.
Length
2 day course
Course Abstract:
Tapestry provides event driven, component –based technology for developing J2EE web applications. This technology greatly simplifies developing web applications. Finally, Java web developers can assemble reusable UI components into rich GUI pages. A UI component model will create a rich third party contributions of reusable GUI components. Tapestry is very similar in concept and design to the famed WebObjects by Apple; except, Tapestry is Java based.
This course is focused around labs. All lessons prepare the students to work on the labs. Our lab books are extensive.
The lesson book and the lab book are in full color. Color syntax highlighting makes code listing easier to read.
Outline
Day 1
- Introduction to Tapestry
- Tapestry Technology Benefits
- Tapestry Architecture Overview
- Creating your first Tapestry application
- Configuring Tapestry
- Installing the Tapestry in your web application
- Creating a simple application
- Creating a page class file
- Configuring page
- Using Tapestry components
- Setting up a view in Tapestry
- Lab 1: simple application
- Understanding Tapestry lifecycle
- Covers major phases of the lifecycle
- Page lifecycle
- Page loading
- Page Rendering
- How to stop rendering
- How to skip to rendering phase
- Rendering and rewinding
- Using UI Components
- Understanding component architecture
- Parameters and Bindings
- Event Model using Action listeners
- User Interface Component Model
- Writing event handlers
- Using Tapestry Components
- Working with various input components
- Lab 2: CRUD Listing
- Lab 3: Continuing the CRUD listing
Day 2
- Understanding MVC
- MVC and Tapestry
- Model Components
- View Components
- Controller Components
- How navigation is controlled by Tapestry
- Managing assets
- Lab 4: Creating a shopping cart
- Validation and Data Conversion
- Performing Validation with built in validators (date, email, number, pattern, string)
- Creating a Custom Validator
- Understanding data conversion
- Customizing data conversion
- Lifecycle associated with data converters and validators
- Regular expression review
- Lab 5: Performing data conversion and validation with user registration form
- Understanding Custom Components
- Creating Custom components
- When (not) to create custom components
- Steps to develop your own custom component
- Lab 6: Writing three custom component
- Advanced Component Concepts
- HTML Templates
- Binding values
- Binding actions
- Working with Events
- Architecture review of components for component developers
- Lab 7: Extend three components
- Advanced: Working with Tapestry Table Component
- Editing Tables
- Custom Sorting
- Custom Filtering
- Controlling Pagination
- Lab 8: Improving our CRUD listing
- Combining Tapestry with JavaScript
- Script Specifications and Script Components
- Lab 9: Combining Tapestry and JavaScript