Simple clear advice in plain English

Hands on: Get started with Flex Builder

Starting out with Adobe’s application platform

Adobe’s Flash player is attracting increasing interest as an application platform. This can be a web browser application or, with the advent of AIR (Adobe Integrated Runtime), it can be a desktop application.

Flash still shows its origins as a multimedia browser plug-in but the breakthrough for developers came when Adobe, then Macromedia, introduced MXML, an XML language that provides an alternative means of compiling to the Flash .SWF format.

Another significant advance was Actionscript 3.0, a form of JavaScript evolved to be more like Java or C in both capability and performance. MXML and Actionscript are the core of Flex, the overall term for Flash as a development platform.

There is a Flex SDK, which lets you create applications free using a command-line compiler, and a commercial visual development tool called Flex Builder.

Version 3.0 of Flex Builder is in public beta and set for full release in early 2008.
Flex competes with Java both in the browser and on the desktop, and with Microsoft’s new Silverlight for browser-based development.

So why would you choose Flex? Adobe has achieved wide distribution of its Flash player, ahead of Java on desktop and laptop computers, and well ahead of Microsoft. Second, Adobe has kept its runtime smaller than its competition. Finally, Flex is designer-friendly, thanks to its relationship with Flash. Flex is a natural choice for cross-platform applications with individual and graphically-rich user interfaces, and it is also good for business applications that do data visualisation.

There are also a few factors that count against it. Flex is relatively new, whereas Java and .NET are more mature. On the desktop, AIR applications have no access to native APIs or database drivers. There is a built-in database engine, the open-source SQLite, but interaction with any other database manager must be through web services. Flex Builder, the Flex IDE, is slower and less advanced t han Microsoft’s Visual Studio, though the forthcoming Thermo product looks impressive as a means of unifying design and development.

Taking web apps offline
Adobe’s AIR has a split personality. In one guise it is the runtime for compiled MXML and Actionscript, while in its other form it lets you take an existing web application and turn it into a desktop application with access to the file system. Adobe considers this the best way to create applications that work both online and offline.

By contrast, Google’s Gears add-on lets you run web applications offline using a web browser. Adobe’s Chief Software Architect Kevin Lynch explained this to me: “What we’ve found is that most applications on the web aren’t being used in the offline case, because the user interface around going offline and getting back to that application is awkward for most users. We think AIR is going to be an approach that will make more sense to people, because those applications are in the normal application area.”

That said, AIR is most interesting as a runtime for SWF, rather than for HTML. These applications also perform better, since they use just-in-time compiled Actionscript 3.0, rather than the Javascript interpreter in the Webkit component that gives AIR its HTML capabilities.

Reader Comments

   

Add your comment

All fields must be completed. Your email address will not be displayed or used to send marketing messages.

All messages will be checked by moderators before appearing on the site.

See our Privacy Policy for more information.

Related articles

Security shield illustration

How to use the Command Prompt

Lurking under Windows is the little-known world of the command line. We explain how to use this to fix faults and make your PC much more secure

Google illustration

Make the most of a Google search

A Google search can be easy, but did you know that you can refine that search? A little thought can improve the chances of finding exactly what you're after

Create a shortcut to switch between power schemes illustration

Switch between several power schemes with a click of the mouse

Do you want to save battery or mains power? Find out how to switch between power management settings with a nothing more complicated than a double-click

Question & Answer

Q.Why can't my browser find the website address I typed...

> Read the answer

Q.All updates have been downloaded, so why won't Windows...

> Read the answer

Q.How do I stop Windows 7 search?

> Read the answer

Best deals on the web

img

Apple MacBook Pro (MC724LL/A)

£999.99- Buy it now

img

Sony Vaio VPCF23P1E/B

£679.98- Buy it now

img

Samsung 300E5A-A01DX

£449.99- Buy it now

Great benefits for subscribers!

Poll

Which is your preferred web browser

Jargon Buster

Computing terms explained in plain English

VoIP

Voice over IP. The routing of voice conversations over the internet, which is cheaper than the telephone...

Great shopping deals from Computeractive