The return of JavaScript King PDF

Source: Internet
Author: User
Tags character classes closure string format

: Network Disk Download

Content Introduction· · · · · ·

The return of the "JavaScript King" in your hands is not only a book of knowledge, but also a book for finding a way.

This book is divided into five sections to discuss with readers the various aspects of JavaScript, from the simple Language Foundation to the rich practical application to the deep analysis of the language essence of the high-level topic, the lines contain the author's many years of work on the JavaScript practice and even design ideas in-depth thinking and summary.

This book unveils the veil of JavaScript, bypassing misunderstandings and illusory appearances, leading you to explore the wonders of the Kingdom of procedure. It is an entry-level tutorial for beginners, a "magic book" to explore the origins of programming ideas, and a desk reference for Web development engineers.

This book is your key to the Scripting Kingdom and guides you through the magical charms of scripting magic. It is also an enlightening reading about the future of changing the Internet, under which you will gain the knowledge, wisdom, achievements and happiness you desire in the world of the Internet.

Special page: http://labs.aoao.org.cn/akira/

Author profile ...

Wuliang (net name) in the early years in the Microsoft Asia researcher has done a visit to students, Kingdee Software Co., Ltd. has served as the core Development engineer, designer and project manager, is currently Baidu e-Commerce Division web development project manager. Over the years dedicated to the promotion of JavaScript technology and web standards, active in the country's most influential JavaScript professional website-worry-free script (www.51js.com), and as a JavaScript version of the moderator. Usually love literature, writing and go.

