300 likes | 576 Views
Flex 3 Introduction. Sumit Arora Flex Developer NetSolutionsIndia. Agenda. What is Flex ? Flex Programming Model Flex Framework Deep Dive Data Connectivity Skinning and User Experience API’s & Cool Stuff Tools Examples Queries. What is Flex ?.
E N D
Flex 3 Introduction Sumit Arora Flex Developer NetSolutionsIndia
Agenda • What is Flex ? • Flex Programming Model • Flex Framework Deep Dive • Data Connectivity • Skinning and User Experience • API’s & Cool Stuff • Tools • Examples • Queries
What is Flex ? • A highly productive, free open source framework for building expressive web applications that deploy consistently on all major browsers and on the desktop with Adobe AIR
What is Flex ? • A framework that helps you build dynamic, interactive rich Internet applications. • Flex applications are delivered on the web via the Flash Player or to the desktop via Adobe AIR. • Geared towards programmers, rather than designers. • Usage: • Rich Interactive Application. • Animation. • Desktop Applications etc.
Flex Programming Model Flex Framework MXML Actionscript 3.0
Flex Programming Model-MXML • An XML language. • Defines the user interface for an application. • Define non-visual aspects such as server-side data sources and bindings between the user interface and the server side. • Tags: data grids, buttons, combo boxes, trees, tab navigators, and menus, as well as non-visual components, Web service connections, data binding, and effects. • Compiled into a Shockwave file (SWF) and rendered by the Flash Player.
Flex Programming Model–AS3 • Provides control and object-manipulation features that are not available in strict MXML. • Robust programming model that is more familiar to developers with basic knowledge of OOP. • Flash CS3/4
Flex Framework Deep Dive • Visual Components
Flex Framework Deep Dive • Containers
Flex Framework Deep Dive • Navigators
Flex Framework Deep Dive • Charts • Professional • Axiss Charts
Flex Framework Deep Dive • Validators • View States • Effects • Filters • List Filters • Binders etc.
Flex Framework Deep Dive Component Explorer & Chart Explorer
Skinning • CSS Style • Global Settings • Class Splecific • Button { background-color:#ff0000; border-style:solid; border-thickness:2; text-align:center; text-decoration:underline; color:#00ff00; }
Skinning • <mx:ButtonstyleName="myButton" label="Skin Me"/> • myButton { background-color:#ff0000; border-style:solid; border-thickness:2; text-align:center; text-decoration:underline; color:#00ff00; }
Skinning Style Explorer
Data Connectivity • Http Request • Remoting AMF • Web Services • RTMP
Data Connectivity - HTTP • Basic Http Request • GET/POST • XML/ JSON/ Text • Simplest • Small Projects
Data Connectivity - Remoting • Actionscript Message Format • Binary Format • PHP -> Weborb, AmfPhp, ZendAMF • JAVA -> BlazeDS, GraniteDS • .Net -> FlourineFx, Weborb • Fast Data Transfer • Value Object Binding
Data Connectivity-Webservice • Import to Flex • Generates Classes • Generates Headers • Call the Method
Data Connectivity-RTMP • Real Time Messaging Protocol • Developed by Adobe • Open Specifications • Real Time Applications eg. Market Data , Tour De France etc. • Open Souce Alternative Red5 Java • Data, Streaming, Collboration etc.
API’s & Cool Stuff • Json • Augmented Reality • Multitouch etc.
Flex Tour Tour De Flex
Random Stuff • Open Source Components • Crousel • Coverflow etc. • Frameworks • Cairingrom • Mate • Robot Legs • Pure MVC etc.
Random Stuff • Adobe AIR • Adobe Integrated Runtime • Platform Independent