5. 0 码力 |
6 页 |
244.12 KB
| 2 年前 3 # Google’s AngularJS Style Guide
## An AngularJS Style Guide for Closure Users at Google
This is the external version of a document that was primarily written for Google engineers. It describes a recommended recommended style for AngularJS apps that use Closure, as used internally at Google. Members of the broader AngularJS community should feel free to apply (or not apply) these recommendations, as relevant This document describes style for AngularJS apps in google3. This guide supplements and extends the Google JavaScript Style Guide.
Style Note: Examples on the AngularJS external webpage, and many external 0 码力 |
8 页 |
44.39 KB
| 2 年前 3 qconferences.com

# 基于AngularJS的企业应用前端架构
徐飞 新浪微博:@民工精髓V
## 企业应用前端的特点
• 独占模式
• 重业务,轻视觉
- 界面规整,模式单一
• 键盘操作
• 逻辑复杂
• 加载速度的侧重不同 • 服务端自定义标签的劣势
- 曾经有过什么浏览器端自定义标签机制
- html components(IE only)
- 现在有哪些方式在浏览器端自定义标签 – polymer, angularjs
## 业务逻辑层
- 在良好的分层机制下,前端可以独立出一层与界面元素无关的纯逻辑层
• 这一层是与业务相关的,比界面层稳定
• 业务逻辑层可以用单元测试来覆盖
- 甚至因为与DOM 0 码力 |
13 页 |
517.57 KB
| 2 年前 3 project.
## Backward Compatibility
We had AngularJS, Angular2 and now Angular4. AngularJS and Angular2 have vast difference. Project application developed in AngularJS cannot be converted to Angular2 because 0 码力 |
31 页 |
960.10 KB
| 2 年前 3 formats:
• Python format
• Python brace format
• PHP format
• C format
• Javascript format
• AngularJS interpolation string
Omitting format string from translation usually causes severe problems, so php], C printf format [https://en.wikipedia.org/wiki/Printf_format_string], AngularJS: API: $interpolate [https://docs.angularjs.org/api/ng/service/$interpolate]
## Missing plurals
Some plural forms are quality check.
ignore-end-stop
Skip the “Trailing stop” quality check.
ignore-angularjs-format
Skip the “AngularJS interpolation string” quality check.
## Note
Generally the rule is named ignore- 0 码力 |
215 页 |
996.63 KB
| 2 年前 3 ■ Python brace format
■ PHP format
■ C format
■ Perl format
■ Javascript format
■ AngularJS interpolation string
■ C# format
Java format
Java MessageFormat
■ Missing.plurals
■ Same_plurals ## AngularJS interpolation string
Named format string Your balance is {{amount}} {{ currency }}
Flag to enable angularjs-format
## See also
AngularJS: API: $interpolate [https://docs.angularjs.org quality check.
ignore-end-stop
Skip the “Trailing stop” quality check.
ignore-angularjs-format
Skip the “AngularJS interpolation string” quality check.
ignore-c-sharp-format
Skip the “C# format” 0 码力 |
398 页 |
1.65 MB
| 2 年前 3 ■ Python brace format
■ PHP format
■ C format
■ Perl format
■ Javascript format
■ AngularJS interpolation string
■ C# format
Java format
Java MessageFormat
■ Missing.plurals
■ Same_plurals ## AngularJS interpolation string
Named format string Your balance is {{amount}} {{ currency }}
Flag to enable angularjs-format
## See also
AngularJS: API: $ interpolate [https://docs.angularjs.or quality check.
ignore-end-stop
Skip the “Trailing stop” quality check.
ignore-angularjs-format
Skip the “AngularJS interpolation string” quality check.
ignore-c-sharp-format
Skip the “C# format” 0 码力 |
399 页 |
1.64 MB
| 2 年前 3 ■ Python brace format
■ PHP format
■ C format
■ Perl format
■ Javascript format
■ AngularJS interpolation string
■ C# format
Java format
Java MessageFormat
■ Missing.plurals
■ Same_plurals ## AngularJS interpolation string
Named format string Your balance is {{amount}} {{ currency }}
Flag to enable angularjs-format
## See also
AngularJS: API: $interpolate [https://docs.angularjs.org quality check.
ignore-end-stop
Skip the “Trailing stop” quality check.
ignore-angularjs-format
Skip the “AngularJS interpolation string” quality check.
ignore-c-sharp-format
Skip the “C# format” 0 码力 |
398 页 |
1.65 MB
| 2 年前 3 format
■ Python brace format
PHP format
C format
■ Perl format
■ Javascript format
■ AngularJS interpolation string
■ C# format
■ Java format
■ Java MessageFormat
■ Missing.plurals
## AngularJS interpolation string
Named format string Your balance is {{amount}} {{ currency }}
Flag to enable angularjs-format
## See also
AngularJS: API: $interpolate [https://docs.angularjs.org quality check.
ignore-end-stop
Skip the “Trailing stop” quality check.
ignore-angularjs-format
Skip the “AngularJS interpolation string” quality check.
ignore-c-sharp-format
Skip the “C# format” 0 码力 |
419 页 |
1.75 MB
| 2 年前 3 format
■ Python brace format
■ PHP format
■ C format
■ Perl format
■ Javascript format
■ AngularJS interpolation string
■ C# format
Java format
Java MessageFormat
■ Missing.plurals
■ Same_plurals
## AngularJS interpolation string
Named format string Your balance is {{amount}} {{ currency }}
Flag to enable angularjs-format
## See also
AngularJS: API: $interpolate [https://docs.angularjs.org quality check.
ignore-end-stop
Skip the “Trailing stop” quality check.
ignore-angularjs-format
Skip the “AngularJS interpolation string” quality check.
ignore-c-sharp-format
Skip the “C# format” 0 码力 |
403 页 |
1.75 MB
| 2 年前 3
|