Closure Design Goals and Principles
2011-09-01 23:03
281 查看
Haven't in blog for a long time, in this days, I was in love with Closure, A javascript Library presented by GOOGLE.
Closure is a collection of tools for building rich web applications in JavaScript. It is important to understand the design goals and principles that motivate the implementation of the Closure Tools.
1、Reducing Compiled Code Size Is paramount
2、All Source Code Is Compiled Together
3、Managing Memory Matters
4、Make It Possible to Catch Errors at Compile Time
5、Code Must Work Without Compilation
6、Code Must Be Browser-Agnostic
7、Built-in Types Should Not Be Modified
8、Code Must Work Across Frames
9、Tools Should Be Independent
Closure is a collection of tools for building rich web applications in JavaScript. It is important to understand the design goals and principles that motivate the implementation of the Closure Tools.
1、Reducing Compiled Code Size Is paramount
2、All Source Code Is Compiled Together
3、Managing Memory Matters
4、Make It Possible to Catch Errors at Compile Time
5、Code Must Work Without Compilation
6、Code Must Be Browser-Agnostic
7、Built-in Types Should Not Be Modified
8、Code Must Work Across Frames
9、Tools Should Be Independent
相关文章推荐
- The Design of Sites: Patterns, Principles, and Processes for Crafting a Customer-Centered Web Experi
- Design Smells And OO Design Principles
- Dynamic Adaptive Streaming ove HTTP(DASH) Design Principles and Standards
- the design principles and code analysis of hibernate lazy loading
- Design Smells And OO Design Principles
- Object-Oriented Design Knowledge: Principles, Heuristics And Best Practices
- 《Concurrent Programming in Java: Design Principles and Patterns》Second Edition
- Design Principles and Design Patterns(设计原则与设计模式) -Robert C. Martin
- 说Hand-over-hand lock: 通读Concurrent Programming in Java: Design Principles and Patterns (1)
- 啃"创建线程"一章的疑难解析: 通读Concurrent Programming in Java: Design Principles and Patterns (2)
- Principles of Service Design: Service Patterns and Anti-Patterns
- Design Principles for Collection and Enumerator Interfaces
- The Design of Sites: Patterns, Principles, and Processes for Crafting a Customer-Centered Web Experience
- Concurrent Programming in Java(TM): Design Principles and Pattern
- The Essential Guide to User Interface Design: An Introduction to GUI Design Principles and Technique
- Bob Tarr: Some Object-Oriented Design Principles(1): Minimize The Accessibility of Classes and Members
- The Design of Sites: Patterns, Principles, and Processes for Crafting a Customer-Centered Web Experi
- 时间序列 R 读书笔记 04 Forecasting: principles and practice
- leetcode Add and Search Word - Data structure design