本书是为帮助国内技术人员在第一时间了解国外最新的计算机技术所编写的。该书共分14章,具体内容包括基本的JavaScript逻辑;在多浏览器并存的Web世界里可靠地使用JavaScript的技巧;JavaScript的各种扩展机制以及它们与传统面向对象编程的区别;处理传统JavaScript任务等。该书可供广大JavaScript爱好者阅读使用。
网站首页 软件下载 游戏下载 翻译软件 电子书下载 电影下载 电视剧下载 教程攻略
书名 | 学习JavaScript(影印版) |
分类 | |
作者 | (美)鲍尔斯 |
出版社 | 东南大学出版社 |
下载 | ![]() |
简介 | 编辑推荐 本书是为帮助国内技术人员在第一时间了解国外最新的计算机技术所编写的。该书共分14章,具体内容包括基本的JavaScript逻辑;在多浏览器并存的Web世界里可靠地使用JavaScript的技巧;JavaScript的各种扩展机制以及它们与传统面向对象编程的区别;处理传统JavaScript任务等。该书可供广大JavaScript爱好者阅读使用。 内容推荐 无论你是从头开始学习JavaScript,还是只想复习一下,《学习JavaScript》都为你提供了一条穿越JavaScript内在能量与外在特性的捷径。 JavaScript作为Ajax的关键部分又重新回到了聚光灯下,赋予网站更多的智能并给访客提供更有用的交互内容。JavaScript亦已超越Web而蔓延至编程领域,给其他软件提供了一种便利的脚本语言。 本书中基于Web的实例展示了如何构建JavaScript逻辑、如何将其与现有的对象结构相连接以及如何构建你的程序库和利用他人编写的程序库。 《学习JavaScript》将探索以下主题:基本的JavaScript逻辑,从函数、操作符到控制结构;在多浏览器并存的Web世界里可靠地使用JavaScript的技巧;JavaScript的各种扩展机制以及它们与传统面向对象编程的区别;处理传统JavaScript任务,如表单验证、DOM操作和交互样式;JavaScript的安全性,包括Web浏览器沙箱、cookie以及与其他对象的交互;创建对象库以处理一般任务;用JavaScript和XML HttpRequest对象构建Ajax应用程序;为特殊效果和Ajax交互使用程序库。 无论你是曾经使用过一些JavaScript的Web设计者、需要学习JavaScript的程序员,还是仅仅想在Web上做一点东西的开发新手,《学习JavaScript》都将告诉你如何把这个强大的脚本语言用于应对你所遇到的最新挑战。 目录 Preface 1. Introduction and First Looks Twisted History: Specs and Implementations Cross-Browser Incompatibility and Other Common JavaScript Myths What You Can Do with JavaScript First Look at JavaScript: "Hello World!" The JavaScript Sandbox Accessibility and JavaScript Best Practices 2. JavaScript Data Types and Variables Identifying Variables Scope Simple Types Constants: Named but Not Variables Questions 3. Operators and Statements Format of a JavaScript Statement Simple Statements Conditional Statements and Program Flow The Conditional Operators The Logical Operators Advanced Statements: The Loops Questions 4. The JavaScript Objects The Object Constructor The Number Object The String Object Regular Expressions and RegExp Purposeful Objects: Date and Math JavaScript Arrays Associative Arrays: The Arrays That Aren't Questions 5. Functions Defining a Function: Let Me Count the Ways Callback Functions Functions and Recursion Nested Functions, Function Closure, and Memory Leaks Function As Object Questions 6. Catching Events The Event Handler at DOM Level O Questions 7. Forms and JiT Validation Accessing the Form Attaching Events to Forms: Different Approaches Selection Radio Buttons and Checkboxes Input Fields and JiT Regular Expressions Questions 8. The Sandbox and Beyond: Cookies, Connectivity, and Piracy The Sandbox All About Cookies Alternative Storage Techniques Cross-Site Scripting (XSS) Questions 9. The Basic Browser Objects BOM at a Glance The window Object Frames and Location history, screen, and navigator The all Collection, Inner/Outer HTML and Text, and Old and New Documents Something Old, Something New Questions 10. DOM: The Document Object Model A Tale of Two Interfaces The DOM and Compliant Browsers The DOM HTML API Understanding the DOM: The Core API The DOM Core Document Object Element and Access in Context Modifying the Tree Questions 11. Creating Custom lavaScript Objects The JavaScript Object and Prototyping Creating Your Own Custom JavaScript Objects Object Detection, Encapsulation, and Cross-Browser Objects Chaining Constructors and JS Inheritance One-Off Objects Advanced Error-Handling Techniques (try, throw, catch) What's New in JavaScript Questions 12. Building Dynamic Web Pages: Adding Style to Your Script DHTML: JavaScript, CSS, and DOM Fonts and Text Position and Movement Size and Clipping Display, Visibility, and Opacity Questions 13. Moving Outside the Page with Ajax Ajax: It's Not Only Code How Ajax Works Hello Ajax World! The Ajax Object: XMLHttpRequest and IE's ActiveX Objects Working with XML—or Not Google Maps Questions 14. Good News: Juicy Libraries! Amazing Web Services! Fun APIs! Before Jumping In, A Word of Caution Working with Prototype Script.aculo.us: More Than the Sum of Its Periods Sabre's Rico Dojo The Yahoo! UI MochiKit Questions Appendix: Answers Index |
随便看 |
|
霍普软件下载网电子书栏目提供海量电子书在线免费阅读及下载。