Ajax Patterns and Best Practices (Paperback)

Christian Gross

  • 出版商: Apress
  • 出版日期: 2006-02-16
  • 定價: $1,575
  • 售價: 1.9$299
  • 語言: 英文
  • 頁數: 416
  • 裝訂: Paperback
  • ISBN: 1590596161
  • ISBN-13: 9781590596166
  • 相關分類: Ajax
  • 立即出貨(限量) (庫存=1)

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

相關主題

商品描述

Description

Ajax is taking us into the next generation of web applications. Ajax has broken the client-server barrier by decoupling the client from the server, but an Ajax application still needs a server to extract content from. The most effective use of Ajax and the server requires an understanding of REST, an architectural style used to define Web services.

Ajax Patterns and Best Practices explores dynamic web applications that combine Ajax and REST as a single solution. A major advantage of REST is that like Ajax, it can be used with today's existing technologies.

This is an ideal book whether or not you have already created an Ajax application. Because the book outlines various patterns and best practices, you can quickly check and verify that you're building an efficient Ajax application.

Inside the book, the patterns will answer the following questions:

  • What is Ajax, and REST and why do you even care? And if I should care what are some examples of websites that make effective use of Ajax and REST?
  • What are the absolute basics of Ajax and REST and what parts of those basics should I use?
  • How should deal with large amounts of data? Should I cache the data? Should I get the data piece fed to me? (Patterns: Cache Controller, and Infinite Data)
  • People keep telling me that sessions and cookies are bad? Are they bad? What should I do? And while I think about how about generating content for other devices? (Permutations pattern)
  • I want to fix the back-button problem of the HTML browser. (State Navigation pattern)
  • What is the best way to create a mashup? (REST Based Model View Controller pattern)
  • My page has so many links managed by JavaScript, and I am loosing control, help me make this more organized! (Decoupled Navigation pattern)
  • I understand that HTTP means I send data to the server, how about the server sending me some data without asking for it? (Persistent Communications pattern)
  • My server side code looks like a mess with tags and code pieces everywhere how can I organize and make my HTML page behave like a SOA client and use REST based web services? (Content chunking pattern)

商品描述(中文翻譯)

描述

Ajax將我們帶入了下一代網絡應用程序。Ajax通過解耦客戶端和服務器打破了客戶端-服務器的障礙,但Ajax應用程序仍然需要服務器提取內容。最有效地使用Ajax和服務器需要理解REST,這是一種用於定義Web服務的架構風格。

《Ajax模式和最佳實踐》探索了將Ajax和REST結合為一個解決方案的動態Web應用程序。REST的一個主要優點是,像Ajax一樣,它可以與當今的現有技術一起使用。

無論您是否已經創建了一個Ajax應用程序,這本書都是理想的選擇。因為本書概述了各種模式和最佳實踐,您可以快速檢查和驗證您正在構建一個高效的Ajax應用程序。

在本書中,這些模式將回答以下問題:

- Ajax和REST是什麼,為什麼您要關心?如果我應該關心,有哪些網站可以有效地使用Ajax和REST的例子?
- Ajax和REST的絕對基礎是什麼,我應該使用這些基礎的哪些部分?
- 如何處理大量數據?我應該緩存數據嗎?我應該逐個獲取數據嗎?(模式:緩存控制器和無限數據)
- 人們一直告訴我會話和cookie是壞的?它們真的壞嗎?我應該怎麼辦?而且,當我考慮為其他設備生成內容時呢?(排列組合模式)
- 我想解決HTML瀏覽器的返回按鈕問題。(狀態導航模式)
- 創建混搭的最佳方法是什麼?(基於REST的模型視圖控制器模式)
- 我的頁面有很多由JavaScript管理的鏈接,我失去了控制,幫助我更有組織地處理這個!(解耦導航模式)
- 我知道HTTP意味著我將數據發送到服務器,那麼服務器如何在不要求的情況下向我發送一些數據?(持久通信模式)
- 我的服務器端代碼看起來亂七八糟,到處都是標籤和代碼片段,我該如何組織和使我的HTML頁面像SOA客戶端一樣運行並使用基於REST的Web服務?(內容分塊模式)