An outline of the package/import mechanism of JS

Source: Internet
Author: User
Tags comparison table error handling log relative version
Js

The outline of the package/import mechanism of JS (the Survey Plan of the package/import mechanism for JS)

0
0.1 objects of study (object)
Package mechanism of 0.1.1 JS2 (for control only) (Js2/es4 package, for reference)
0.1.2 jspkg
0.1.3 Jsan
0.1.4 Ajile
0.1.5 jsolait
0.1.6 Qomo
0.1.7 JSVM2
0.1.8 Pies
0.2 review of content, methods and guidelines (criteria & method)
0.3 feature comparison table (Matrix of the Features)
0.4 subjective evaluation (subjective estimation)
0.4.1 simplicity, consistency, and integrity (simplicity, consistency and completeness)
0.4.2 learning curve (Study curve)
0.4. Overall balance in more than 3 aspects (Balance)

1  basic functionality   (basic Features)
1.1  How to use a package  (using a package)
1.1.1  Whether the global namespace pollution problem is resolved   (Issue of global namespace)
1.1.2  Circular import issue   (Issue of recusive import)
1.2   How to define a package  (defining a package)
1.2.1  require special programming practices   (Requirements of special pattern of sour CE code)
1.2.2  requires a special file organization   (Requirements of special organization of source files)
1.2.3  Do you want the profile   (requirments of Configuration)
1.3  target platform   (Host environment)
1.3.1  Browser environment: IE, Moz, opera et   (Browsers)
1.3.2  Browser Special environment: XML browsing, SVG browsing (ASV)   (Browsers--for XML)
1.3.3  Non-browser environments: Rhino, WScript, ASP, ActionScript 2  (others)
1.3.4  ES4 (JS2) Environment: JScript.NET, ActionScript 3   (ES4 platform)

2  Extended functionality   (Advanced Features)
2.1  localized aliases and Explicit (Js2 Explicit)   (local alias and Explicit)
2.2  Partial import (js2 include,exclude mechanism)   (Partial Import)
2.3  Package's version mechanism (JS2 mechanism)   ( Version)
2.4  import   (import *)
2.5  Export (JS2 export)   (export)
2.6  relative path support   ( Resolve relative Path)
2.7  probing encoding  (determine Character Encoding)
2.8  Syntax icing   (Syntax Sugar)
2.9  Other related features (such as JSVM Application|module)   (other Special)

3 Other (Miscellaneous)
3.1 Error handling (assert), Debug, and log (error handling, Debug and log)
3.2 Documents (documentation)
3.3 Concrete Implementation (Implementation)
3.3.1 needs infrastructure such as XMLHttpRequest, Eval, new Function (minimal reqirements)
3.3.2 must use synchronous invocation (Reqires Synchronized?)
3.3.3 preprocessing and conversion (Preprocess and transformation)
3.3.4 Performance (performance)
3.4 Unit Tests (units test)
3.5 Transplant Difficulty (portability & compatibility)
3.5.1 portability and compatibility for traditional scripts
3.5.2 compatibility with other import mechanisms
3.6 maturity, Community activism, license Agreement (maturity, activity of Community, License ...)



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.