FLEX SDK Coding Conventions and Best Practices
ADOBE FLEX is now has become a standard for Rich Internet Application (RIA) development. FLEX has got a vast User groups and vast developer community.
For FLEX coding, we will use ActionScript3.0. Its better to know what are the best practices and Coding conventions to be followed while creating or developing any Web Application using FLEX.
ADOBE Opensource has provided us with some nice Coding Conventions and Best practices to be followed while creating any Flex Application or component. Following these conventions we can make our souce code look Professional, well-organized and consistent.
It talks about the conventions to be followed while:
- Naming
- Class Names
- Event Names
- Method Names
- Interface Names
- Property (Variable, Getter/Setter) Names etc.
- Language Usage
- Expressions
- Statements
- Declarations etc
- File Organization
- Package Statements
- import statements
- Class Initialization
- Class resource etc
- Formatting etc
- Indentaions
- Line Width
- ArrayIndexing etc
Check out Adobe OpenSource for complete article and i am sure it will be useful to all Flex Coders and Web Developers.