Ajax权威指南(影印版)
Ajax权威指南(影印版)
Anthony T. Holdener III
出版时间:2008年05月
页数:957
Ajax究竟是一项新技术还是Web开发者们已经使用了多年的旧东西?事实上两者皆是。本书不仅向您展示久经考验的Web标准如何将Ajax变成现实,还告诉您这些旧有技术如何让网站焕发Web2.0的新颜。

《Ajax权威指南》教您如何使用JavaScript、XML、CSS和XHTML这样的标准处理XMLHttpRequest对象,建立具有桌面程序功能的基于浏览器的Web应用程序。您将全面理解当今Web站点和程序中所融合的技术,并学习如何将其同Ajax并用于先进的浏览器搜索、Web服务、Mashup等应用。与此同时,您还会发现为什么使用Ajax开发更快速、简单和经济。其他内容还包括:

* 将服务器后端组件与浏览器中的用户界面相连
* 加载和处理XML文档,以及如何用JSON替换XML
* 处理文档对象模型(DOM)
* 设计具有可用性、功能性、可视性和可达性的Ajax界面
* 站点导航布局
* 为图表、导航框和窗口增加生命周期
* 动画、交互式表单和数据验证
* 将Ajax应用于商业通信
* 创建不需要插件的互联网游戏
* 模块化编程的优势,优化Ajax应用程序的方法等等

本书还提供了包含XML和XSLT、流行的JavaScript框架、库、工具以及众多Web服务API的参考。由于提供了更多的工具和选项,Ajax为开发者们给出了一种摆脱原有束缚、创建Web内容的新方式。《Ajax权威指南》为您详尽介绍如何使用这套独特的开发工具。

