Professional Ajax, 2/e (Paperback)
暫譯: 專業 Ajax, 第二版 (平裝本)

Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett

  • 出版商: Wrox Press
  • 出版日期: 2007-03-12
  • 售價: $1,610
  • 貴賓價: 9.5$1,530
  • 語言: 英文
  • 頁數: 624
  • 裝訂: Paperback
  • ISBN: 0470109491
  • ISBN-13: 9780470109496
  • 相關分類: Ajax
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Description

Professional Ajax 2nd Edition provides a developer-level tutorial of Ajax techniques, patterns, and use cases. The book begins by exploring the roots of Ajax, covering how the evolution of the web and new technologies directly led to the development of Ajax techniques. A detailed discussion of how frames, JavaScript, cookies, XML, and XMLHttp requests (XHR) related to Ajax is included. After this introduction, the book moves on to cover the implementation of specific Ajax techniques. Request brokers such as hidden frames, dynamic iframes, and XHR are compared and contrasted, explaining when one method should be used over another. To make this discussion clearer, a brief overview of HTTP requests and responses is included.

Once a basic understanding of the various request types is discussed, the book moves on to provide in-depth examples of how and when to use Ajax in a web site or web application. Different data transmission formats, including plain text, HTML, XML, and JSON are discussed for their advantages and disadvantages. Also included is a discussion on web services and how they may be used to perform Ajax techniques. Next, more complex topics are covered. A chapter introducing a request management framework explores how to manage all of the requests inside of an Ajax application. Ajax debugging techniques are also discussed.

The last part of the book walks through the creation of two full-fledged Ajax web applications. The first, FooReader.NET, is an Ajax-powered RSS reader. The second, called AjaxMail, is an Ajax-enabled email system. Both of these applications incorporate many of the techniques discussed throughout the book.

Professional Ajax 2nd edition is written for Web application developers looking to enhance the usability of their web sites and web applications and intermediate JavaScript developers looking to further understand the language. Readers should have familiarity with XML, XSLT, Web Services, PHP or C#, HTML, CSS. This book is not aimed at beginners without a basic understanding of the aforementioned technologies. Also, a good understanding of JavaScript is vitally important to understanding this book. Those readers without such knowledge should instead refer to books such as Beginning JavaScript, Second Edition (Wrox, 2004, ISBN: 978-0-7645-5587-9) and Professional JavaScript for Web Developers (Wrox, 2005, ISBN: 978-0-7645-7908-0).

Professional Ajax 2nd edition adds nearly 200 pages of new and expanded coverage compared to the first edition. Some of the new topics covered here include:

  • Ajax Libraries including the Yahoo! Connection Manager, Prototype, and jQuery
  • Request Management with Priority Queues and the RequestManager Object
  • Comet push-based web systems and HTTP streaming
  • Maps and Mashups with Geocoding, Google Maps API and Yahoo! Maps API
  • Ajax Debugging with FireBug and Microsoft Fiddler

    ASP.NET AJAX Extensions (formerly code-named "Atlas")

And of course the Second Edition retains and updates the core first edition content including:

  • the range of request brokers (including the hidden frame technique, iframes, and XMLHttp) and explains when one should be used over another
  • different Ajax techniques and patterns for executing client-server communication
  • Ajax patterns including predictive fetch, page preloading, submission throttling, incremental field and form validation, periodic refresh, multi-stage download and more
  • Syndication with RSS, Atom, and XParser
  • JSON and creating an autosuggest textbox example
  • web site widgets for a news ticker, weather information, web search, and site search
  • Ajax Frameworks JSpan, DWR, and Ajax.NET Professional
  • A Web-based RSS/Atom aggregator case study
  • An AjaxMail case study

 

Table of Contents

1.What Is Ajax?

2. Ajax Basics.

3. Ajax Patterns.

4. Ajax Libraries.

5. Request Management.

6. XML, XPath, and XSLT.

7. Syndication with RSS and Atom.

8. JSON.

9. Comet.

10. Maps and Mashups.

11. Ajax Debugging Tools.

12. Web Site Widgets.

13. Ajax Frameworks.

14. ASP.NET AJAX Extensions (Atlas).

15. Case Study: FooReader.NET.

