JavaScript Framework Design Masaki Authoring

Source: Internet
Author: User

1th Chapter Seed Module
1.1 Namespaces
1.2 Object Extensions
1.3 Array
1.4 Types of Judgments
1.5 mechanism introduced by mainstream framework--domready
1.6 Conflict-Free handling


2nd Chapter Module Loading system
2.1 AMD Specifications
Discovery of the path where the 2.2 loader is located
2.3 Require method
2.4 Define Method


3rd Chapter Language Module
3.1 Extension and repair of strings
3.2 Expansion and repair of arrays
3.3 Extension and repair of numerical values
3.4 Extension and repair of functions
3.5 extension and repair of dates


The 4th chapter browser sniffing and feature detection
4.1 Decision Browser
4.2 Support detection for events
4.3-style support detection
4.4 The meaning of some common features of jquery


5th class factory
5.1 JavaScript support for classes
5.2 Implementation of various types of factories
5.2.1 Quite ingenious library--p.js
5.2.2 JS. Class
5.2.3 Simple-inheritance
5.2.4 embodies JavaScript flexibility in the library--def.js
5.3 The impact of ES5 attribute descriptor on OO Library


6th Chapter Selector Engine
6.1 Browser built-in methods for searching for elements
6.2 Getelementsbyselector
6.3 The knowledge points involved in the selector engine
6.4 Common functions involved in the selector engine
6.4.1 Isxml
6.4.2 contains
6.4.3-node sorting and de-weight
6.4.4 Cutting Machine
6.4.5 the matching policy of the property selector for whitespace characters
Decomposition and matching of pseudo-class for filtering 6.4.6 sub-elements
6.5 Sizzle Engine


7th Chapter Node Module
7.1 Creation of a node
7.2 Insertion of a node
Replication of 7.3 nodes
7.4-node removal
Treatment of 7.5 InnerHTML, innertext and outerHTML
7.6 Some wonderful elements of the node
7.6.1 IFRAME Element
7.6.2 object Element
7.6.3 Video Tag


8th Data Cache System
8.1 jquery's 1th Generation cache system
8.2 jquery's 2nd generation cache system
The 1th generation data cache system of the 8.3 mass framework
The 2nd generation data cache system of the 8.4 mass framework
The 3rd generation Data 8.5 mass framework
Storage System
8.6 Summary


9th Chapter Style Module
9.1 Body Structure
9.2 Correction of Style names
Special handling of 9.3 different styles
9.3.1 Opacity
9.3.2 User-select
9.3.3 Background-position
9.3.4 Z-index
9.3.5 Box Model
Dimensions of the 9.3.6 element
The explicit concealment of 9.3.7 elements
9.3.8 the coordinates of the element
9.4 The coordinates of the scrollbar of the element


10th Chapter Attribute Module
10.1 How to differentiate between intrinsic and custom properties
10.2 How to determine if the browser distinguishes between intrinsic and custom properties
Three evolution of the attribute system of 10.3 ie
Operation of 10.4 classname
10.5 Prototype.js's property system
10.6 JQuery's property system
10.7 Mass Framework's property system
10.8 The operation of value


11th Chapter Event System
11.1 onxxx The limitation of the binding method
Defects of 11.2 attachevent
Defects of 11.3 AddEventListener
11.4 Dean Edward's Addevent.js source code analysis
11.5 jquery1.8.2 's Event module overview
The source interpretation of 11.6 jQuery.event.add
The source interpretation of 11.7 jQuery.event.remove
The source interpretation of 11.8 jQuery.event.dispatch
The source interpretation of 11.9 JQuery.event.trigger
11.10 jquery's Fix to event object
11.11 Repair of Roller events
11.12 MouseEnter and the restoration of MouseLeave events
11.13 Focusin and the restoration of focusout events
11.14 implementation of the event proxy under the old version ie submit
11.15 Compatibility handling of Oninput events


The 12th Chapter asynchronous processing
12.1 SetTimeout and SetInterval
12.2 MochiKit Deferred
12.3 jsdeferred
12.3.1 Get a deferred instance
Realization of 12.3.2 deferred chain
12.3.3 jsdeferred and return results
12.3.4 jsdeferred Performance Speed-up
12.4 JQuery Deferred
12.5 promise/a and Mmdeferred
The foreground of 12.6 javascript asynchronous processing


13th Chapter Data Interaction Module
13.1 Ajax Overview
13.2 Elegant access to XMLHttpRequest objects
13.3 Event binding and state maintenance for XMLHttpRequest objects
13.4 Sending requests and data
13.5 Receiving data
13.6 Uploading files
13.7 A complete AJAX implementation


14th Chapter Animation Engine
14.1 The principle of animation
14.2 Easing formula
Design of the 14.3 API
14.4 Mass Framework JavaScript-based animation engine
14.5 Requestanimationframe
14.6 CSS3 Transition
14.7 CSS3 Animation
14.8 mass framework CSS-based animation engine


The 15th chapter of the plug-in
15.1 The general wording of the plugin for jquery
15.2 JQuery UI operations on internal classes
15.3 JQuery Easy UI for smart loading and individualized development
15.4 working with UI instances more directly


16th MVVM
16.1 Current mainstream MVVM framework Introduction
16.2 Monitoring of property changes
16.3 ViewModel
16.4 Binding
16.5 monitoring arrays and sub-templates

JavaScript Framework Design Masaki Authoring

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.