| Blog Home | About | Entries By Date | Search |
|
Title
Coding Conventions for Actionscript 3.0 v1.1 - Actionscript代码规范
Entry
Note: this is not the official Adobe coding convention spec. In fact, it is our own version.
Download the file in PDF format:
Table of Contents
1 Introduction
1.1 Convention
1.2 Recommendation importance
1.3 Major differences with traditional code conventions
1.4 Major difference with Adobe conventions
2 Naming Conventions
2.1 General naming guidelines
2.2 Package names
2.3 Class names
2.4 Interface names
2.5 Variable/property names
2.6 Function names
2.7 Event names
2.8 Namespace names
3 File Format
3.1 File name
3.2 File content
4 Statements
4.1 Packages and imports
4.2 Declarations
4.3 Control Flows
4.4 Literals
4.5 White spaces
5 Documentation & Commenting
5.1 General rules
5.2 ASDoc
6 ActionScript Best Practices
6.1 General Programming
6.2 Logging
6.3 Testing with FlexUnit
6.4 Updating Flex SDK Regularly
Appendices
ASDoc tag reference
Keywords
Flex, Actionscript, Coding Conventions, RIAShanghai, RIA上海