Review: A Look Under The Hood At Adobe Flex 2 - InformationWeek

InformationWeek is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Review: A Look Under The Hood At Adobe Flex 2

Adobe Systems' new Flex Builder 2 and Flex 2 framework provide powerful, serverless connectivity for any client-side, SOAP-based Web services connection, HTTPService, and RemoteObject methods, including Flash Player detection.

Adobe Systems' new Flex Builder 2 and Flex 2 framework provide powerful, serverless connectivity for any client-side, SOAP-based Web service connections, HTTPService and RemoteObject methods, including Flash Player detection.

Adobe released Flex Builder 2 and the Flex 2 framework, including the source code for Flex and new Flex components to integrate its ColdFusion product, on Wednesday. Flex 2 is now more SOA-friendly by breaking away from its server dependency, which was part of the first version.

Placing Flex Builder 2 on the Eclipse framework was done to attract more Java developers, yet the CRN Test Center doesn't see any advantages when developing user interfaces. When Macromedia started working on version 2--prior to being acquired by Adobe--it decided not to offer a customized IDE and instead to concentrate on the Flex framework. In principle, that decision made sense, since Flex is meant for corporate developers and not graphic artists.

But by going solely with Eclipse, Flex won't attract many .Net and Linux/C++ developers who think that Eclipse is gimmicky and aren't interested in working with Java IDEs at any level.

Although the Eclipse plug-in extensions provide a flexible foundation, Flex Builder 2 should have targeted multiple IDEs from the start. The group that develops Flash is highly skilled and easily could have abstracted the server from server-side managed platforms. Macromedia's solution was to provide a single SDK so that non-Eclipse developers could develop wrappers around its graphics and runtime features for their environments. But the library only targets Java developers, since Flex Builder 2 and its third-party core services work only with Java. Source code is now included.

For developers seeking an alternative to ActionScript to build Flex components or work with native Java interfaces, rather than the Flex SDK, the Test Center recommends an open-source project from Flagstone Software, which provides a native Java framework to run and generate Flash files.

All hope for non-Java developers isn't lost, however. Flex 2 comes with command-line tools that provide the same functionality built in Flex Builder 2. Still, debugging from the command line is time consuming and can turn off developers.

Besides its Java fixation, the Flex 2 framework provides the most agile and versatile Web UI development on the market. Flex 2 brings more components, more data grids, CSS-based skinning and the new ActionScript 3. Many enhancements were made to handle HTML and XML, and now developers can add a rich text editor.

With less than 10 lines of code, developers can add the new WebService component into a Flex application and connect to a Web service without binding to any server-side code. No other technology on the market, including DHTML and Ajax, provide such an elegant and robust Web client solution.

Moreover, MXML--the language on which the Flex 2 framework runs--takes such a minimalist approach to developing Web UIs that it beats Ruby and all other Java Web frameworks hands down. So it's worth your while to try rich Internet application programming with Flex 2. You'll think twice before using Java or any server-side scripting language to write Web UIs.

We welcome your comments on this topic on our social media channels, or [contact us directly] with questions about the site.
Comment  | 
Print  | 
More Insights
2020 State of DevOps Report
2020 State of DevOps Report
Download this report today to learn more about the key tools and technologies being utilized, and how organizations deal with the cultural and process changes that DevOps brings. The report also examines the barriers organizations face, as well as the rewards from DevOps including faster application delivery, higher quality products, and quicker recovery from errors in production.
The State of Chatbots: Pandemic Edition
Jessica Davis, Senior Editor, Enterprise Apps,  9/10/2020
Deloitte on Cloud, the Edge, and Enterprise Expectations
Joao-Pierre S. Ruth, Senior Writer,  9/14/2020
Data Science: How the Pandemic Has Affected 10 Popular Jobs
Cynthia Harvey, Freelance Journalist, InformationWeek,  9/9/2020
Register for InformationWeek Newsletters
Current Issue
IT Automation Transforms Network Management
In this special report we will examine the layers of automation and orchestration in IT operations, and how they can provide high availability and greater scale for modern applications and business demands.
White Papers
Twitter Feed
Sponsored Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.
Sponsored Video
Flash Poll