Ajax Design Patterns (Paperback)
暫譯: Ajax 設計模式 (平裝本)
Michael Mahemoff
- 出版商: O'Reilly
- 出版日期: 2006-06-01
- 售價: $1,740
- 貴賓價: 9.5 折 $1,653
- 語言: 英文
- 頁數: 656
- 裝訂: Paperback
- ISBN: 0596101805
- ISBN-13: 9780596101800
-
相關分類:
Ajax、Design Pattern
已絕版
買這商品的人也買了...
-
$490$441 -
$880$695 -
$780$663 -
$299Ajax Hacks: Tips & Tools for Creating Responsive Web Sites
-
$650$507 -
$850$723 -
$680$537 -
$550$435 -
$980$774 -
$580$458 -
$650$507 -
$520$411 -
$780$616 -
$490$382 -
$680$537 -
$480$379 -
$780$616 -
$720$569 -
$800$632 -
$550$429 -
$650$514 -
$1,200$948 -
$380$300 -
$580$493 -
$299$236
商品描述
Ajax, or Asynchronous JavaScript and XML, exploded onto the scene in the spring of 2005 and remains the hottest story among web developers. With its rich combination of technologies, Ajax provides a strong foundation for creating interactive web applications with XML or JSON-based web services by using JavaScript in the browser to process the web server response.
Ajax Design Patterns shows you best practices that can dramatically improve your web development projects. It investigates how others have successfully dealt with conflicting design principles in the past and then relays that information directly to you.
The patterns outlined in the book fall into four categories:
- Foundational technology: Examines the raw technologies required for Ajax development
- Programming: Exposes techniques that developers have discovered to ensure their Ajax applications are maintainable
- Functionality and usability: Describes the types of user interfaces you'll come across in Ajax applications, as well as the new types of functionality that Ajax makes possible
- Development: Explains the process being used to monitor, debug, and test Ajax applications
Ajax Design Patterns will also get you up to speed with core Ajax technologies, such as XMLHttpRequest, the DOM, and JSON. Technical discussions are followed by code examples so you can see for yourself just what is-and isn't-possible with Ajax. This handy reference will help you to produce high-quality Ajax architectures, streamline web application performance, and improve the user experience.
Michael Mahemoff holds a PhD in Computer Science and Software Engineering from the University of Melbourne, where his thesis was "Design Reuse in Software Engineering and Human-Computer Interaction." He lives in London and consults on software development issues in banking, health care, and logistics.
"Michael Mahemoff's Ajax Design Patterns is a truly comprehensive compendium of web application design expertise, centred around but not limited to Ajax techniques. Polished nuggets of design wisdom are supported by tutorials and real-world code examples resulting in a book that serves not only as an intermediate to expert handbook but also as an extensive reference for building rich interactive web applications."
--Brent Ashley, remote scripting pioneer
Table of Contents
Preface
Part One. Introduction
1. Introducing Ajax
Ajax and the Usable Web
The Rise of Ajax
Ajaxifying the Web: The Story of Portals
Webifying the Desktop: The Story of Office Applications
Characteristics of Ajax Applications
The Ajax Technologies
Anatomy of a Server Call
Ajax Trends
Conclusions
2. A Pattern-Led Tutorial
Ajax Technologies in a Blink
Ajaxifying a Web App: One Pattern at a Time
Projects and Katas
Conclusions
3. Ajax Design: Principles and Patterns
Desirable Attributes of Ajax Applications
Designing for Ajax
Ajax Patterns Overview
Anatomy of a Pattern
Ajax Patterns Demos
Conclusions
Part Two. Foundational Technology Patterns
4. Ajax App
Ajax App
5. Display Manipulation
Display Morphing
Page Rearrangement
6. Web Remoting
Web Service
XMLHttpRequest Call
IFrame Call
HTTP Streaming
On-Demand JavaScript
7. Dynamic Behavior
User Action
Scheduling
8. Extended Technologies
Richer Plugin
Part Three. Programming Patterns
9. Web Services
RESTful Service
RPC Service
Ajax Stub
HTML Message
Plain-Text Message
XML Message
JSON Message
10. Browser-Server Dialogue
Call Tracking
Periodic Refresh
Submission Throttling
Explicit Submission
Distributed Events
Cross-Domain Proxy
11. DOM Population
XML Data Island
Browser-Side XSLT
Browser-Side Templating
12. Code Generation and Reuse
Server-Side Code Generation
Cross-Browser Component
13. Performance Optimization
Browser-Side Cache
Predictive Fetch
Guesstimate
Multi-Stage Download
Fat Client
Part Four. Functionality and Usability Patterns
14. Widgets
Slider
Progress Indicator
Drilldown
Data Grid
Rich Text Editor
Suggestion
Live Search
Live Command-Line
Live Form
15. Page Architecture
Drag-And-Drop
Sprite
Popup
Malleable Content
Microlink
Portlet
Status Area
Update Control
Virtual Workspace
16. Visual Effects
One-Second Spotlight
One-Second Mutation
One-Second Motion
Highlight
17. Functionality
Lazy Registration
Direct Login
Host-Proof Hosting
Timeout
Heartbeat
Unique URLs
Part Five. Development Patterns
18. Diagnosis
Logging
Debugging
DOM Inspection
Traffic Sniffing
19. Testing
Simulation Service
Browser-Side Test
Service Test
System Test
Part Six. Appendixes
A. Ajax Frameworks and Libraries
B. Setting Up the Code Examples
C. Patterns and Pattern Languages
D. References
index
商品描述(中文翻譯)
Ajax,或稱為非同步 JavaScript 和 XML,自 2005 年春季以來迅速崛起,並且仍然是網頁開發者中最熱門的話題。透過其豐富的技術組合,Ajax 提供了一個強大的基礎,用於創建互動式網頁應用程式,利用 JavaScript 在瀏覽器中處理網頁伺服器的回應,並使用基於 XML 或 JSON 的網路服務。
Ajax 設計模式 展示了可以顯著改善您的網頁開發專案的最佳實踐。它探討了其他人在過去如何成功處理相互衝突的設計原則,然後將這些資訊直接傳遞給您。
本書中概述的模式分為四類:
- 基礎技術:檢視 Ajax 開發所需的原始技術
- 程式設計:揭示開發者發現的技術,以確保其 Ajax 應用程式可維護
- 功能性和可用性:描述您在 Ajax 應用程式中會遇到的用戶介面類型,以及 Ajax 使之成為可能的新功能類型
- 開發:解釋用於監控、除錯和測試 Ajax 應用程式的過程
Ajax 設計模式 也將使您熟悉核心 Ajax 技術,例如 XMLHttpRequest、DOM 和 JSON。技術討論後面跟隨著程式碼範例,讓您親自看到 Ajax 的可能性和不可能性。這本實用的參考資料將幫助您產生高品質的 Ajax 架構,簡化網頁應用程式性能,並改善用戶體驗。
Michael Mahemoff 擁有墨爾本大學計算機科學和軟體工程的博士學位,他的論文題目為「軟體工程和人機互動中的設計重用」。他目前居住在倫敦,並就銀行、醫療保健和物流領域的軟體開發問題提供諮詢。
"Michael Mahemoff 的 Ajax 設計模式 是一本真正全面的網頁應用程式設計專業知識彙編,圍繞但不限於 Ajax 技術。精練的設計智慧由教程和實際的程式碼範例支持,形成一本不僅作為中級到專家手冊的書籍,還作為構建豐富互動網頁應用程式的廣泛參考。"
--Brent Ashley,遠端腳本先驅
目錄
前言
第一部分。介紹
1. 介紹 Ajax
Ajax 與可用的網頁
Ajax 的崛起
Ajax 化網頁:門戶網站的故事
網頁化桌面:辦公應用程式的故事
Ajax 應用程式的特徵
Ajax 技術
伺服器呼叫的解剖
Ajax 趨勢
結論
2. 一個以模式為導向的教程
一瞥 Ajax 技術
Ajax 化網頁應用程式:一次一個模式
專案與練習
結論
3. Ajax 設計:原則與模式
Ajax 應用程式的理想屬性
為 Ajax 設計
Ajax 模式概述
模式的解剖
Ajax 模式示範
結論
第二部分。基礎技術模式
4. Ajax 應用程式
Ajax 應用程式
5. 顯示操作
顯示變形
頁面重排
6. 網頁遠端呼叫
網路服務
XMLHttpRequest 呼叫
IFrame 呼叫
HTTP 串流
按需 JavaScript
7. 動態行為
用戶行為
排程
8. 擴展技術
更豐富的插件
第三部分。程式設計模式
9. 網路服務
RESTful 服務
RPC 服務
Ajax Stub
HTML 訊息
純文字訊息
XML 訊息
JSON 訊息
10. 瀏覽器-伺服器對話
呼叫追蹤
定期刷新
提交限制
明確提交
分散事件
跨域代理
11. DOM 填充
XML 數據島
瀏覽器端 XSLT
瀏覽器端模板
12. 程式碼生成與重用
伺服器端程式碼生成
跨瀏覽器組件
13. 性能優化
瀏覽器端快取
預測性提取
估算
多階段下載
瘦客戶端
第四部分。功能性和可用性模式
14. 小工具
滑桿
進度指示器
深入挖掘
數據網格
富文本編輯器
建議
實時搜索
實時命令行
實時表單
15. 頁面架構
拖放
精靈
彈出窗口
可變內容
微鏈接
Portlet
狀態區域
更新控制
虛擬工作區
16. 視覺效果
一秒聚光燈
一秒變化
一秒運動
突出顯示
17. 功能性
延遲註冊
直接登錄
主機無憂託管
超時
心跳
唯一 URL
第五部分。開發模式
18. 診斷
日誌記錄
除錯
DOM 檢查
流量嗅探
19. 測試
模擬服務
瀏覽器端測試
服務測試
系統測試
第六部分。附錄
A. Ajax 框架和庫
B. 設定程式碼範例
C. 模式與模式語言
D. 參考文獻
索引