買這商品的人也買了...
-
$1,590$1,511 -
$880$695 -
$300$237 -
$990$891 -
$600$480 -
$650$553 -
$650$585 -
$980$774 -
$620$527 -
$380$323 -
$640$506 -
$780$616 -
$299The ActionScript 3.0 Quick Reference Guide: For Developers and Designers Using Flash CS4 Professional (Paperback)
-
$750$638 -
$650$553 -
$530$199 -
$580$458 -
$400$316 -
$520$411 -
$680$537 -
$820$648 -
$580$458 -
$580$493 -
$480$374 -
$890$757
商品描述
One of the most basic laws of a web application is that the client, not the server, must initiate any communication between the two. There are a number of common–use cases where, ideally, the server would like to talk to the client—dashboards and monitoring apps, chat rooms and other collaborations, and progress reports on long–running processes. Comet (a.k.a. Reverse Ajax) provides a mechanism for enabling this. Comet is moderately complex to implement. But this practical, hands–on book gets you going.
- In Part 1 of this book, we start by examining the use cases, and look at the simple alternatives to Comet and how far they can satisfy your needs. In some situations, though, only Comet will do.
- In Part 2, we demonstrate how to set up and run a Comet–based application.
With this book, be a part of the next generation, Ajax 2.0.
What you’ll learn
- Find out what Comet is and the trouble with HTTP.
- See how to achieve push, polling, piggy–backing, raw sockets, and more.
- Explore some common use cases and a worked example on “magnetic poetry.”
- Understand what some issues and techniques are including the two–request limit, pub–sub and server architectures, and continuations vs. native Comet.
- Use implementations of Comet, including Cometd/Bayeaux, Reverse Ajax in DWR, and more.
- Work through the final example using DWR Framework.
Who is this book for?
This firstPress title is for Ajax developers who are intrigued by Comet/Reverse Ajax, key to the next generation Ajax 2.0.
商品描述(中文翻譯)
網路應用程式最基本的法則之一是,客戶端必須主動發起與伺服器之間的任何通信,而不是伺服器。理想情況下,伺服器希望與客戶端進行通信的常見使用案例包括儀表板和監控應用程式、聊天室及其他協作工具,以及長時間運行過程的進度報告。Comet(又名 Reverse Ajax)提供了一種啟用此功能的機制。實現 Comet 的過程相對複雜,但這本實用的手冊將幫助你入門。
- 在本書的第一部分,我們首先檢視使用案例,並探討 Comet 的簡單替代方案以及它們能滿足你需求的程度。然而在某些情況下,只有 Comet 才能解決問題。
- 在第二部分,我們演示如何設置和運行基於 Comet 的應用程式。
透過這本書,成為下一代 Ajax 2.0 的一部分。
你將學到什麼
- 了解 Comet 是什麼以及 HTTP 的問題。
- 學習如何實現推送、輪詢、搭便車、原始套接字等功能。
- 探索一些常見的使用案例以及一個關於「磁性詩」的實作範例。
- 理解一些問題和技術,包括兩次請求限制、發布-訂閱和伺服器架構,以及延續與原生 Comet 的區別。
- 使用 Comet 的實作,包括 Cometd/Bayeaux、DWR 中的 Reverse Ajax 等。
- 通過使用 DWR Framework 完成最終範例。
這本書適合誰?
這本 firstPress 書籍適合對 Comet/Reverse Ajax 感興趣的 Ajax 開發者,這是下一代 Ajax 2.0 的關鍵。