Adding Ajax

Shelley Powers

  • 出版商: O'Reilly
  • 出版日期: 2007-07-10
  • 定價: $1,225
  • 售價: 1.6$199
  • 語言: 英文
  • 頁數: 400
  • 裝訂: Paperback
  • ISBN: 0596529368
  • ISBN-13: 9780596529369
  • 相關分類: Ajax
  • 立即出貨

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

相關主題

商品描述

Description

Ajax can bring many advantages to an existing web application without forcing you to redo the whole thing. This book explains how you can add Ajax to enhance, rather than replace, the way your application works. For instance, if you have a traditional web application based on submitting a form to update a table, you can enhance it by adding the capability to update the table with changes to the form fields, without actually having to submit the form. That's just one example.

Adding Ajax is for those of you more interested in extending existing applications than in creating Rich Internet Applications (RIA). You already know the "business-side" of applications-web forms, server-side driven pages, and static content-and now you want to make your web pages livelier, more fun, and much more interactive. This book:

  • Provides an overview of Ajax technologies, and the importance of developing a strategy for changing your site before you sit down to code
  • Explains the heart and soul of Ajax: how to work with the XMLHttpRequest object
  • Introduces and demonstrates several important Ajax libraries, including Prototype, script.aculo.us, rico, Mochikit
  • Explores the interactive element that is Ajax, including how to work with events and event handlers that work across browsers
  • Introduces the concept of web page as space, and covers three popular approaches to managing web space
  • Explains how to make data updates, including adding new data, deleting, and making updates, all from within a single page
  • Describes the effects Ajax has on the Web-breaking the back button, losing browser history, dynamic effects that disappear when the page is refreshed, and more
  • Covers advanced CSS effects, including drag and drop "scroll bars", pagination, and the use of SVG and the Canvas object
  • Explores mashups-Ajax's ability to combine data from different web services in any number of ways, directly in our web pages

商品描述(中文翻譯)

描述

Ajax可以為現有的網頁應用程式帶來許多優勢,而不需要重新製作整個應用程式。本書解釋了如何添加Ajax以增強應用程式的功能,而不是取代它。例如,如果您有一個傳統的基於提交表單來更新表格的網頁應用程式,您可以通過添加更新表格的功能來增強它,而無需實際提交表單。這只是一個例子。

《添加Ajax》適用於那些對擴展現有應用程式更感興趣而不是創建豐富互聯網應用程式(RIA)的讀者。您已經瞭解應用程式的“業務方面”-網頁表單、服務器驅動的頁面和靜態內容-現在您想使您的網頁更有活力、更有趣、更具互動性。本書:

- 提供了Ajax技術的概述,以及在開始編碼之前制定網站變更策略的重要性
- 解釋了Ajax的核心:如何使用XMLHttpRequest對象
- 介紹並演示了幾個重要的Ajax庫,包括Prototype、script.aculo.us、rico和Mochikit
- 探討了Ajax的互動元素,包括如何處理跨瀏覽器的事件和事件處理程序
- 介紹了將網頁視為空間的概念,並介紹了管理網頁空間的三種常用方法
- 解釋了如何進行數據更新,包括添加新數據、刪除和更新,全部在同一個頁面內完成
- 描述了Ajax對Web的影響-破壞了返回按鈕、丟失瀏覽器歷史、在刷新頁面時消失的動態效果等等
- 講解了高級CSS效果,包括拖放“滾動條”、分頁以及使用SVG和Canvas對象
- 探索了mashup-Ajax將不同網絡服務的數據以各種方式直接結合在我們的網頁中的能力