Duration: 3 Days
This course will teach students the advanced aspects of GWT as a framework, including unit testing, the Model-View-Presenter architecture, dependency injection, resource bundles, managing events, and creating UI components.
Topics Covered In This Course
- Unplanned consequences
- Exploring the toolkit
- Setting up the development environment
Enhancing a GWT Application
- Updating the HTML
- Enhancing the code
- Creating the user interface
- Manipulating the page
- Handling events
- Managing history
- Styling components
- Securing the application
- What is a widget?
- Creating a new widget from the DOM
- Extending an existing widget
- Extending a panel
- Creating a composite
- Using layout panels
- Applying animation to widgets
- Exploring the lifecycle of a widget
Using Client Bundles
- Client bundle basics using DataResources
- Text resource types
Interface Design with UiBinder
- Binding the designer?s HTML to Java code
- Handling events with UiBinder
- Introducing the UiBinder expression language
- Applying style with UiBinder
- Using the Eclipse plug-in with UiBinder
Communicating with GWT-RPC
- Surveying GWT-RPC
- Learning GWT-RPC with Twitter
- Fetching data from Twitter the non-GWT way
- Defining a GWT-RPC-compatible model
- Building and deploying the server side
- Writing the client
- Debugging GWT-RPC
- Securing GWT-RPC against XSRF attacks
- Enabling annotation processing
- Understanding RequestFactory architecture
- Making calls to the server
- Using custom Locators and ServiceLocators
The Editor Framework
- Framework and editor overview
- Editor types
- Constructing an editor
- Binding an editor with drivers
- Editor subinterfaces
- Accessing the RequestContext
- Alternate way to construct an editor
Data-presentation (cell) Widgets
- Understanding cells
- Creating custom cells
- Reviewing GWT?s cell widgets
- Looking at a CellList
- Walking through a CellTree
- Browsing a CellBrowser
- Constructing a CellTable
- Building a DataGrid
- What is JSNI?
- Benefiting from the Google Plugin for Eclipse
- Interacting with the browser
- Wrapping a third-party library
Classic Ajax and HTML Forms
- Understanding the underlying technology
- Using RequestBuilder
- Posting data with RequestBuilder
- Using the JSON API and JsonpRequestBuilder
- Using JSON with JS overlay
- Using the XML API and RequestBuilder
- Using FormPanel
Advanced Event Handling and Event Busses
- Understanding events
- How GWT manages events
- Previewing and canceling events
- Preventing default actions
- Programmatically firing events
- Creating events
- Event busses
Building MVP-based Applications
- What is MVP?
- Looking at the PhotoApp?s MVP foundations
- Building MVP
- Altering an MVP application
- Activity and Place (GWT?s reference MVP approach)
- Fitting editors/data-presentation widgets into MVP
What You Can Expect
At the end of the course, students will be able to:
- Create and use modules in GWT.
- Understand advanced aspects of CSS styling within GWT.
- Develop their own composite widgets.
- Develop and run jUnit tests in GWT.
- Understand the Model-View-Presenter architecture and how to use it.
- Use GWT's Dependency Injection facilities.
- Understand GWT's cell widgets.
- Understand some best practices for GWT.
- Use Generators.
- Build interfaces using UIBuilder.
Who Should Take This Course
This course is designed for Application programmers.
Lecture (50%) / Workshop (50%)
Google Web Toolkit (GWT)
Ext GWT Design and Development
Every student attending a Verhoef Training class will receive
a certificate good for $100 toward their next public class taken
within a year.
You can also buy "Verhoef Vouchers" to get a discounted rate for a
single student in any of our public or web-based classes.
Contact your account manager or our sales office for details.