Beginning Ajax (Paperback)
暫譯: Ajax 入門 (平裝本)

Chris Ullman, Lucinda Dykes

  • 出版商: Wrox Press
  • 出版日期: 2007-03-19
  • 售價: $1,620
  • 貴賓價: 9.5$1,539
  • 語言: 英文
  • 頁數: 498
  • 裝訂: Paperback
  • ISBN: 0470106751
  • ISBN-13: 9780470106754
  • 相關分類: Ajax
  • 已過版

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

商品描述

Description

This book discusses what Ajax is and what it means to Web developers, as well as the technologies behind Ajax applications. The early chapters of this book begin with a discussion of the pros and cons of Ajax techniques, and they provide a quick refresher of JavaScript techniques. Working through this book, you’ll discover how Ajax applications cross between client-side and server-side development techniques, examine some common Ajax patterns, and see how Ajax links in to existing technologies such as XSLT, web services, and the DOM. The final chapter provides an in-depth case study in creating Ajax applications.

This book teaches you how to create applications according to Ajax principles. This book takes no views on web browser is superior, and it offers examples that work across all major browsers. Because of the complexities involved, however, Ajax is not something a complete novice can expect to pick up. The reader is expected to be familiar with the following client-side technologies: HTML (and/or) XHTML, JavaScript, and Cascading style sheets (CSS). The reader will also need to be familiar with at least one of the two following server-side technologies: PHP or ASP.NET. The reader is not expected to know any of the following because full introductions to each technology will be given (although familiarity with one or many of them may be useful): Document Object Model (DOM), XML, XPath, Extensible Stylesheet Language Transformations (XSLT), and Web services (REST and SOAP).

Some of the topics covered include:

  • A JavaScript refresher and JavaScript reference
  • Ajax and server-side technologies including the XMLHttpRequest object and how it can call ASP.NET, PHP, and Java applications
  • The different techniques that can be considered Ajax techniques, regardless of whether they make use of the XMLHttpRequest object, hidden frames, hidden inline frames, dynamic image loading, and dynamic script loading.
  • Working with XML and the XMLHttpRequest object
  • Debugging and Error Handling
  • Web Services, APIs, and Mashups including embedded maps, photographs, weather forecasts, or music playlists in applications via either web services or APIs
  • XSLT and XPath
  • Common Ajax patterns such as page preloading and form validation
  • Working with external data including how to use external feeds such as RSS and Atom and how you can create applications to consume data sources that push data at regular intervals.
  • JSON, JavaScript's alternative format for transmitting data, JavaScript Object Notation (JSON), which returns a set of array and object literals.
  • How to install and use some of the most common Ajax frameworks and libraries, such as Prototype, Scriptaculous, Dojo, and more.

 

Table of Contents

Introduction.

Chapter 1: Introducing Ajax.

Chapter 2: JavaScript Refresher.

Chapter 3: Ajax and Server-Side Technologies.

Chapter 4: Ajax Techniques.

Chapter 5: Working with XML.

Chapter 6: Debugging and Error Handling.

Chapter 7: Web Services, APIs, and Mashups.

Chapter 8: XSLT and XPath.

Chapter 9: Patterns.

Chapter 10: Working with External Data.

Chapter 11: JSON.

Chapter 12: In-Depth Example: Sortable List.

Appendix A: Exercise Solutions.

Appendix B: Ajax Resources: Frameworks and Libraries.

Appendix C: JavaScript Resources.

Appendix D: JavaScript Language Reference.

Index.

商品描述(中文翻譯)

**描述**

本書討論了什麼是 Ajax 以及對網頁開發者的意義,還有 Ajax 應用背後的技術。本書的早期章節開始討論 Ajax 技術的優缺點,並提供 JavaScript 技術的快速回顧。通過本書,您將發現 Ajax 應用如何在客戶端和伺服器端開發技術之間交叉,檢視一些常見的 Ajax 模式,並了解 Ajax 如何與現有技術(如 XSLT、網路服務和 DOM)連結。最後一章提供了創建 Ajax 應用的深入案例研究。

本書教您如何根據 Ajax 原則創建應用程式。本書不對哪種網頁瀏覽器更優越發表意見,並提供在所有主要瀏覽器中均可運作的範例。然而,由於涉及的複雜性,Ajax 並不是完全新手可以輕易掌握的。讀者應該熟悉以下客戶端技術:HTML(和/或)XHTML、JavaScript 和層疊樣式表(CSS)。讀者還需要熟悉以下兩種伺服器端技術中的至少一種:PHP 或 ASP.NET。讀者**不**需要了解以下任何內容,因為每種技術都會提供完整的介紹(雖然對其中一種或多種的熟悉可能會有幫助):文檔物件模型(DOM)、XML、XPath、可擴展樣式表語言轉換(XSLT)和網路服務(REST 和 SOAP)。

涵蓋的一些主題包括:
- JavaScript 回顧和 JavaScript 參考
- 包括 XMLHttpRequest 物件的 Ajax 和伺服器端技術,以及如何調用 ASP.NET、PHP 和 Java 應用
- 可以被視為 Ajax 技術的不同技術,無論它們是否使用 XMLHttpRequest 物件、隱藏框架、隱藏內聯框架、動態圖像加載和動態腳本加載
- 使用 XML 和 XMLHttpRequest 物件
- 除錯和錯誤處理
- 網路服務、API 和 Mashups,包括通過網路服務或 API 在應用中嵌入地圖、照片、天氣預報或音樂播放列表
- XSLT 和 XPath
- 常見的 Ajax 模式,如頁面預加載和表單驗證
- 使用外部數據,包括如何使用 RSS 和 Atom 等外部源,以及如何創建應用以消耗定期推送數據的數據源
- JSON,JavaScript 傳輸數據的替代格式,JavaScript 物件表示法(JSON),返回一組數組和物件字面量
- 如何安裝和使用一些最常見的 Ajax 框架和庫,如 Prototype、Scriptaculous、Dojo 等

**目錄**

引言
第 1 章:介紹 Ajax
第 2 章:JavaScript 回顧
第 3 章:Ajax 和伺服器端技術
第 4 章:Ajax 技術
第 5 章:使用 XML
第 6 章:除錯和錯誤處理
第 7 章:網路服務、API 和 Mashups
第 8 章:XSLT 和 XPath
第 9 章:模式
第 10 章:使用外部數據
第 11 章:JSON
第 12 章:深入範例:可排序列表
附錄 A:練習解答
附錄 B:Ajax 資源:框架和庫
附錄 C:JavaScript 資源
附錄 D:JavaScript 語言參考
索引