16. Case Study: AjaxMail.

Index.

Wrox back of book ad.

商品描述(中文翻譯)

**描述**

《專業 Ajax 第二版》提供了針對開發者的 Ajax 技術、模式和使用案例的教程。本書首先探討 Ajax 的根源,涵蓋了網路的演變和新技術如何直接導致 Ajax 技術的發展。書中詳細討論了框架、JavaScript、Cookies、XML 和 XMLHttp 請求(XHR)與 Ajax 的關係。在這個介紹之後,本書將重點放在具體 Ajax 技術的實現上。隱藏框架、動態 iframe 和 XHR 等請求代理進行比較,解釋何時應使用某一方法而非另一方法。為了使這一討論更清晰,還包括了 HTTP 請求和響應的簡要概述。

一旦對各種請求類型有了基本了解,本書將深入提供如何以及何時在網站或網路應用程式中使用 Ajax 的範例。討論了不同的數據傳輸格式,包括純文本、HTML、XML 和 JSON 的優缺點。還包括了對網路服務的討論,以及它們如何用於執行 Ajax 技術。接下來,將涵蓋更複雜的主題。一章介紹請求管理框架,探討如何管理 Ajax 應用程式中的所有請求。還討論了 Ajax 調試技術。

本書的最後部分將帶領讀者創建兩個完整的 Ajax 網路應用程式。第一個是 FooReader.NET,一個基於 Ajax 的 RSS 閱讀器。第二個是 AjaxMail,一個支持 Ajax 的電子郵件系統。這兩個應用程式都整合了書中討論的許多技術。

《專業 Ajax 第二版》是為希望提升其網站和網路應用程式可用性的網路應用程式開發者以及希望進一步理解 JavaScript 語言的中級開發者所寫。讀者應對 XML、XSLT、網路服務、PHP 或 C#、HTML、CSS 有一定的熟悉度。本書不適合對上述技術沒有基本了解的初學者。此外,對 JavaScript 的良好理解對於理解本書至關重要。沒有這種知識的讀者應參考《JavaScript 入門(第二版)》(Wrox, 2004, ISBN: 978-0-7645-5587-9)和《專業 JavaScript 網路開發者》(Wrox, 2005, ISBN: 978-0-7645-7908-0)等書籍。

《專業 Ajax 第二版》相比第一版增加了近 200 頁的新內容和擴展內容。這裡涵蓋的一些新主題包括:
- Ajax 函式庫,包括 Yahoo! 連接管理器、Prototype 和 jQuery
- 使用優先佇列和 RequestManager 物件的請求管理
- 基於 Comet 的推送式網路系統和 HTTP 流
- 使用地理編碼、Google Maps API 和 Yahoo! Maps API 的地圖和 Mashups
- 使用 FireBug 和 Microsoft Fiddler 的 Ajax 調試

當然,第二版保留並更新了第一版的核心內容,包括:
- 請求代理的範圍(包括隱藏框架技術、iframe 和 XMLHttp),並解釋何時應使用某一方法而非另一方法
- 用於執行客戶端-伺服器通信的不同 Ajax 技術和模式
- 包括預測提取、頁面預加載、提交節流、增量字段和表單驗證、定期刷新、多階段下載等的 Ajax 模式
- 使用 RSS、Atom 和 XParser 的聚合
- JSON 和創建自動建議文本框的範例
- 用於新聞滾動條、天氣資訊、網路搜索和網站搜索的網站小工具
- Ajax 框架 JSpan、DWR 和 Ajax.NET Professional
- 一個基於網路的 RSS/Atom 聚合器案例研究
- 一個 AjaxMail 案例研究

**目錄**

1. Ajax 是什麼?
2. Ajax 基礎
3. Ajax 模式
4. Ajax 函式庫
5. 請求管理
6. XML、XPath 和 XSLT
7. 使用 RSS 和 Atom 的聚合
8. JSON
9. Comet
10. 地圖和 Mashups
11. Ajax 調試工具
12. 網站小工具
13. Ajax 框架
14. ASP.NET AJAX 擴展(Atlas)
15. 案例研究:FooReader.NET
16. 案例研究:AjaxMail
17. 索引
18. Wrox 書籍後記