Monday, May 12, 2008

So you wanna flex?

Flex, the ultra popular tool from Adobe that allows developers to create swfs (previously the exclusive domain of the designer folks) is here to stay but is not a back end database tool nor is it trying to replace ColdFusion. Flex is a IDE that provides developers with tools to create swfs or movies that are played by the equally ultra popular Flash player.

Flex is a GUI design tool, not a database tool.

Adobe has a real trifecta with ColdFusion, Flex and Flash player.

Finally, we have a development environment and language that allows developers, not designers, to create amazing Flash applications and front ends to their ColdFusion applications. Most CF developers will want the Flex Builder 3 IDE, which, like the traditional Flash IDE, compiles code into a SWF that must then be uploaded to your server. Flex allows programmers to use MXML and ActionScript to build code that compiles into swfs.

It should be noted that while the Flex IDE is well designed and it pretty easy to get started in, there is a pretty steep learning curve once you get going, especially with the ActionScript side of things. Find some good simple tutorials, blog spots or books and dig in.

Here is a list of Flex concepts

Flex Concepts

  • Flex applications are Flash applications.
  • Flex is a programmer-centric way to create Flash-based rich internet applications.
  • Flex applications are rendered using Flash Player 9 or later.
  • Like all Flash RIAs, Flex SWF files are processed by the client, rather than the server.
  • The Flex framework contains the predefined class libraries and application services necessary to create Flex applications.
  • Flex builder3 is a stand alone IDE (free to educational developers) and is also avail as a free SDK plugin for Eclipse
  • Flex applications are written using MXML and/or ActionScript.
  • MXML is an XML-based markup language that is primarily used to layout application display elements.
  • ActionScript is an ECMAScript-compliant object-oriented programming language that is primarily used for application logic.
  • MXML and ActionScript code are compiled into binary SWF files.

No comments: