The Adobe Flex Framework Monica Macoveiciuc and Constantin Stan Faculty of Computer Science, Alexandru Ioan Cuza University, Iaş i October, 2009
The Adobe Flex Framework The Flex framework provides the declarative language, application services, components, and data connectivity developers need to rapidly build rich Internet applications (RIAs) for the browser or desktop. Flex 3 is a powerful framework that provides enterprise-level components for the Flash Player platform in a markup language format recognizable to anyone with HTML or XML development experience. The Flex Framework provides components for visual layout, visual effects, data grids, server communication, charts, and much more. Functionality
The Adobe Flex Framework MXML is the language developers use to define the layout, appearance, and behaviors of a Flex application. ActionScript 3 , an o bject- o riented language based on industry-standard ECMAScript , is the language that defines the client-side application logic. Flex includes a prebuilt class library and application services that help developers assemble and build RIAs . These services include data binding, drag-and-drop management, the display system that manages the interface layout, the style system that manages the look and feel of interface components, and the effects and animation system that manages motion and transitions. The component library provides all of the user interface controls that developers need, from simple buttons, checkboxes, and radio buttons to complex data grids, combo boxes, and rich text editors. Functionality
The Adobe Flex Framework The Adobe AIR runtime extends web applications to the desktop , creating new opportunities for more engaging, higher performing online/offline applications. The Flex framework provides native support for the new AIR APIs, and Flex Builder 3 provides all the tools necessary to build, debug, package, and sign applications built on Adobe AIR. Greatly reduce the size of your Flex application SWF files . In addition to bytecode optimizations in the Adobe Flex 3 compiler, a new persistent framework caching feature in Adobe Flash Player software allows the Flex framework to be cached the first time any Flex application is used . Flex Remoting and Messaging are both now available to all developers through the open source BlazeDS project. Developers can now start using these powerful Java server integration features . Functionality
The Adobe Flex Framework Design patterns can help us design a good Flex Application. It's considered good practice to divide our application into three parts : The Model , the View , and the Controller . Bellow are three main Flex architecture frameworks alternatives: 1. No third party framework 2. Cairngorm 3. PureMVC Architecture
The Adobe Flex Framework 1. No third party framework Architecture
The Adobe Flex Framework 2. Cairngorm Architecture
The Adobe Flex Framework 3. PureMVC Architecture
The response format of the API can be modeled as needed or desired for the fact that if a web service is desired this has to be created. Creating an web service will violate the Terms and conditions that Spotify states. The response format can be in JSON, XML or any other format. We planed to build an web service and our response format would have been JSON . Unfortunately we'll use in our mash-up the YouTube API and/or the Upcoming API.
Last.fm is a music service that lets you discover new music you like, based on the music you already listen to. The Last.fm API allows anyone to build their own programs using Last.fm data, whether they're on the web, the desktop or mobile devices. The API documentation can be found at http://www.last.fm/api/intro The requests can be REST requests or XML-RPC request. The sent p arameters must be UTF-8 encoded. The response format of the API is XML.