个人制作整理的pushlet白皮书中文参考文档。
目录:
1.介绍(Introduction) 3
2.动机(Motivation) 4
3.通知解决(Notification Solutions) 5
3.1轮询(Polling) 6
3.2服务器端回调(Server-side callbacks) 6
3.3 消息(Messaging MOM) 6
3.4讨论(Discussion) 7
4.pushlet基础(Pushlet Basics) 8
4.1HTTP流(HTTP Streaming) 9
4.2示例1(Example1) 9
4.3示例2(Example2) 10
5.不仅Java-动态超文本标记语言 (Not just Java - Dynamic HTML) 14
6.框架设计(Design of the Framework) 16
6.1. 服务器端类设计Server-side class design 18
6.1.1.场景:事件订阅 (Scenario: Event Subscription) 20
6.1.2.场景:发送和派分事件Scenario: Sending and Dispatching Events 22
6.2.客户端框架 Client-side framework 24
7.应用(Applications) 27
7.1. 监控Monitoring 28
7.2. 游戏Gaming 28
7.3.分布式模型-视图-控制器 Distributed Model View Controller (MVC) 28
7.4. Web表现层Web Presentations 29
7.5. 用户辅助User Assistance 30
7.6.社区工具 Community Tools 31
8.倾向(Liabilities) 31
8.1. 优点Advantages 31
8.2.缺点 Disadvantages 32
9.更进一步的工作(Further Work) 33
9.1. 额外的客户端接收协议:例如TCP和UDP(Additional client receiver-protocols such as TCP and UDP) 33
9.2. 额外的服务器端发送协议additional client sender-protocols 34
9.3. 主题状态subject state 34
9.4. 多用户multi-user 35
10.参考(References) 35