Anthony T. Holdener III目前正在利用最新的可达性和跨浏览器兼容技术创建Internet/Intranet程序。他在圣路易斯大学获得计算机科学学位。在过去8年中,他作为网站构架师和开发者为该地区的多家“财富500强”公司工作。
  1. Preface
  2. Part I. Ajax Fundamentals
  3. 1. Reinventing the Web
  4. Web Page Components
  5. Modern Web Standards
  6. Browsers
  7. Standards Compliance
  8. Welcome to Web 2.0
  9. 2. From Web Sites to Web Applications
  10. The Transition
  11. Basic Web and Ajax Design Patterns
  12. Application Environments
  13. The Developer
  14. What Ajax Is Not
  15. 3. Servers, Databases, and the Web
  16. The Web Server
  17. Server-Side Scripting
  18. Databases
  19. Getting Data Into and Out of Relational Databases
  20. Interfacing the Interface
  21. Frameworks and Languages
  22. What Good Are Frameworks?
  23. 4. Foundations: Scripting XML and JSON
  24. XML
  25. JSON
  26. Choosing a Data Exchange Format
  27. A Quick Introduction to Client Frameworks
  28. Simplifying Development
  29. 5. Manipulating the DOM
  30. Understanding the DOM
  31. We’ve Already Met
  32. Manipulating DOM Elements, Attributes, and Objects
  33. Change That Style
  34. Events in the DOM
  35. DOM Stuff for Tables
  36. Is innerHTML Evil?
  37. 6. Designing Ajax Interfaces
  38. Usability
  39. Functionality
  40. Visualization
  41. Accessibility
  42. The Ajax Interface
  43. Part II. Ajax Foundations
  44. 7. Laying Out Site Navigation
  45. Menus
  46. Tabs
  47. Navigation Aids
  48. Problems with Ajax Navigation
  49. General Layout
  50. 8. Fun with Tables and Lists
  51. Layout Without Tables
  52. Accessible Tables
  53. Sorting Tables
  54. Tables with Style
  55. Table Pagination
  56. Lists 2.0
  57. Lists for All Seasons
  58. 9. Page Layout with Frames That Aren’t
  59. Using Frames
  60. XHTML and Frames
  61. The Magic of Ajax and a DIV
  62. Page Layout
  63. 10. Navigation Boxes and Windows
  64. The Alert Box
  65. Integrating the Window
  66. Navigation Windows
  67. Tool Tips
  68. The Necessary Pop Up
  69. 11. Customizing the Client
  70. Browser Customizations
  71. Stylesheet Switching
  72. Switching Different Customizations
  73. Easy Font-Size Switching
  74. Creating Color Themes
  75. Throwing Ajax into the Mix
  76. Changing Site Language with Ajax
  77. Repositioning Objects and Keeping Those Positions
  78. Storing It All in the Database
  79. 12. Errors: To Be (in Style) or Not to Be
  80. Error Handling on the Web
  81. Should I React to That Error?
  82. Handling an Error with Care
  83. Integrating the User Error
  84. 13. This Ain’t Your Father’s Animation
  85. Animation on the Web
  86. What Is Wrong with GIF?
  87. Building Animation with the PNG Format
  88. Ajax Animations
  89. 14. A Funny Thing Happened on the Way to the Form
  90. XHTML Forms
  91. Using JavaScript
  92. Fancier Forms
  93. The Basics of Ajax and Forms
  94. Accepting Ajax-Delivered Data
  95. Server Responses
  96. 15. Data Validation: Client, Server, or Both
  97. Data Validation Is Important
  98. Validation with JavaScript
  99. CSS Notification of Errors
  100. Validation on the Server
  101. Ajax Client/Server Validation
  102. Part III. Ajax in Applications
  103. 16. Search: The New Frontier
  104. Types of Site Searches
  105. Dynamic Searching with Ajax
  106. Googling a Site
  107. 17. Introducing Web Services
  108. What Is a Web Service?
  109. Web Service Architectures
  110. Ajax and Web Services
  111. Web Feeds
  112. Web Service APIs
  113. 18. Web Services: The APIs
  114. Publicly Available Web Services 619
  115. Ajax and the API 657
  116. The Next Step with Services 658
  117. 19. Mashups
  118. Mashups in Web 2.0 Applications
  119. What Are Mashups?
  120. Mashups As Applications
  121. Data Sources
  122. Application Portlets
  123. Building a Mashup
  124. Mashups and Business
  125. 20. For Your Business Communication Needs
  126. Businesses and Ajax
  127. Real-Time Communication
  128. File Sharing
  129. Whiteboards
  130. Combining Applications
  131. 21. Internet Games Without Plug-ins
  132. Gaming on the Web
  133. Internet Requirements
  134. Animating a Character
  135. Basic Collisions
  136. User Input
  137. The Basics of Event Handling
  138. Putting It All Together
  139. Part IV. Wrapping Up
  140. 22. Modular Coding
  141. What Is Modular Coding?
  142. The Client Side
  143. The Server Side
  144. 23. Optimizing Ajax Applications
  145. Site Optimization Factors
  146. HTTP
  147. Packets
  148. Client-Side Optimizations
  149. Server-Side Optimizations
  150. Ajax Optimization
  151. Part V. References
  152. A. The XML and XSLT You Need to Know
  153. B. JavaScript Framework, Toolkit, and Library ReferencesC. Web Service API Catalog
  154. D. Ajax Risk References
  155. Index
书名:Ajax权威指南(影印版)
国内出版社:东南大学出版社
出版时间:2008年05月
页数:957
书号:978-7-5641-0840-3
原版书出版商:O'Reilly Media
Anthony T. Holdener III
 
