Ajax Design Patterns (Paperback)

Michael Mahemoff

  • 出版商: O'Reilly
  • 出版日期: 2006-06-01
  • 售價: $1,710
  • 貴賓價: 9.5$1,625
  • 語言: 英文
  • 頁數: 656
  • 裝訂: Paperback
  • ISBN: 0596101805
  • ISBN-13: 9780596101800
  • 相關分類: AjaxDesign Pattern
  • 已絕版

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

相關主題

商品描述

Description

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處理Web服務器響應,為使用XML或基於JSON的Web服務創建互動式Web應用程序提供了堅實的基礎。

《Ajax設計模式》向您展示了可以顯著改善您的Web開發項目的最佳實踐。它研究了過去其他人如何成功處理相互衝突的設計原則,然後將這些信息直接傳遞給您。

書中介紹的模式分為四個類別:
1. 基礎技術:檢查Ajax開發所需的原始技術
2. 編程:介紹開發人員發現的確保其Ajax應用程序可維護性的技術
3. 功能和可用性:描述在Ajax應用程序中可能遇到的用戶界面類型,以及Ajax所帶來的新功能類型
4. 開發:解釋用於監視、調試和測試Ajax應用程序的過程

《Ajax設計模式》還將使您熟悉核心Ajax技術,例如XMLHttpRequest、DOM和JSON。技術討論後跟著代碼示例,讓您自己看到Ajax的可能性和限制。這本方便的參考書將幫助您製作高質量的Ajax架構,優化Web應用程序性能,並改善用戶體驗。

作者Michael Mahemoff擁有墨爾本大學的計算機科學和軟件工程博士學位,他的論文是“軟件工程和人機交互中的設計重用”。他居住在倫敦,並在銀行、醫療保健和物流方面提供軟件開發問題的諮詢。

“Michael Mahemoff的《Ajax設計模式》是一本真正全面的網絡應用程序設計專業知識彙編,圍繞著Ajax技術,但不僅限於此。精心打磨的設計智慧寶石得到了教程和現實代碼示例的支持,使本書不僅成為中級到專家的手冊,也是構建豐富互動式Web應用程序的廣泛參考。”
- Brent Ashley,遠程腳本先驅