Google Web Toolkit (GWT) 基础培训


Google Web Toolkit (GWT) allows Java developers to create Web 2.0-ready AJAX front ends. GWT compiles these Java artifacts into optimized JavaScript for all major browsers. This GWT base training course provides a foundation in developing front-end modules with GWT widgets, panels, events and other mechanisms.

GWT 基础培训课程

课时: 2天, 开发工具: GWT, Eclipse

GWT 基础培训目的

理解 Ajax 编程模型.
理解 GWT 整个框架, 项目、代码组成等.
学会使用 GWT widgets, panels, images, events, listeners to build Ajax forms.
学会使用 GWT Utility 和 framework classes.
学会如好在你的前端组合历史记录和书签.
学会使用 GWT's RPC 协议.

GWT 基础培训大纲

1. Ajax和GWT
• Ajax Emergence
• Ajax Challenges
• Motivations behind GWT
• GWT Solution
• What is GWT?

2. GWT入门
• Getting Started with GWT
• Setup GWT Environment
• Creating A Project
• A GWT Project Structure
• Hosted versus Web Mode

3. GWT用户接口
• GWT User Interfaces
• A Basic User Interface
• GWT Module Entry Point
• Creating and Configuring Widgets
• Laying out your Widgets
• Using the RootPanel
• Basic Styling
• Modifying GWT Code

4. GWT核心部件
• GWT Widgets
• Button Widget
• GWT Hyperlinks
• Text Widgets
• Selection Widgets
• Listing Widgets
• Widget Behavior
• Configuring Widgets

5. GWT布局
• GWT Layouts
• Organize Widgets into Panels
• Various GWT Layouts
• FlowingPanel Layout
• DockingPanel Layout
• Using FlexTable
• Using Grid
• Using PopupPanel
• Dialog Boxes
• The Disclosure Panel

6. GWT事件处理
• Event Handling in GWT
• GWT Event Model
• Using Event Listeners
• Listener Adapters
• Types of Events
• Keyboard Events
• Mouse Events
• Tab Events
• Table Cell Events
• Browser Differences

7. 图像处理
• Using Images in GWT
• GWT Image Widget
• Prefetching Images
• Using Image Bundles

8. GWT Hosted和Web方式
• Hosted versus Web Mode in GWT
• Page Loading Steps in Hosted Mode
• Running in Web Mode
• GWT Generated Files
• Obfuscation in GWT Generated Files
• GWT Deployment

9. 历史记录和书签
• History and Bookmarks in GWT Ajax
• Creating Bookmarked Pages
• The History Token
• The History Listener
• Reacting to Back and Forward buttons

10. The Film Rental Project Domain in GWT
• Film Rental Project in GWT

11. GWT实用类
• GWT Utility Classes
• GWT Cookies
• GWT Random Class
• Animation in GWT
• Uploading Files in GWT
• The GWT class
• The GWT Window class
• The GWT Location class
• The GWT Timer class

12. RPC协议
• RPC Protocol in GWT
• Why a New Protocol?
• Placing Code Components
• RemoteService Interface
• RemoteServiceServlet Interface
• The AsyncCallback Interface
• RPC Events

成功案例

成功案例 >>>