Ajax design patterns = Ajax 设计模式
发布日期:2007-04-12 浏览次
[内容简介]
本书详细说明了在Java中面向对象编程的基本理论及实用知识,由初学者为起点,由点到面、由浅入深、循序渐进地介绍了应用程序、Applets程序、事件处理、对象、接口、内置类、继承、多态性、数据结构和集合、流文件、串行、图形界面及多线程等多种Java特性,第四版在前一版本的基础上增加了更多的实际案例,并介绍了有关使用UML编程方面的知识,有助于读者学习和借鉴。本书包括更广泛的教学特性,其中列举了数百条可实际使用的程序实例代码,并给出其实际的运行结果,可以使学生在学习时更为直观,书中给出了丰富的网上资源,可以便于读者进行更进一步的研究和探讨。本书的写作方法别具一格,易学易用,并且它的覆盖范围很广,可以满足不同专业和不同层次学生的需求。
[目次]
PREFACE
Part One INTRODUCTION
1 INTRODUCING AJAX
Ajax and the Usable Web
The Rise of Ajax
Ajaxifying the Web: The Story of Portals
Webifying the Desktop: The Story of Office Applications
Characteristics of Ajax Applications
The Ajax Technologies
Anatomy of a Server Call
Ajax Trends
Conclusions
2 A PATTERN-LED TUTORIAL
Ajax Technologies in a Blink
Ajaxifying a Web App: One Pattern at a Time
Projects and Katas
Conclusions
3 AJAX DESIGN: PRINCIPLES AND PATTERNS
Desirable Attributes of Ajax Applications
Oesigning for Ajax
Ajax Patterns Oueruiew
Anatomy of a Pattern
Ajax Patterns Demos
Cnnclusions
Part Two FOUNDATIONAL TECHNOLOGY PATTERNS
4 AJAX APP
Ajax App
5 DISPLAY MANIPULATION
Display Morphing
Page Rearrangement
6 WEB REMOTING
Web Service
XMLHttpRequest Call
IFrame Call
HTTP Streaming
On-Demand JavaScript
7 DYNAMIC BEHAVIOR
User A ction
Scheduling
8 EXTENDED TECHNOLOGIES
Richer Plugin
Part Three PROGRAMMING PATTERNS
9 WEB SERVICES
RESTful Service
RPC Service
Ajax Stub
HTML Message
Plain-Text Message
XML Message
JSON Message
10 BROWSER-SERVER DIALOGUE
Call Tracking
Periodic Refresh
Submission Throttling
Explicit Submission
Distributed Events
Cross-Domain Proxy
11 DOM POPULATION
XML Data Island
Browser-Side XSLT
Browser-Side Templating
12 CODE GENERATION AND REUSE
Server-Side Code Generation
Cross-Browser Component
13 PERFORMANCE OPTIMIZATION
Browser-Side Cache
Predictive Fetch
Guesstimate
Multi-Stage Download
Fat Client
Part Four FUNCTIONALITY AND USABILITY PATTERNS
14 WIDGETS
Slider
Progress Indicator
Drilldown
Data Grid
Rich Text Editor
Suggestion
Live Search
Live Command-Line
Live Form
15 PAGE ARCHITECTURE
Drab-And-Drop
Sprite
Popup
Malleable Content
Microlink
Portlet
Status Area
Update Control
Virtual Workspace
16 VISUAL EFFECTS
One-Second Spotlight
One-Second Mutation
One-Second Motion
Highlight
17 FUNCTIONALITY
Lazy Registration
Direct Login
Host-Proof Hosting
Timeout
Heartbeat
Unique URLs
Part Five DEVELOPMENT PATTERNS
18 DIAGNOSIS
Logging
Debugging
DOM Inspection
Traffic Sniffing
19 TESTING
Simulation Service
Browser-Side Test
Seruice Test
System Test
Part Six APPENDIXES
A AJAX FRAMEWORKS AND LIBRARIES
B SETTING UP THE CODE EXAMPLES
C PATTERNS AND PATTERN LANGUAGES
D REFERENCES
INDEX
【关闭】