Welcome!

Java IoT Authors: Liz McMillan, Elizabeth White, Pat Romanski, Yeshim Deniz, Paul Simmons

Related Topics: Adobe Flex

Adobe Flex: Article

Flex 2 Unleashed: RIAs on the Macromedia Flash Platform

Ushering in a New Generation of RIAs

Macromedia, led by Kevin Lynch (pictured) as chief software architect, coined the phrase "Rich Internet Application" (RIA) a few years ago after seeing what developers and designers were building in Macromedia Flash.

It was clear that these applications extended the design limitations and interaction constraints of traditional HTML applications. They didn't require a full-page refresh when users interacted with them. They efficiently utilized network bandwidth, transmitting only the portion of the data that changed and transmitting layout information sparingly. They contained a rich array of interactions that allowed end users to directly manipulate the data with which they were interacting. They seamlessly layered audio and video into the application's user interface. They clearly maintained their context as the user navigated through the application. And, of course, they supported high-fidelity printing.

The impact of RIAs has been incredible, both in breadth and depth. We're seeing everyone from Internet hobbyists to large enterprises building RIAs - and seeing their business improve dramatically as a result. Large financial services institutions use RIAs to solidify their brand with customers and speed up internal business decision-making through better interaction with mission-critical data. Online retailers have reduced shopping cart abandonment by 50% during the checkout process. Individual developers have integrated slick online mapping services with webcams posted on New York City's traffic lights to give commuters the most up-to-date and useful traffic information.

As customers began to broaden their use of RIAs, developers quickly recognized some special needs. Some RIAs need to consume real-time data feeds. Others need to run in occasionally connected environments, intelligently synchronizing data when a connection is established. Others need to consume proprietary binary protocols. Still others require that multiple clients share a single instance of data.

Pushing the Envelope on RIA Development
Based on these observations, and our experience building Flex 1.0, we set out to deliver an RIA platform that addressed these needs and could be extended easily to meet the specific needs of a given application. We wanted to give application developers a client runtime, development environment, class libraries, and data services that help developers do the following:

  • Be extremely productive in RIA application development
  • Create expressive applications with effective interface patterns
  • Deploy applications through a well-distributed, high-performance, cross-platform, cross-browser runtime environment
  • Use tools and technologies that scale with the size of the project and complexity of the task
We are thrilled to introduce the Flex 2 product line as the best way to build a wide range of immersive applications, from simple restaurant menus to complex workflow systems and synchronized trader desktops.

If you're familiar with Flex 1.0, it's very important to recognize that Flex 2 is far more than just a new release. It represents a major milestone in the evolution of the Flex technology and a continued evolution in Macromedia development processes. From a technical standpoint, Flex 2 introduces capabilities that enable developers to build an entirely new class of Rich Internet Applications, ushering in a new generation of RIAs. At the same time, we're opening up Flex development to a much broader group of developers by re-introducing Flex Builder, which has been built from the ground up on the Eclipse open-source IDE framework and now includes Flex Framework and the compiler. That means that Flex applications can be deployed as a stand-alone option by placing a compiled SWF file on any web server or in conjunction with Flex Enterprise Services 2.

A New Foundation for Rich Internet Applications: Flash Player 8.5
Flash Player, the backbone of the Flash Platform, will also be evolving to provide the foundation for the Flex 2 product line and next-generation RIAs. Over the years the player, which began primarily as a client for playing animation, incrementally extended its scripting language (ActionScript) by adding support for portions of the ECMAScript standard (the same standard that drives the development of JavaScript). By the release of Flash Player 7, ActionScript implemented the vast majority of the ECMA standard. With Flash Player 8.5 (scheduled to ship with the Flex 2 product line), we will be introducing ActionScript 3.0, a powerful object-oriented programming language designed for productivity and performance and based on the next generation of the ECMAScript standard.