Catalogue ... introduction to the first part
The 1th chapter starts from scratch
1.1 Why Choose JavaScript?
1.2 JavaScript Application scope
Version of 1.3 JavaScript
1.4 Some noteworthy features taboo and how to break through these taboos
1.5 Security and execution efficiency
1.6 An example of a calculator written by--javascript
1.7 Tips for learning and using JavaScript
1.8 about the rest of the book
2nd JavaScript in the browser
2.1 Executable content embedded in Web pages
2.2 Pleasing effects
2.3 Using JavaScript to interact with users
2.4 Wrapping up Script Traps 2.5 summary
The 3rd Chapter development environment and debugging method
3.1 What can I use to write scripts--A text editor for JavaScript
3.2来 support from the browser
3.3 Integrated development environment
3.4 Debugging Tools--a powerful tool for improving development efficiency
3.5 Locating code and call stacks
3.6 Browser Catch exception
3.7 Summary
Part Two JavaScript core
The 4th Chapter language structure
Basic Grammar of 4.1 javascript
4.2 Constants and variables
4.3 Expressions and operator characters
4.4 Control Statement sentence
4.5 Summary
5th Chapter Data Types
5.1 Basic data types
5.2 Arrays and objects
5.2.1 Array
5.2.2 Object--an example of a constructor
5.3 Function Types--an example of a function and a closure
5.4 Magical null and undefined
5.4.1 NULL
5.4.2 undefined--Unique Type
5.5 Regular Expressions
5.5.1 Regular Expression constants
5.5.2 Regular Expression Object
5.6 Value types and reference types
5.6.1 What is a reference to a value and a value
5.6.2 using values and using references
Conversion of 5.6.3 values to references: boxing and unpacking
5.7 Type recognition and type conversion
5.7.1 Runtime Type identification--example of two run type recognition
Automatic conversion of 5.7.2 types and their examples
5.7.3 coercion type conversions and their examples
5.7.4 Advanced Usage--an example of a custom type conversion
5.8 Beware of numerical traps
5.8.1 puzzle--the precision problem of floating-point number
Correction of 5.8.2 error and its example
5.9 Summary
6th Chapter function
6.1 Function definitions and function calls
Definition of the 6.1.1 function
6.1.1.1 declarative function definitions and function expressions and their examples
The Secret of 6.1.1.2 JavaScript functions--Magic Code
Invocation of the 6.1.2 function
6.2 Parameters of the function
6.2.1-shaped participation arguments
6.2.2 Arguments Object
6.2.2.1 An example of using a arguments object to detect parameters
6.2.2.2 An example of using an arguments object to receive any number of arguments
6.2.2.3 An example of using a arguments object to simulate a function overload
6.2.3 parameter type matching--an example of implementing a function overloading mechanism using arguments
6.3 Caller and owner of the function
The caller of the 6.3.1 function
Owner of the 6.3.2 function-an example of assigning an owner to a function
6.3.3 Dynamic Invocation--the alien owner
6.4 Function constants and closures
6.4.1 Anonymous functions
6.4.2 Function Reference
6.4.3 function parameters and function return values and their examples
6.4.4 Advanced usage--closure as local domain and delay evaluation
6.5 Advanced abstract--function types and function templates
6.5.1 Dynamic Creation Function--an example of implementing a lambda operator using function
6.5.2 Mode--function factory and its instance
6.6 Summary
7th Chapter Object
7.1 What is an object
7.2 Properties and methods for objects
Built-in properties for 7.2.1 objects
7.2.2 Adding and removing properties for an object
7.2.3 reflection Mechanism-enumeration object properties
7.3 Construction of objects
7.3.1 constructor--an example of a double-precision floating-point package class
7.3.2 default construction and copy construction
7.3.3 Object Constants
7.4 Destruction of objects and recovery of storage units
7.5 JavaScript built-in objects
7.5.1 Math Object
7.5.2 Date Object--Create a simple calendar
7.5.3 Error Object
7.5.4 other built-in objects
7.5.5 Special objects--global objects and calling objects
7.6 Summary
8th Chapter Set
8.1 Arrays and array elements
Construction of 8.1.1 arrays
8.1.2 Array Constants
8.1.3 array elements
8.2 Array objects and methods
8.2.1 finding elements
8.2.2 Adding and removing elements
8.2.3 Collection Operations and examples
8.2.3.1 Join () method
8.2.3.2 Reverse () method
8.2.3.3 sort () method
8.2.3.4 concat () method
8.2.3.5 Slice () method
8.2.3.6 Splice () method
8.2.3.7 tosgring () method and toLocaleString () method
8.3 Hash Table
8.3.1 What is a hash table
The construction of 8.3.2 hash table
8.3.3 implementation of a simple Hashtable type
8.4 Advanced Usage--set operations and closures
8.5 Summary
9th Chapter String
9.1 Constructing a string
9.1.1 String Constants
9.1.2 Escape Sequences
9.1.3 String Constructors
9.2 Use of strings
9.2.1 Comparing strings
9.2.2 extracting and retrieving substrings
9.2.3 Connection Split string
9.2.4 pattern matching of strings--an example of a string format check
9.2.5 Other methods
9.3 String and character array
9.4 String and Text processing--javascript game Reader (i)
9.4.1 Demand Analysis-what are games and game readers
9.4.2 System Design--string description of game and checkerboard data
9.4.3 System implementation--parsing and processing games
9.4.4 Complete Game Reader
9.5 Summary
10th-Regular Expressions
10.1 What is a regular expression
10.1.1 the concept of regular expressions
10.1.2 Regular Expressions in JavaScript
10.2 Rules for regular expressions
10.2.1 Direct Volume characters
10.2.2 Character classes and Boolean operations
10.2.3 Repeat
10.2.4 selection, grouping, and referencing
10.2.5 Specify a matching location
10.2.6 flag-Rules for advanced pattern matching
10.3 Pattern Matching
10.3.1 string method for pattern matching and its example
10.3.2 RegExp method for pattern matching
10.3.2.1 An example of using the Exec () method to get birthdays from an ID card number
10.3.2.2 An example of traversing a string using the test () method
10.4 about the regular expression wrapper object
10.4.1 RegExp Object--full-text retrieval using regular expressions
10.4.2 Instance Properties of RegExp
10.5 Powerful Regular expressions
10.5.1 analysis of local parts of regular expressions
10.5.2 An example--powerful online editor
10.5.3 constructs a new grammar-an example of implementing a JSVM2 parser in JSVM
10.6 Advanced Usage
10.7 Working with regular expressions for text
10.7.1 Creating a pricing formula editor
10.7.1.1 Demand Analysis-what is the pricing Formula editor
Implementation of 10.7.1.2 system--The realization of pricing formula editor
10.7.2 Create a synchronized scrolling lyrics player
10.7.2.1 Demand Analysis-what is sync scrolling lyrics player
10.7.2.2 system design and implementation--processing LRC lyrics
10.8 Summary
The third part of the browser and DOM
11th Chapter Browser Object
11.1 Window Object--the most basic browser object
11.1.1 Window Object Overview
11.1.2 the life cycle of a Window object
11.1.3 properties and methods of the Window object
11.1.41 Examples of multi-window applications
11.2 Document Object--representative of the contents of the browser window's documents
11.2.1 Document Object Overview
11.2.2 dynamically generated documents
11.2.3 basic information for document objects
11.2.4 the appearance properties of the Document object
11.2.5 Document Sub-object interface
11.2.5.1 An example of traversing a anchors object
11.2.5.2 An example of an inverted picture
11.3 dialog box and status bar
11.3.1 Creating a simple dialog box
11.3.2 Other types of dialog boxes
11.3.2.1 Simulation dialog box--Create a Window dialog box and a dialog box blocking the example
11.3.2.2 ShowModalDialog and showmodelessdialog--non-standard or Ecmascrip
11.3.3 status bar
11.4 Frame-the upper window object
11.4.1 Multi-frame applications
The relationship between the 11.4.2 framework
Naming the 11.4.3 framework
JavaScript in the 11.4.4 child frame
Application of 11.4.5 framework--Multi-page sign display
11.4.5.1 What is a page sign
11.4.5.2-Page implementation-Create a page that contains a page sign
11.5 Forms and Form objects
11.5.1 Form object and its example
11.5.2 Defining form elements
11.5.3 client form validation and examples
11.5.4 creating a common client-side form validation component
11.6 Other built-in objects
11.6.1 Navigator Object--a representative of the overall browser information
11.6.2 Screen Object--provides display resolution and number of available colors information
11.6.3 Location Object--represents the URL of the document displayed in the current window
11.6.4 History Object--an interesting object
11.7 Summary
12th. Document Object Model
12.1 What is DOM
12.1.1 to represent a document as a tree
Nodes of the 12.1.2 tree
Common properties and methods for 12.1.3 DOM objects
12.1.4 the relationship between HTML structures and DOM objects-manipulating HTML documents with JavaScript through the DOM
12.2 Dom and browser implementation
12.2.1 about Dom HTML API
12.2.2 levels and attributes of DOM
12.2.3 DOM Consistency
12.2.4 differences--the DOM dialect of the browser
12.3 A set of "boxes"--dom elements
12.3.1 nested "boxes"
12.3.2 Classification of "box" and "box" content
12.4 Creating and deleting nodes
12.4.1 constructs a new node
12.4.2 Planar expansion-created directly from document elements
12.4.3 Reclaim Space-Delete unused nodes
12.5 Accessing and manipulating DOM nodes
12.5.1 Open every box--traverse the node
12.5.2 understand the hierarchical relationship--father and brother
12.5.3 How to search for a specific node
12.5.4 Clone Node--an example of using CloneNode () to copy a table
12.5.5 Mobile node and its example
12.5.6 tips for adding new rows and sorting
12.6 Read and write data--add, modify, and delete attributes
12.7 Appearance and behavior
12.7.1 DOM Style properties
12.7.2 controlling the display and hiding of DOM elements
12.7.3 change color and size--a simple and interesting example
12.7.4 change Position-Create a text that rotates around the circle
12.7.5 editing Control and its example
12.7.6 changing patterns and their examples
12.7.7 Change Behavior
12.8 XML DOM
12.8.1 what is an XML DOM
12.8.2 How to use XML dom--An example of using XML to implement Multilevel association drop-down selection box
12.9 Summary
Chapter 13th Event Handling
13.1 What is an event
13.1.1 messages and event responses
13.1.2 Browser event-driven mechanism
13.2 Basic Event handling
13.2.1 Events and Event types
Binding of the 13.2.2 event
13.2.3 calling event handlers directly
13.2.4 The return value of the event handler function
13.2.5 event response with parameters and examples
13.2.6 "This" keyword
13.3 Standard Event Model
13.3.1 blistering and snapping--browser event propagation
Registration of the 13.3.2 event handler function
13.3.3 registering an object as an event handler
13.3.4 event modules and event types
13.3.5 about the event interface
13.3.5.1 properties and methods of the event interface
13.3.5.2 properties of the Uievent interface
13.3.5.3 properties of the MouseEvent interface
13.3.5.4 Mutationevent Interface
13.3.6 Mixed Event Model
13.3.7 Synthetic Events
13.4 Browser event-handling model implementation
13.4.1 Internet Explorer Event model
13.4.1.1 About IE Event Registration
13.4.1.2 properties of the IE event object
13.4.1.3 Event Foaming in IE
13.4.2 Netscape 4 Event model
Event capture and its examples in 13.4.2.1 Netscape 4
13.4.2.2 Netscape 4 Event Object Properties
13.5 callback with user-defined events
13.5.1 Event Handling Mode-an example of implementing a simple event-handling pattern
13.5.2 Definition of User event interface
13.5.3 event Proxy and event registration-an example of implementing a standard event interface
13.5.4 Standard mode-event dispatch and reception
13.6 An example-enhanced data table
13.6.1 What is an enhanced data table
13.6.21 Examples of fixed headers with two table nesting methods
13.6.3 the implementation of variable column widths
13.6.4 tag line-renders a background color different from other rows
13.6.5 Tips--adding code to a style sheet
13.7 Summary
14th Chapter Cascading Style Sheets
14.1 What is a cascading style sheet
14.1.1 CSS styles and style sheets
Standardization of 14.1.2 CSS
14.1.3 Browser-supported CSS
14.2 JavaScript and CSS
14.2.1 the relationship between CSS and Dom
14.2.2 the relationship between CSS and IE
CSS compatibility for 14.2.3 browsers
14.3 Control CSS Change page style
The separation and example of 14.3.1 realization structure and performance
14.3.2 uses Jwascript and CSS to implement real-time replacement of multiple styles of pages
14.4 Summary
15th. Scripting of data storage
15.1 What is a cookie
15.1.1 Browser and client cookies
15.1.2 Properties of Cookies
15.2 Client access to cookies
15.2.1 Storage of cookies
15.2.2 the reading of cookies
15.3 Limitations of cookies
15.4 Cookie Example-make greetings warmer
15.5 Encapsulation of Cookie objects
15.6 What is UserData
15.6.1 Browser and client UserData
15.6.2 UserData's statement
Properties and methods of 15.6.3 UserData
15.7 UserData Client Access
15.7.1 UserData Storage and Reading
Safety of 15.7.2 UserData
Limitations of 15.8 UserData
15.9 UserData vs. cookies
15.10 UserData Example--an example of using UserData to save form data for a client
15.11 Summary
Part IV Data interaction
16th. Synchronous and asynchronous
16.1 What is synchronous and asynchronous
16.2 Timeout setting and time interval
16.3 Timer Usage--Interception and interception
16.3.1 Standard mode-monitor and its example
16.3.2 issues to be aware of when using timers
16.4 An example--nice web clock
16.4.1 what is a Web clock?
16.4.2 the simplest web clock
Design of 16.4.3 Web clock
16.4.4 complete Web Clock source code
16.5 Summary
17th Chapter XML DOM and XML HTTP
17.1 What is an XML DOM object
17.1.1 XML Dom Introduction
17.1.2 Browser-supported XML DOM interface
17.1.2.1 XML DOM Standard interface
XML DOM component for 17.1.2.2 IE
17.1.2.3 manipulating XML Documents-an example of using MSXML to manipulate XML documents
17.2 version compatibility of XML DOM--xml Dom cross-browser application
17.3 error handling of XML Dom
17.3.1 ParseError object that handles error messages
17.3.2 documents that contain error messages
17.4 XML DOM manipulation XML document
17.4.1 Access Node
17.4.2 Creating a new node
17.4.3 moving and modifying nodes and their examples
17.4.4 read-write node properties and read-write data
17.4.5 Saving a document
17.5 An example--javascript game Reader (ii)
17.5.1 describing games with XML
17.5.2 convert XML game to SGF game
17.6 What is an XML HTTP object
17.6.1 An Introduction to XML HTTP objects
XML HTTP objects supported by the 17.6.2 browser
17.7 sending requests via XML HTTP
17.7.1 Establishing a connection
17.7.2 Sending requests
17.8 reading and setting HTTP headers
17.8.1 what is an HTTP header
17.8.2 reading and setting HTTP headers
17.9 Server Response
17.9.1 synchronous and asynchronous responses and their examples
17.9.2 contains responsetext and responsexml that answer text content
17.10 Summary
The 18th Chapter Ajax Introduction
Chapter 19th Standards and compatibility
20th Chapter Information Security
Part V beyond JavaScript
The 21st Chapter Object-oriented
22nd chapter closure and functional programming
23rd chapter Management of the module level
The 24th Chapter Dynamic Construction
25th. Efficiency of Implementation
25.1 Why to discuss the efficiency of execution
25.2 The cost of closing
25.3 The flow of fire in the box
25.4 News--The devil and the Angels
25.5 Let the code dance in the light
25.6 Summary
26th Chapter Application Framework
26.1 Overview of application frameworks
26.2 Why design an application framework
26.3 How to design an application framework
26.4 Practical application of the framework-widgets developed on the Silverna 2.0 framework
26.5 Existing application frameworks
26.6 Summary

: Network Disk Download

The return of JavaScript King PDF

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.