Flash Remoting: The Definitive Guide
暫譯: Flash Remoting:權威指南
Tom Muck
- 出版商: O'Reilly
- 出版日期: 2003-10-28
- 售價: $1,590
- 貴賓價: 9.5 折 $1,511
- 語言: 英文
- 頁數: 640
- 裝訂: Paperback
- ISBN: 059600401X
- ISBN-13: 9780596004019
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$680$537 -
$2,660$2,527 -
$784Database System Concepts, 4/e
-
$920$727 -
$1,029Operating System Concepts, 6/e (Windows XP Update)
-
$2,050$1,948 -
$780$741 -
$780CMMI: Guidelines for Process Integration and Product Improvement (Harcover)
-
$750$638 -
$600$588 -
$650$514 -
$590$466 -
$1,400$1,372 -
$720$569 -
$750$713 -
$290$247 -
$690$587 -
$560$442 -
$620$490 -
$990$782 -
$750$638 -
$560$476 -
$720$612 -
$480$379 -
$1,225C++ Primer Plus, 5/e (Paperback)
商品描述
The potential uses for Flash Remoting are endless. Flash Remoting: The Definitive Guide will help you understand this breakthrough technology and use it to build your own Rich Internet Applications (RIAs). Build applications that connect to a database, file system, or other server-side technologies. Or, use Flash Remoting to create:
- online stores that feature catalogs and shopping cart systems
- sound and video clip libraries
- banner ads with built-in shopping carts, click-through tracking, and site
search capabilities
- new controls that can be used in place of HTML
- extensions to Flash, Dreamweaver, Fireworks, and more
- front-ends to databases for administrators
The book begins with Flash Remoting basics: setup, installation and an
introduction to its underlying concepts. Next, you'll explore the Flash's User
Interface components as they relate to Flash Remoting. Then, you'll gain
insights into Flash Remoting internals and the Remoting API. The book is rich
with examples that you will be able to run on your own system.
The next
section focuses on the server-side environment that you'll use for your
applications. Individual chapters cover Flash Remoting with ColdFusion,
Server-Side ActionScript, Java, ASP.NET, and PHP.
The last section
covers more advanced Flash Remoting techniques, such as calling web services
from Flash Remoting, extending objects and UI controls, best practices, and
debugging. Plus there is a detailed chapter demonstrating a real-world
application. The book concludes with a Flash Remoting API reference.
Developers who are looking to create Rich Internet Applications with
Flash will find Flash Remoting: The Definitive Guide indispensable.
Table of Contents
Preface
Part I. Remoting Fundamentals
1. Introduction to Flash Remoting
What Is Flash Remoting?
How Does Flash Remoting Work?
Benefits
Flash Remoting Requirements
Supported Platforms
Hello World
Workflow Example
Architecture for Flash Remoting Applications
2. Installing, Configuring, and Using Flash Remoting
Installing Flash Remoting
Naming Your Services
The Authoring Environment
Sequence of Events in Flash
Making a Remote Call
3. Client/Server Interaction, UI Components, and RecordSets
User Interface Components
Flash UI Components Set 2 and Flash Charting Controls
Macromedia's DRK
Text Objects
Building Forms in Flash MX
The RecordSet Class
DataGlue
4. Flash Remoting Internals
The NetConnection Class
Using NetServices
Creating Responder Functions
RecordSet Object
The Timeline
Catching Errors
Registering Objects
Part II. The Server-Side Languages
5. Flash Remoting and ColdFusion MX
Introduction to ColdFusion MX
How ColdFusion Fits into Flash Applications
Service Name Mappings
ColdFusion Pages Versus ColdFusion Components
Loading Query Data Incrementally
ColdFusion Security: Authenticating Users
Updating Data on the Server
6. Server-Side ActionScript
What Is Server-Side ActionScript?
The CF Object
When to Use Server-Side ActionScript
Datatype Conversions
Handling Errors with try/catch
Extending Server-Side ActionScript with Java
7. Flash Remoting and Java
The Flash Remoting Gateway
Supported Platforms
Setting Up Flash Remoting for J2EE
Service Types
Datatype Conversions
Service Lookup
Invoking Service Methods
Architecture and Design
Referencing the Request and Session
Saving and Sharing State
Databinding
Security
OpenAMF
8. Flash Remoting and .NET
Overview of .NET
Connecting to .NET
Datatype Conversions
Database Access with ADO.NET
State Management
Error Handling in Flash Remoting with .NET
9. Flash Remoting and PHP
Introduction to PHP
Installing AMFPHP
Datatype Conversions
Using AMFPHP with Web Services
Using AMFPHP with PHP Classes
Working with a Database
Part III. Advanced Flash Remoting
10. Calling Web Services from Flash Remoting
What Is a Web Service?
Why Use Flash Remoting?
Web Services from a ColdFusion Server
Web Services from an ASP.NET Server
Wrapping J2EE and JRun Web Services
Web Services from PHP
BabelFish Web Service
Datatype Conversions
Creating a Flash MX Web Service Extension
11. Extending Objects and UI Controls
Principles Behind UI Components
DataProviderClass and DataGlue
Enhancing a Standard Control
Enhancing the RecordSet Class for Interactivity
Adding Validation to a TextField
12. Flash Remoting Best Practices
Separation of Tasks
Separation of Functionality
Server-Proofing the Application
Component Use
Clean API
Loops and Repeated Operations
OOP or Not OOP
ColdFusion RecordSets
Implementing Caching
What to Walk Away With
13. Testing and Debugging
Debugging Flash Remoting Applications
Trapping Errors
The Flash ActionScript Debugger
NetConnection Debugger
NetDebug.as
Trace Debugging
Testing Server-Side Code
Using a TCP Trace Utility
Debugging SQL Code
14. Real-World Application
General Considerations
Requirements
Specifications
The Modules
Flash Remoting Code
Testing and Debugging
Completed Application
Future Expansion
15. Flash Remoting API
Part IV. Appendixes
A. ActionScript Datatype Conversion
B. Books and Online Resources
C. Specification and Implementation for a Real-World Application
Index
商品描述(中文翻譯)
Flash Remoting MX 讓開發者能夠輕鬆地將豐富的 Macromedia Flash 內容與使用 Macromedia ColdFusion MX、Microsoft .NET、Java、PHP 或基於 SOAP 的網路服務所建構的應用程式整合。最終結果是複雜的客戶端/伺服器應用程式,這些應用程式更像桌面應用程式,而非傳統的網頁。HTML 的點擊/等待/重新載入方式已經不再需要。您的網路應用程式使用 Flash 作為前端,而 Flash Remoting 在幕後處理與應用程式伺服器的通訊。最終用戶只知道這個應用程式快速且靈活。
Flash Remoting 的潛在用途無窮無盡。《Flash Remoting: The Definitive Guide》將幫助您理解這項突破性技術,並利用它來構建自己的豐富網路應用程式 (RIAs)。構建連接到資料庫、檔案系統或其他伺服器端技術的應用程式。或者,使用 Flash Remoting 創建:
- 在線商店,提供目錄和購物車系統
- 音頻和視頻剪輯庫
- 內建購物車、點擊追蹤和網站搜尋功能的橫幅廣告
- 可用於取代 HTML 的新控制項
- Flash、Dreamweaver、Fireworks 等的擴展
- 供管理員使用的資料庫前端
本書從 Flash Remoting 的基本概念開始:設置、安裝及其基本概念的介紹。接下來,您將探索 Flash 的使用者介面元件與 Flash Remoting 的關聯。然後,您將深入了解 Flash Remoting 的內部運作及 Remoting API。本書充滿了您可以在自己的系統上運行的範例。
接下來的部分專注於您將用於應用程式的伺服器端環境。各章節涵蓋了 Flash Remoting 與 ColdFusion、伺服器端 ActionScript、Java、ASP.NET 和 PHP 的整合。
最後一部分涵蓋了更高級的 Flash Remoting 技術,例如從 Flash Remoting 調用網路服務、擴展物件和 UI 控制項、最佳實踐和除錯。此外,還有一章詳細展示了一個實際應用程式。本書以 Flash Remoting API 參考作結。
尋求使用 Flash 創建豐富網路應用程式的開發者將會發現《Flash Remoting: The Definitive Guide》是不可或缺的。
目錄
前言
第一部分:遠端基本原理
1. Flash Remoting 介紹
- Flash Remoting 是什麼?
- Flash Remoting 如何運作?
- 優勢
- Flash Remoting 要求
- 支援的平台
- Hello World
- 工作流程範例
- Flash Remoting 應用程式的架構
2. 安裝、配置和使用 Flash Remoting
- 安裝 Flash Remoting
- 命名您的服務
- 創作環境
- Flash 中的事件序列
- 進行遠端呼叫
3. 客戶端/伺服器互動、UI 元件和 RecordSets
- 使用者介面元件
- Flash UI 元件集 2 和 Flash 圖表控制項
- Macromedia 的 DRK
- 文本物件
- 在 Flash MX 中建立表單
- RecordSet 類別
- DataGlue
4. Flash Remoting 內部運作
- NetConnection 類別
- 使用 NetServices
- 創建回應函數
- RecordSet 物件
- 時間軸
- 捕捉錯誤
- 註冊物件
第二部分:伺服器端語言
5. Flash Remoting 和 ColdFusion MX
- ColdFusion MX 介紹
- ColdFusion 如何融入 Flash 應用程式
- 服務名稱映射
- ColdFusion 頁面與 ColdFusion 元件
- 逐步加載查詢資料
- ColdFusion 安全性:用戶身份驗證
- 在伺服器上更新資料
6. 伺服器端 ActionScript
- 什麼是伺服器端 ActionScript?
- CF 物件
- 何時使用伺服器端 ActionScript
- 資料類型轉換
- 使用 try/catch 處理錯誤
- 使用 Java 擴展伺服器端 ActionScript
7. Flash Remoting 和 Java
- Flash Remoting 閘道
- 支援的平台
- 為 J2EE 設置 Flash Remoting
- 服務類型
- 資料類型轉換
- 服務查找
- 調用服務方法
- 架構與設計
- 參考請求和會話
- 儲存和共享狀態
- 資料綁定
- 安全性
- OpenAMF
8. Flash Remoting 和 .NET
- .NET 概述
- 連接到 .NET
- 資料類型轉換
- 使用 ADO.NET 存取資料庫
- 狀態管理
- 在 Flash Remoting 中處理 .NET 錯誤
9. Flash Remoting 和 PHP
- PHP 介紹
- 安裝 AMFPHP
- 資料類型轉換
- 使用 AMFPHP 與網路服務
- 使用 AMFPHP 與 PHP 類別
- 與資料庫互動
第三部分:高級 Flash Remoting
10. 從 Flash Remoting 調用網路服務
- 什麼是網路服務?
- 為什麼使用 Flash Remoting?
- 來自 ColdFusion 伺服器的網路服務
- 來自 ASP.NET 伺服器的網路服務
- 包裝 J2EE 和 JRun 網路服務
- 來自 PHP 的網路服務
- BabelFish 網路服務
- 資料類型轉換
- 創建 Flash MX 網路服務擴展
11. 擴展物件和 UI 控制項
- UI 元件背後的原則
- DataProviderClass 和 DataGlue
- 增強標準控制項
- 增強 RecordSet 類別以提高互動性
- 為 TextField 添加驗證
12. Flash Remoting 最佳實踐
- 任務分離
- 功能分離
- 伺服器防護應用程式
- 元件使用
- 清晰的 API
- 迴圈和重複操作
- OOP 或非 OOP
- ColdFusion RecordSets
- 實施快取
- 應該學到什麼
13. 測試和除錯
- 除錯 Flash Remoting 應用程式
- 捕捉錯誤
- Flash ActionScript 除錯器
- NetConnection 除錯器
- NetDebug.as
- 追蹤除錯
- 測試伺服器端代碼
- 使用 TCP 追蹤工具
- 除錯 SQL 代碼
14. 實際應用程式
- 一般考量
- 要求
- 規格
- 模組
- Flash Remoting 代碼
- 測試和除錯
- 完成的應用程式
- 未來擴展
15. Flash Remoting API
附錄
A. ActionScript 資料類型轉換
B. 書籍和線上資源
C. 實際應用程式的規格和實作
索引