Book description
This eagerly anticipated update to the breakout book on JavaScript offers you an in-depth look at the numerous advances to the techniques and technology of the JavaScript language. You'll see why JavaScript's popularity continues to grow while you delve through topics such as debugging tools in Microsoft Visual Studio, FireBug, and Drosera; client-side data storage with cookies, DOM storage, and client-side databases; HTML 5, ECMAScript 3.1, the Selectors API; and design patterns including creational, structural, and behavorial patterns.
Table of contents
- Copyright
- About the Author
- Credits
- Acknowledgments
- Foreword
- Introduction
- 1. What Is JavaScript?
- 2. JavaScript in HTML
-
3. Language Basics
- 3.1. Syntax
- 3.2. Keywords and Reserved Words
- 3.3. Variables
- 3.4. Data Types
- 3.5. Operators
- 3.6. Statements
- 3.7. Functions
- 3.8. Summary
- 4. Variables, Scope, and Memory
- 5. Reference Types
-
6. Object-Oriented Programming
- 6.1. Creating Objects
- 6.2. Inheritance
- 6.3. Summary
- 7. Anonymous Functions
- 8. The Browser Object Model
- 9. Client Detection
-
10. The Document Object Model
- 10.1. Hierarchy of Nodes
- 10.2. DOM Extensions
- 10.3. Working with the DOM
- 10.4. Summary
- 11. DOM Levels 2 and 3
-
12. Events
- 12.1. Event Flow
- 12.2. Event Handlers or Listeners
- 12.3. The Event Object
- 12.4. Event Types
- 12.5. Memory and Performance
- 12.6. Simulating Events
- 12.7. Summary
- 13. Scripting Forms
-
14. Error Handling and Debugging
- 14.1. Browser Error Reporting
- 14.2. Error Handling
- 14.3. Error-Handling Strategies
- 14.4. Debugging Techniques
- 14.5. Common Internet Explorer Errors
- 14.6. Debugging Tools
- 14.7. Summary
- 15. XML in JavaScript
- 16. ECMAScript for XML
- 17. Ajax and JSON
- 18. Advanced Techniques
- 19. Client-Side Storage
-
20. Best Practices
- 20.1. Maintainability
- 20.2. Performance
- 20.3. Deployment
- 20.4. Summary
-
21. Upcoming APIs
- 21.1. The Selectors API
-
21.2. HTML 5
- 21.2.1. Character Set Properties
- 21.2.2. Class-Related Additions
- 21.2.3. Custom Data Attributes
- 21.2.4. Cross-Document Messaging
- 21.2.5. Media Elements
- 21.2.6. The <canvas> Element
- 21.2.7. Offline Support
- 21.2.8. Changes to History
- 21.2.9. Database Storage
- 21.2.10. Drag-and-Drop
- 21.2.11. The WebSocket Type
- 21.2.12. The Future of HTML 5
- 21.3. Summary
-
22. The Evolution of JavaScript
-
22.1. ECMAScript 4/JavaScript 2
- 22.1.1. JavaScript 1.5
- 22.1.2. JavaScript 1.6
- 22.1.3. JavaScript 1.7
- 22.1.4. JavaScript 1.8
- 22.1.5. JavaScript 1.9
- 22.1.6. ECMAScript 4 Proposals
- 22.1.7. Variable Typing
- 22.1.8. Functions
- 22.1.9. Defining Types
- 22.1.10. Classes and Interfaces
- 22.1.11. Interfaces
- 22.1.12. Inheritance
- 22.1.13. Namespaces
- 22.1.14. Packages
-
22.1.15. Other Language Changes
- 22.1.15.1. for-each-in
- 22.1.15.2. Operator Overloading
- 22.1.15.3. Changes to with
- 22.1.15.4. Scoping this
- 22.1.15.5. Strict Mode
- 22.1.15.6. Error Type Detection
- 22.1.15.7. Multiline Strings
- 22.1.15.8. String Indexing and Array Slicing
- 22.1.15.9. Regular Expression Changes
- 22.1.15.10. Property Enumeration Setting
- 22.1.15.11. Keyword Usage
- 22.1.15.12. Date Object Changes
- 22.1.15.13. The Vector Class
- 22.1.15.14. The Map Class
- 22.1.16. The Future of ECMAScript 4
- 22.2. ECMAScript 3.1
- 22.3. Summary
-
22.1. ECMAScript 4/JavaScript 2
- A. JavaScript Libraries
- B. JavaScript Tools
Product information
- Title: Professional, JavaScript® for Web Developers, Second Edition
- Author(s):
- Release date: January 2009
- Publisher(s): Wrox
- ISBN: 9780470227800
You might also like
book
Professional: JavaScript® for Web Developers, Third Edition
A significant update to a bestselling JavaScript book As the key scripting language for the web, …
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …
book
Professional HTML5 Mobile Game Development
Create mobile game apps for the lucrative gaming market If you're an experienced developer seeking to …
book
DOM Scripting: Web Design with JavaScript and the Document Object Model, Second Edition
There are three main technologies married together to create usable, standards-compliant web designs: XHTML for data …