Flash Player 8, released in September of 2005, makes great advances in the rendering engine, introducing a set of extended expressiveness capabilities (filters, advanced gradient controls, rendering performance, and so forth), and video support enhancements (higher quality codec, alpha channel support, and so forth) that are unparalleled on the web today. Flash Player 8 also greatly improves the APIs that allow a developer to communicate between applications running in the player, the browser's HTML document object model, and associated JavaScript functions, making it easier for developers to add Flash components to their existing web applications.

Flash Player 8.5 builds on the advances in Flash Player 8 by focusing on improving script execution on the virtual machine. In fact, it includes a brand new, highly-optimized ActionScript Virtual Machine (AVM) known as AVM2. AVM2 is built from the ground up to work with the next generation of ActionScript 3.0 to support the needs of RIA developers. The new virtual machine is significantly faster, supports full runtime error reporting and industry-standard debugging. It includes binary socket support, allowing developers to extend the player to work with any binary protocol. Flash player 8.5 will also contain AVM1, which executes ActionScript 1.0 and 2.0 code, for backward-compatibility with existing and legacy content.

With ActionScript 3.0, we have achieved more than simple compliance with the ECMAScript standard; Macromedia now chairs the ECMAScript committee and helps drive its evolution. ActionScript 3.0 features a compilation mode for stronger compile-time type checking that provides the benefits of languages such as Java or C#. It supports new features to streamline data manipulation, including the E4X (ECMAScript for XML) standard, which extends the language and adds XML as a native data type allowing developers to more naturally interact with and manipulate XML. It adds regular expressions support for better text parsing and processing. It sheds some of the ad hoc event handling schemes in the old virtual machine in favor of a unified model based on the W3C DOM Events standard. And it has significantly updated APIs aimed at the application developer audience.

The Macromedia Flex 2 Product Line
The Flex product line gives application developers a powerful client runtime, programming model, development environment, and data services. It supports common design patterns, works with existing development and deployment technologies, and provides the benefits of a modern, standards-based language. The product line is comprised of the following distinct technologies:

  • Macromedia Flex Framework 2
  • Macromedia Flex Charting Components 2
  • Macromedia Flex Builder 2
  • Macromedia Flex Enterprise Services 2
Flex Framework 2
Flex Framework 2 builds on the foundation provided by Flash Player 8.5 and ActionScript 3.0. It adds a rich class library based on ActionScript 3.0 that embodies best practices for building successful RIAs. It also extends the programming paradigm by adding an XML-based language called MXML that provides a declarative way to manage the visual elements of your application. Flex is packaged with a set of developer utilities such as a command-line compiler and debugger that enable developers to code in their favorite editors and invoke the compiler or debugger directly.

Essentially, Flex Framework provides the skeleton of the application. Developers can describe an application's user interface from prebuilt components by either extending them or creating new ones from scratch. They can enable predefined interactions, such as draggable columns on a data grid, or hook into some well-defined events to define specialized behaviors. They can choreograph complex user interface transitions using a flexible effects infrastructure. They can describe the flow of data through the application's user interface. And they can define the look and feel of the application through a powerful skinning and styling infrastructure.

More Stories By David Wadhwani

David Wadhwani is the vice president of product development for Macromedia Flex. Prior to joining Macromedia in 2002 he was the founder and vice president of product development at iHarvest Corporation, where he led the development and deployment of a web-based knowledge management and collaboration system before selling it to Interwoven, Inc. He also spent approximately four years at Oracle in the early 1990s where he was part of the core team that conceived, designed, and implemented Oracle's first business analytics software package.

Comments (1) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
Alberto moray 10/31/05 08:01:22 AM EST

I've only just started looking at Flex but already I am moving my own goalposts: this is where the game is going to be from now on. Great work, Macromedia!