Anthony T. Holdener III 8岁时就开始在他父母的IBM PCjr上编程,并且从那时起就一直沉迷于计算机。1997年,他帮助Fairview Heights在伊利诺斯州开办并运营一家Internet咖啡馆,他在那里担任系统管理员。在圣路易斯大学获得计算机科学的学位证书之后,Anthony以Web架构师和开发人员的身份为圣路易斯地区的许多家公司(包括Anheuser-Busch、SAIC和Gateway EDI)工作了8年。Anthony现在是以圣路易斯为基地的律师事务所的信息技术主管,他继续构建Internet/内联网应用程序,利用最新可用的技术,同时不懈追求可访问性和跨浏览器兼容性。
他与妻子和一对刚学会走路的双胞胎幼儿居住在伊利诺斯州夏伊洛的乡村里(位于圣路易斯郊区)。当他不接触计算机时,Anthony喜欢阅读、写作,最重要的是,他会花时间陪伴家人。
Anthony T. Holdener III began programming at the age of eight on his parents’ IBM
PCjr and has been hooked on computers ever since. In 1997, he helped to open and
operate an Internet café in Fairview Heights, Illinois, where he served as the systems
administrator. A graduate of St. Louis University with a degree in Computer Science,
Anthony has worked as a web architect and developer for eight years for a number of
companies in the St. Louis area, including Anheuser-Busch, SAIC, and Gateway EDI.
Now the Director of Information Technology for a St. Louis-based law firm, Anthony
continues to build Internet/Intranet applications utilizing the latest available technologies
while striving for accessibility and cross-browser compatibility.
He resides in the village of Shiloh, Illinois, a suburb of St. Louis, with his wife and twin
toddlers. When not on his computer, Anthony enjoys reading, writing, and, most
importantly, spending time with his family.
 
 
The animalon the cover of Ajax: The Definitive Guide is a woolly monkey (Lagothrix
lagotricha, Oreonoax flavicauda). Woolly monkeys inhabit the rain forests in
the upper and middle areas of the Amazon basin west of the Negro and Tapajos
rivers. They spend most of their time high in the tree canopy, rarely making their
way to the forest floor. They are able to easily jump across wide gaps between trees;
to navigate narrow limbs to access nuts, fruits, and seedpods; and even to sleep
securely 150 feet above ground.
Adult woolly monkeys are 20–24 inches tall and weigh 13–17 pounds. Their features
include black, hairless faces, extremely long limbs, and opposable big toes. They
have forward-facing eyes, which provide them with the stereoscopic vision necessary
for judging depth and distance as they travelthrough the treetops. They are also
sensitive to the color green, a fact that helps them distinguish the various shades
found in their jungle habitat. As their name suggests, woolly monkeys are covered
with dense, pale gray-brown fur; this thick coat protects them from the elements and
insect bites. Each hair is striped with white, which reflects the surrounding jungle
colors and helps camouflage them against predators such as eagles, jaguars, and
humans. Their most distinctive feature is their long, prehensile tail, which can
support the full weight of the monkey as it hangs from tree limbs to rest or collect
food. The tail can actually grasp objects as well, and woolly monkeys often use it to
collect fruit or leaves. The top third of the tail’s underside is smooth, allowing for a
firm grip.
Woolly monkeys live in groups of 10–45 individuals, but split off into smaller groups
of 2–6 to forage for food. They communicate via an elaborate system of vocal, visual,
olfactory, and tactile cues, and have a friendly relationship within the larger
group, greeting each other with embraces and kisses on the mouth. Their social
hierarchy is organized by age, sex, activity, and the reproductive status of females.
,colo.29950 Page 959 Monday, January 14, 2008 7:16 PM
Reproduction is characterized as promiscuous; one male will generally mate with all
the group’s females, and vice versa. There is usually a dominant male who leads the
group, ensuring their security and sense of well-being. He assumes the role of peacemaker
as well, diffusing fights and disciplining the instigating monkey by shaking it
vigorously.
The birth of a woolly monkey is a social occasion; it is attended by experienced
mothers who help clean up, youngsters who observe and learn, and adult males who
provide comfort and protection to the laboring mother. A newborn woolly monkey
clings to its mother for the first three months of its life, first to her chest and gradually
making its way to her back. Although they nurse for two years, infant monkeys
generally incorporate solid foods into their diet at approximately two months of age.
They determine what to eat by imitating the mother, but the first solids they try are
often the crumbs and peels their mothers accidentally drop on their heads. Mothers
never intentionally give their infants food, nor do they pick them up or put them
down; rather, they encourage self-reliance in their offspring and do not give birth
again until the child is completely independent.
购买选项
定价:98.00元
书号:978-7-5641-0840-3
出版社:东南大学出版社