Adobe has provided two "explorer" tools to aid in UI development:
Component Explorer - shows all standard Flex components
Style Explorer - shows the effects of style changes on Flex components
5.25.2008
Coding Conventions
Adobe has published a document outlining coding conventions and best practices for Flex coding. The document is still a work in progress with several sections marked TBD.
Adobe Coding Conventions
A few comments:
Adobe Coding Conventions
A few comments:
- Most of the suggestions line up with common Java/C++ practices
- Some class naming conventions are suggested which seem like good ideas. Interface names start with "I", event handler names end with "Handler", validator names end with "Validator", etc.
- Adobe has chosen to diverge from the one true bracket style (see Stroustrup) and recommend aligning brackets on the left hand side. I'll have to take exception to this rule.
- There seems to be some uncertainty about whether private class members should be prefixed with "_" (evil) or left without a special prefix. Both examples are present in the doc.
Development Environment
A few things are needed for developing in Flex:
Flash Player
Flash Player downloads
The Flash Player is the runtime environment for Flex programs. Release and debug versions are available.
Flex Builder
Flex Builder downloads
The Flex Builder is an IDE that supports Flex development. It's not free but it does make development much easier. The Flex Builder comes in standalone form or as an Eclipse plugin. You probably want the plugin so you can use Eclipse for Java/HTML/etc development.
Flex SDK
Flex SDK downloads
Flex Source Code
Flex Documentation
The Flex SDK is available in two versions: the open source SDK is strictly open source, the Adobe free SDK contains the open source SDK along with some non-open source components including the Flash player, Adobe AIR and font encoding libraries. You probably want the Adobe SDK unless you have strict open source requirements.
It is also a good idea to check out the Flex source from the Subversion repository and to download the documentation bundle.
BlazeDS
BlazeDS Downloads
BlazeDS Documentation
BlazeDS is an open source project providing a framework for integrating Flex apps with back end systems using HTTP, SOAP or Flex remoting. You will need the binary distribution (a WAR file that can be deployed in Tomcat), the source code and the documentation.
Flash Player
Flash Player downloads
The Flash Player is the runtime environment for Flex programs. Release and debug versions are available.
Flex Builder
Flex Builder downloads
The Flex Builder is an IDE that supports Flex development. It's not free but it does make development much easier. The Flex Builder comes in standalone form or as an Eclipse plugin. You probably want the plugin so you can use Eclipse for Java/HTML/etc development.
Flex SDK
Flex SDK downloads
Flex Source Code
Flex Documentation
The Flex SDK is available in two versions: the open source SDK is strictly open source, the Adobe free SDK contains the open source SDK along with some non-open source components including the Flash player, Adobe AIR and font encoding libraries. You probably want the Adobe SDK unless you have strict open source requirements.
It is also a good idea to check out the Flex source from the Subversion repository and to download the documentation bundle.
BlazeDS
BlazeDS Downloads
BlazeDS Documentation
BlazeDS is an open source project providing a framework for integrating Flex apps with back end systems using HTTP, SOAP or Flex remoting. You will need the binary distribution (a WAR file that can be deployed in Tomcat), the source code and the documentation.
Subscribe to:
Posts (Atom)