• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Adobe® Flex™
 

Adobe® Flex™

on

  • 11,630 views

 

Statistics

Views

Total Views
11,630
Views on SlideShare
7,323
Embed Views
4,307

Actions

Likes
4
Downloads
661
Comments
3

24 Embeds 4,307

http://flexed.wordpress.com 4190
http://www.hciidc.in 40
http://static.slideshare.net 12
http://www.linkedin.com 11
http://www.slideshare.net 10
http://translate.googleusercontent.com 9
file:// 7
url_unknown 5
http://www.netvibes.com 3
http://webcache.googleusercontent.com 2
http://www.udayms.in 2
https://www.linkedin.com 2
https://s3.amazonaws.com 2
http://j2k.naver.com 2
http://flexed.wordpress.com.sixxs.org 1
http://a0.twimg.com 1
http://66.163.168.225 1
http://74.125.39.132 1
http://209.85.171.104 1
http://64.233.179.104 1
http://static.slidesharecdn.com 1
https://flexed.wordpress.com 1
http://74.125.155.132 1
http://74.125.47.132 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

13 of 3 previous next Post a comment

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • good summary for Adobe AIR
    Are you sure you want to
    Your message goes here
    Processing…
  • Very effective and summarized presentation. Thanks a lot.

    <b>[Comment posted from</b> http://flexed.wordpress.com/2008/03/11/adobe-flex-intro-ppt-posted/]
    Are you sure you want to
    Your message goes here
    Processing…
  • Really its very nice presentation about adobe flex.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Adobe® Flex™ Adobe® Flex™ Presentation Transcript

  • Adobe ® Flex ™ an introduction Uday M. Shankar
  • Why should I care about ‘another’ technology?
  • Application Evolution Client/Server Mainframe Reach Local Global Rich Text UI Integrated media GUI
  • Application Evolution Client/Server Mainframe Reach Local Global Rich Text UI Integrated media GUI 1992
  • Application Evolution Client/Server Mainframe Web Applications Reach Local Global Rich Text UI Integrated media GUI 1992 1998
  • Application Evolution Client/Server Mainframe Web Applications Reach Local Global Rich Text UI Integrated media GUI 1992 1998 2005+ Rich Internet Applications
  • RIA – Rich Internet Applications
    • A Rich Internet Application (RIA) is an application that runs in the traditional browser, but utilizes an intermediate layer that can bypass the traditional page refresh that has been a standard of most current Web applications.
    • Most common tools –
      • Asynchronous JavaScript and XML (AJAX)
      • OpenLaszlo (Flash Player + AJAX)
      • WPF (.net framework)
      • XUL (Mozilla compatible browser)
      • Flex or Flash using the Flash Player
  • Anatomy of a Rich Internet Application Data Visualization & Collaboration Real Time Data Push & Alerting Chat Offline Data Synchronization & Conflict Resolution Bi-Directional Audio & Video Rich Data Entry Menus & Navigation Controls Resizable Views/Effects/ Transitions Mapping, Geo-Coding, Annotations & White boarding
  • Adobe ® Flex ™
  •  
  • What is Flex?
    • Client-side, deployed as Flash .swf
    • Flex Framework
      • MXML (Macromedia XML)
        • Declarative language to define User Interface
        • Similar to XHTML
      • User Interface Components
        • Buttons, ComboBoxes, Layout Managers, Containers, Effects
      • Class Libraries
        • Everything in the mx.* packages
        • Validation Routines, Web Services, DataTypes
    Expressiveness Rich Media Performance Real Time Desktop and Offline Programming Model Enterprise Integration
  • Flex vs. Flash
    • Flex evolved from Flash
    • Flash was a complete animation tool
    • Flex is a development platform
    • Output of Flex is a compiled SWF file
    Library SWF Compiled object, No special server required, Runs on Flash Player, Cross Browser compatible Flex Compiler AS3 MXML Flash Authoring Flex Builder (and SDK) AS2 Flash Compiler CSS
  • Flex vs. AJAX
    • Cross browser compatible
    • Flash player runs in MAC, Windows, Linux, Solaris(!!!)
    • Compiled source
    • More matured, structured
    • Better documentation, online communities
    • Better charting capabilities
    • Better debugging capabilities
    • Better client access using AIR etc.
    • Really SEXY look-and-feel(!!!!)
    • It’s javascript + more
      • Asynchronous
      • Object model
      • Modularised
  • Where does Flex fit in?
    • As Presentation Layer
    • Any language on the backend.
    • SWF can be served by any HTTP webserver.
    • Can serve as UI for different applications.
    • Can be ‘the’ application too.
    • With AIR, can work as Desktop Clients.
    • Code once. Port to web/desktop.
    Any Language/Server PHP .net Java/JSP/Struts/J2EE Web Services 3 rd Party APIs Database -MYSQL -DB2 -Oracle -Sybase -MSSQL -Access?
  • How Flex works… MXML and ActionScript Flex Class Library
  • Flex for designers
    • MXML ~ HTML, Actionscript ~ Javascript
    • Flex Builder comes with a WYSIWYG designer
    • CSS support/Runtime skinning support
    • States Management
    • Layout/Navigation
      • Canvas, Form, VBox, HBox, ControlBar, Accordion, LinkBar, MenuBar, ViewStack
    • Controls
      • Button, CheckBox, ComboBox, DataGrid, TextInput, List, Label, Tree
    • Charts
      • BarChart, PieChart, LineChart
  • Flex for developers
    • Actionscript ~ Javascript + Java.
    • MXML ~ Actionscript
    • Familiar syntax
      • Similar to C++, Java, C#, JavaScript
    • Dynamic Language, Strong/Weak Typing
      • Variables can hold any type
      • Can bind variable to specific data type
    • Visibility Modifiers
      • Public - Accessible to anyone
      • Private - Only accessible inside the class (current .mxml or .as)
      • Protected - Accessible inside the class and subclasses
      • Internal - Only accessible to classes in the same package
        • Default value (when visibility is omitted)
    The new * datatype in AS 3
  • Flex for developers
    • Data Connectivity
      • HTTPService, RemoteObject, WebService, XML
    • Validation
      • EmailValidator, DateValidator, ZipCodeValidator
    • Effects
      • Zoom, Resize, Move, Fade
    • Data Binding
      • “ Glues” data from source to destination
        • When source data changes, destination auto-updates
      • Define with { and }
        • <mx:Button label=“{ userInput.text }” />
      • Use [Bindable] meta-data to mark properties as able to be bound
        • Explicit because performance implications
  • Introducing the Flex 3 Product Line Visual Layout Flex Builder 3 Code Hinting Debugging Skinning and Styling Flex SDK 3 (FREE) Command-line Compiler & Debugger Flex Data Services Message Service Data Management Service RPC Services MXML and ActionScript 3.0 Flex Framework and Class Library Flex Charting Extensible Charting Components Open Source
  • Blah… Blah… Blah… Enough…. Now, Lets see some action…!!!
  • Hello World
    • Basic 1
      • Very basic. Mxml Only
    • Basic 2
      • Mxml with inline Actionscript
    • Advanced
      • Get value from user
      • Uses a combination of MXML and Actionscript
      • How to use components
  • Login Screen
    • Login Screen
    • Uses 3 states
      • Login Entry, Login Success, Login Fail
    • Example covers
      • States
      • Talking to PHP/MYSQL in XML
      • Transitions
  • Flex + PHP + MYSQL
    • Uses AMFPHP
    • PHP queries data from MySQL
    • Demo Covers
      • Flex talks to PHP using AMFPHP
      • Using Datagrid
      • Bindable Data
      • Debugger Message
  • Adobe ® AIR ™
  • Silverlight, AJAX, XUL, Laslo
    • M$ $ilverlight (Deserves a special mention)
      • Exciting new platform with promises? - YES!!!!
      • Flash Killer? - NO!!!!
      • M$ Windows only and Vi$ual $tudio for IDE
      • Requires 50 / 200 MB .NET 3.x runtime
      • Steep learning curve
      • The rest of them all
      • Browser dependant
      • Platform dependant*
      • Standardization & Maturity - A loooooong way to go
    • Above all… Adobe has another key card – Adobe AIR.
    The way I see it… Sparkle (XAML) = Flex (MXML) Flash Player = Silverlight
    • Adobe Integrated Runtime ( AIR ) is a cross-platform runtime that allows you to leverage your existing web applications skills to build and deploy Rich Internet Applications (RIAs) to the desktop
    What’s AIR™? ” “
    • Adobe Integrated Runtime (AIR) is a cross-platform runtime that allows you to leverage your existing web applications skills to build and deploy Rich Internet Applications (RIAs) to the desktop
    What’s AIR™? ” “
    • Windows
    • Mac
    • Linux
    • Solaris (???)
    • Adobe Integrated Runtime (AIR) is a cross-platform runtime that allows you to leverage your existing web applications skills to build and deploy Rich Internet Applications (RIAs) to the desktop
    What’s AIR™? ” “
    • No GUI
    • Chromeless container
    • Runs in Background
    • Like JRE
    • Not a replacement for browser
    • Adobe Integrated Runtime (AIR) is a cross-platform runtime that allows you to leverage your existing web applications skills to build and deploy Rich Internet Applications (RIAs) to the desktop
    What’s AIR™? ” “
    • YOU
    • Architects
    • Developers
    • Designers
    • HCI Professionals
    • Adobe Integrated Runtime (AIR) is a cross-platform runtime that allows you to leverage your existing web applications skills to build and deploy Rich Internet Applications (RIAs) to the desktop
    What’s AIR™? ” “
    • Flex/Flash
    • HTML/CSS
    • Javascript/Ajax
    • PDFs
    • Adobe Integrated Runtime (AIR) is a cross-platform runtime that allows you to leverage your existing web applications skills to build and deploy Rich Internet Applications (RIAs) to the desktop
    What’s AIR™? ” “
    • .air Packages
    • Deploy to desktop with double click install
    • Distribute as standalone or packaged with runtime
    • Remember JWS?
    • Adobe Integrated Runtime (AIR) is a cross-platform runtime that allows you to leverage your existing web applications skills to build and deploy Rich Internet Applications (RIAs) to the desktop
    What’s AIR™? ” “
    • File I/O
    • Offline / Online
    • System Events
  • So, What???
  • Why Adobe® AIR™?
  • More on Adobe® AIR™
    • Flash runtime + WebKit + pdf renderer
      • No browser dependency
    • Rich set of API to work with File, Network, Local Database, window, menu, etc
    • Much more responsive than standard web application
    • Ability to go offline and then re-synch when back online
      • Local storage on disk
    • AIR applications can communicate with each other
    CF pages can run inside of an AIR application, but only within a frame in html
  • Questions?
  • Acknowledgements
    • Ted Patrick
    • Mike Potter
    • Raghunath Rao
    • And many others…
    And of course, www.google.com
  • Thank you… [email_address] udayms.wordpress.com | flexed.wordpress.com