Google Web Toolkit Solutions: More Cool & Useful Stuff
暫譯: Google Web Toolkit 解決方案:更多酷炫與實用的內容

David Geary, Rob Gordon

  • 出版商: Prentice Hall
  • 出版日期: 2007-11-17
  • 售價: $1,880
  • 貴賓價: 9.5$1,786
  • 語言: 英文
  • 頁數: 408
  • 裝訂: Paperback
  • ISBN: 0132344815
  • ISBN-13: 9780132344814
  • 已絕版

買這商品的人也買了...

商品描述

Description

Google Web Toolkit (GWT) is an open source Java development framework that lets Java developers implement Ajax-enabled web applications. Instead of the hodgepodge of technologies that developers typically use for Ajax--JavaScript, HTML, CSS, and XMLHttpRequest--GWT lets developers implement rich client applications using pure Java, using familiar idioms from the AWT, Swing, and SWT. And GWT goes way beyond most Ajax frameworks by easily facilitating the implementation of desktop-like applications that run in the ubiquitous browser, where the richness of the user interface is limited only by the developer's imagination.

 

This book is not an introduction to GWT, that ground is covered, ad infinitum, in countless articles and blogs on the Web, and in other GWT books. Instead, this book focuses on the more advanced aspects of GWT that you will need to implement real world applications with rich user interfaces that previously required heavy lifting of JavaScript and other Ajax-related technologies. Each solution in this practical, hands-on book is more than a recipe. The sample programs are carefully explained in detail to help you quickly master advanced GWT techniques such as implementing drag and drop, integrating JavaScript libraries, using deferred commands, and advanced event handling methodologies.  Solutions in this book are in response to the most common yet complex obstacles developers run into with GWT.

 

Solutions covered include

·   Building custom GWT widgets, including both high-level composites and low-level components

·   Implementing a viewport class that includes iPhone-style automated scrolling

·   Integrating web services with GWT applications

·   Incorporating the Script.aculo.us JavaScript framework into GWT applications

·   Combining Hibernate and GWT to implement database-backed web applications

·   Extending the GWT PopupPanel class to implement a draggable and resizable window

·   Creating a drag and drop module, complete with drag sources and drop targets

·   Deploying your GWT applications to an external server

·   Mastering the GWT's flex table

·   Using GWT widgets in legacy applications developed with other frameworks, such as Struts and JavaServer Faces

Table of Contents

Solution 1: GWT Fundamentals and Beyond

Solution 2: JavaScript Integration

Solution 3: Custom Widget Implementation

Solution 4: Viewports and Maps

Solution 5: Access to Online Web Services

Solution 6: Drag and Drop

Solution 7: Simple Windows

Solution 8: Flex Tables

Solution 9: File Uploads

Solution 10: Hibernate Integration

Solution 11: Deployment to an External Server

Solution 12: GWT and Legacy Code

商品描述(中文翻譯)

**描述**

Google Web Toolkit (GWT) 是一個開源的 Java 開發框架,讓 Java 開發者能夠實現支持 Ajax 的網頁應用程式。與開發者通常用於 Ajax 的各種技術(如 JavaScript、HTML、CSS 和 XMLHttpRequest)不同,GWT 允許開發者使用純 Java 實現豐富的客戶端應用程式,並使用來自 AWT、Swing 和 SWT 的熟悉語法。GWT 更是超越了大多數 Ajax 框架,輕鬆促進了在無處不在的瀏覽器中運行的桌面應用程式的實現,使用者介面的豐富程度僅受限於開發者的想像力。

本書並不是 GWT 的入門書,這方面的內容在網路上無數的文章和部落格中已經無限次地被討論過,也在其他 GWT 書籍中有所涵蓋。相反,本書專注於 GWT 的更高級方面,這些是您在實現具有豐富使用者介面的真實世界應用程式時所需的,這些應用程式之前需要大量的 JavaScript 和其他與 Ajax 相關的技術。本書中的每個解決方案不僅僅是一個食譜。示範程式將詳細解釋,以幫助您快速掌握高級 GWT 技術,例如實現拖放、整合 JavaScript 函式庫、使用延遲命令和高級事件處理方法。本書中的解決方案是針對開發者在使用 GWT 時遇到的最常見但又複雜的障礙。

涵蓋的解決方案包括:
· 建立自訂 GWT 小工具,包括高階組合和低階元件
· 實現一個包含 iPhone 風格自動滾動的視口類別
· 將網路服務整合到 GWT 應用程式中
· 將 Script.aculo.us JavaScript 框架納入 GWT 應用程式
· 結合 Hibernate 和 GWT 實現基於資料庫的網頁應用程式
· 擴展 GWT PopupPanel 類別以實現可拖動和可調整大小的視窗
· 創建一個拖放模組,完整包含拖放來源和目標
· 將您的 GWT 應用程式部署到外部伺服器
· 精通 GWT 的彈性表格
· 在使用其他框架(如 Struts 和 JavaServer Faces)開發的舊版應用程式中使用 GWT 小工具

**目錄**

解決方案 1:GWT 基礎與進階
解決方案 2:JavaScript 整合
解決方案 3:自訂小工具實現
解決方案 4:視口與地圖
解決方案 5:訪問線上網路服務
解決方案 6:拖放
解決方案 7:簡單視窗
解決方案 8:彈性表格
解決方案 9:檔案上傳
解決方案 10:Hibernate 整合
解決方案 11:部署到外部伺服器
解決方案 12:GWT 與舊版程式碼