JavaScript Programmer's Reference
Learn everything about utilizing the JavaScript language with the next generation of Rich Internet Applications from the accessible information in JavaScript Programmer's Reference, both a tutorial and a reference guide for web developers. Master methods for using Java with applications like Mi...
Uloženo v:
| Hlavní autor: | |
|---|---|
| Médium: | E-kniha |
| Jazyk: | angličtina |
| Vydáno: |
Hoboken
John Wiley & Sons, Incorporated
2009
Wrox [Wrox]/Wiley |
| Vydání: | 1 |
| Edice: | Programmer's reference |
| Témata: | |
| ISBN: | 9780470344729, 0470344725 |
| On-line přístup: | Získat plný text |
| Tagy: |
Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
|
Obsah:
- Chapter 10: Object Oriented Development -- Object Oriented JavaScript -- Creating Objects -- Deleting Properties and Objects -- Objects as Reference Types -- Objects as Arrays -- Comparing Objects -- Object Cloning -- Static Members -- Constructors -- Prototypes -- The this Keyword -- Private Members -- Inheritance in JavaScript -- Summary -- Chapter 11: Windows and Frames -- Overview of the Browser Object Model -- The window Object -- Working with Frames -- Manipulating Windows -- Dialogues and Alerts -- Obtaining Browser and OS Information -- Window Events -- Summary -- Chapter 12: Events -- The Basic Event Model -- Basic Event Registration -- Preventing Default Behavior -- Unobtrusive JavaScript -- Unobtrusive Event Registration -- Event Propagation -- Replicating Events -- Common Event Bindings -- Event Compatibility -- Custom Events -- Summary -- Chapter 13: The Document Object Model -- The History of the DOM -- Document Types -- The Document Tree -- Node Types -- Node Properties -- Node Methods -- The implementation Object -- Traversing the DOM -- Element Attributes -- Finding Specific Elements -- Creating and Deleting Nodes -- DOM Ranges -- Summary -- Chapter 14: Forms -- The Form Object -- Form Elements -- Basic Form Manipulation -- Working with Inputs -- Rich Text Fields (WYSIWYG) -- Summary -- Chapter 15: Cascading Style Sheets -- Overview -- styleSheet and Style Objects -- Imported Style Sheets -- Iterating Over All Stylesheets -- Adding and Removing Style Sheets -- Iterating over All Rules -- Reading and Writing Style Properties -- Adding and Removing Rules -- Computed Styles -- IE's filter Object -- Summary -- Chapter 16: Dynamic HTML -- The Role of CSS -- Window and Document Geometry -- Getting Scrollbar Thickness -- Element Dimensions -- Image Swapping and Rollovers -- Positioning -- Animation -- Color and Opacity -- Modal Dialogues
- Form Tooltips -- Summary -- Chapter 17: JavaScript Security -- Security Models -- Same Origin Policy -- Signed Scripts -- Security Policies and Zones -- Miscellaneous Issues -- Summary -- Chapter 18: Client-Side Data and Persistence -- Methods of Persisting Data -- Cookies -- UserData in Internet Explorer -- W3C DOM Storage -- HTML5 Client-Side Database -- Flash Local Shared Object -- Storage Using window.name -- Summary -- Chapter 19: Ajax -- XMLHttpRequest -- Security -- Cross-Domain Ajax -- History and Bookmarking -- Summary -- Chapter 20: Working with XML -- Loading XML -- Serializing XML to Text -- Working with the XML DOM API -- Transforming Data with XSLT -- E4X -- Summary -- Chapter 21: Working with JSON -- From JavaScript Literals to JSON -- Labels and Encoding -- JSON as Evaluated Code -- Security Issues -- JSON versus XML -- Serializing Objects to JSON -- Loading JSON Data -- Summary -- Chapter 22: Unique Browser Features -- Accelerators -- Canvas -- Conditional Compilation -- CSS Transforms -- Geolocation -- Google Gears -- Search Providers -- Vector Markup Language -- Web Workers -- Summary -- Chapter 23: Scripting Plugins -- Java Applets -- Flash Movies -- Silverlight Movies -- QuickTime -- Summary -- Chapter 24: Debugging -- Types of Errors -- Error Object Overview -- Throwing Errors -- Error Handlers -- Getting the Stack Trace -- Debugging Tools -- Testing -- Summary -- Chapter 25: Performance Tuning -- Reducing Page Weight -- Code Profiling -- Code Optimization -- DHTML Optimization -- Summary -- Appendix A: Core JavaScript Language -- JavaScript Operators -- JavaScript Statements -- JavaScript Comments -- Appendix B: JavaScript Global Objects -- ActiveXObject -- Array -- Boolean -- Date -- Debug -- Enumerator -- Error -- Function -- JSON -- Math -- Number -- Object -- RegExp -- String -- VBArray -- XMLHttpRequest
- JavaScript Programmer's Reference -- About the Author -- Acknowledgments -- Contents -- Introduction -- Who This Book Is For -- How This Book Is Structured -- What You Need to Use This Book -- Conventions -- Source Code -- Errata -- p2p.wrox.com -- Chapter 1: Introduction to JavaScript -- JavaScript History -- Looking Ahead to ES5 and Harmony -- Stages of a JavaScript Developer -- Real-World JavaScript -- Complementary Technologies -- When to Use JavaScript -- Major JavaScript Engines -- Basic Development Tools -- Your First JavaScript Application -- Summary -- Chapter 2: JavaScript in the Browser -- The Document Object Model -- The SCRIPT Element -- Script Masking -- The NOSCRIPT Element -- Execution and Load Order -- JavaScript in URL's -- Cross-Browser Compatibility -- Summary -- Chapter 3: JavaScript Basics -- General Characteristics -- Variables -- Data Types -- Summary -- Chapter 4: Expressions, Operators, and Statements -- JavaScript Expressions -- JavaScript Operators -- JavaScript Statements -- Summary -- Chapter 5: Functions -- The Function Object -- Declaring Functions -- Passing Arguments by Value versus Reference -- Return Values -- Variable Scope -- Overloading -- Nested Functions -- Closures -- Execution Context and Scope -- Summary -- Chapter 6: The Global and Object Objects -- Features of the Global Object -- The Global Object in the Browser -- Getting the Global Object -- Global Properties -- Global Functions -- Global Objects -- The Object Object -- Summary -- Chapter 7: The String and RegExp Objects -- String Object Overview -- String Basics -- Working with Strings -- Summary -- Chapter 8: The Boolean, Number, and Math Objects -- The Boolean Object -- The Number Object -- The Math Object -- Summary -- Chapter 9: The Array and Date Objects -- The Array Object -- The Date Object -- Summary
- Appendix C: JavaScript Global Properties -- Infinity -- NaN -- undefined -- Appendix D: JavaScript Global Functions -- decodeURI(string) -- decodeURIComponent(string) -- encodeURI(string) -- encodeURIComponent(string) -- escape(string) -- eval(string) -- isFinite(numval) -- isNaN(numval) -- parseFloat(string) -- parseInt(string) -- unescape(string) -- Appendix E: Reserved and Special Words -- Appendix F: Document Object Reference -- Area Object Reference -- Canvas Object Reference -- cssRule and rule Object Reference -- document Object Reference -- Event Object Reference -- external Object Reference -- Generic Element Reference -- History Object Reference -- HTML Form Reference -- HTML Table Reference -- Image Object Reference -- Link and Anchor Object Reference -- Location Object Reference -- Range Object Reference -- Selection Object Reference -- Storage Object Reference -- Style Object Reference -- styleSheet Object Reference -- TextRange Reference -- Window Object Reference -- Appendix G: Resources on the Web -- Reference -- Tools -- Blogs and Articles -- Index