@ThingsExpo Stories
Michael Maximilien, better known as max or Dr. Max, is a computer scientist with IBM. At IBM Research Triangle Park, he was a principal engineer for the worldwide industry point-of-sale standard: JavaPOS. At IBM Research, some highlights include pioneering research on semantic Web services, mashups, and cloud computing, and platform-as-a-service. He joined the IBM Cloud Labs in 2014 and works closely with Pivotal Inc., to help make the Cloud Found the best PaaS.
As data explodes in quantity, importance and from new sources, the need for managing and protecting data residing across physical, virtual, and cloud environments grow with it. Managing data includes protecting it, indexing and classifying it for true, long-term management, compliance and E-Discovery. Commvault can ensure this with a single pane of glass solution – whether in a private cloud, a Service Provider delivered public cloud or a hybrid cloud environment – across the heterogeneous enter...
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...
"We view the cloud not as a specific technology but as a way of doing business and that way of doing business is transforming the way software, infrastructure and services are being delivered to business," explained Matthew Rosen, CEO and Director at Fusion, in this SYS-CON.tv interview at 18th Cloud Expo (http://www.CloudComputingExpo.com), held June 7-9 at the Javits Center in New York City, NY.
The Founder of NostaLab and a member of the Google Health Advisory Board, John is a unique combination of strategic thinker, marketer and entrepreneur. His career was built on the "science of advertising" combining strategy, creativity and marketing for industry-leading results. Combined with his ability to communicate complicated scientific concepts in a way that consumers and scientists alike can appreciate, John is a sought-after speaker for conferences on the forefront of healthcare science,...
WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, introduced two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a multip...
Data is the fuel that drives the machine learning algorithmic engines and ultimately provides the business value. In his session at Cloud Expo, Ed Featherston, a director and senior enterprise architect at Collaborative Consulting, discussed the key considerations around quality, volume, timeliness, and pedigree that must be dealt with in order to properly fuel that engine.
In his session at Cloud Expo, Alan Winters, U.S. Head of Business Development at MobiDev, presented a success story of an entrepreneur who has both suffered through and benefited from offshore development across multiple businesses: The smart choice, or how to select the right offshore development partner Warning signs, or how to minimize chances of making the wrong choice Collaboration, or how to establish the most effective work processes Budget control, or how to maximize project result...
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
DXWorldEXPO LLC announced today that ICC-USA, a computer systems integrator and server manufacturing company focused on developing products and product appliances, will exhibit at the 22nd International CloudEXPO | DXWorldEXPO. DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, in New York City. ICC is a computer systems integrator and server manufacturing company focused on developing products and product appliances to meet a wide range of ...
JETRO showcased Japan Digital Transformation Pavilion at SYS-CON's 21st International Cloud Expo® at the Santa Clara Convention Center in Santa Clara, CA. The Japan External Trade Organization (JETRO) is a non-profit organization that provides business support services to companies expanding to Japan. With the support of JETRO's dedicated staff, clients can incorporate their business; receive visa, immigration, and HR support; find dedicated office space; identify local government subsidies; get...
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
Explosive growth in connected devices. Enormous amounts of data for collection and analysis. Critical use of data for split-second decision making and actionable information. All three are factors in making the Internet of Things a reality. Yet, any one factor would have an IT organization pondering its infrastructure strategy. How should your organization enhance its IT framework to enable an Internet of Things implementation? In his session at @ThingsExpo, James Kirkland, Red Hat's Chief Archi...
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
Personalization has long been the holy grail of marketing. Simply stated, communicate the most relevant offer to the right person and you will increase sales. To achieve this, you must understand the individual. Consequently, digital marketers developed many ways to gather and leverage customer information to deliver targeted experiences. In his session at @ThingsExpo, Lou Casal, Founder and Principal Consultant at Practicala, discussed how the Internet of Things (IoT) has accelerated our abilit...
Organizations planning enterprise data center consolidation and modernization projects are faced with a challenging, costly reality. Requirements to deploy modern, cloud-native applications simultaneously with traditional client/server applications are almost impossible to achieve with hardware-centric enterprise infrastructure. Compute and network infrastructure are fast moving down a software-defined path, but storage has been a laggard. Until now.
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
The best way to leverage your CloudEXPO | DXWorldEXPO presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering CloudEXPO | DXWorldEXPO will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at CloudEXPO. Product announcements during our show provide your company with the most reach through our targeted audienc...
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22nd international CloudEXPO | first international DXWorldEXPO and will feature technical sessions from a rock star conference faculty and the leading industry players in the world.