Adobe® Flex™

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

2 comments

Comments 1 - 2 of 2 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

1 Favorite

Adobe® Flex™ - Presentation Transcript

  1. Adobe ® Flex ™ an introduction Uday M. Shankar
  2. Why should I care about ‘another’ technology?
  3. Application Evolution Client/Server Mainframe Reach Local Global Rich Text UI Integrated media GUI
  4. Application Evolution Client/Server Mainframe Reach Local Global Rich Text UI Integrated media GUI 1992
  5. Application Evolution Client/Server Mainframe Web Applications Reach Local Global Rich Text UI Integrated media GUI 1992 1998
  6. Application Evolution Client/Server Mainframe Web Applications Reach Local Global Rich Text UI Integrated media GUI 1992 1998 2005+ Rich Internet Applications
  7. 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
  8. 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
  9. Adobe ® Flex ™
  10.  
  11. 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
  12. 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
  13. 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
  14. 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?
  15. How Flex works… MXML and ActionScript Flex Class Library
  16. 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
  17. 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
  18. 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
  19. 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
  20. Blah… Blah… Blah… Enough…. Now, Lets see some action…!!!
  21. 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
  22. Login Screen
    • Login Screen
    • Uses 3 states
      • Login Entry, Login Success, Login Fail
    • Example covers
      • States
      • Talking to PHP/MYSQL in XML
      • Transitions
  23. Flex + PHP + MYSQL
    • Uses AMFPHP
    • PHP queries data from MySQL
    • Demo Covers
      • Flex talks to PHP using AMFPHP
      • Using Datagrid
      • Bindable Data
      • Debugger Message
  24. Adobe ® AIR ™
  25. 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
  26. So, What???
  27. Why Adobe® AIR™?
  28. 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
  29. Questions?
  30. Acknowledgements
    • Ted Patrick
    • Mike Potter
    • Raghunath Rao
    • And many others…
    And of course, www.google.com
  31. Thank you… [email_address] udayms.wordpress.com | flexed.wordpress.com

+ Uday ShankarUday Shankar, 2 years ago

custom

4229 views, 1 favs, 13 embeds more stats

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 4229
    • 2110 on SlideShare
    • 2119 from embeds
  • Comments 2
  • Favorites 1
  • Downloads 340
Most viewed embeds
  • 2047 views on http://flexed.wordpress.com
  • 40 views on http://www.hciidc.in
  • 12 views on http://static.slideshare.net
  • 7 views on file://
  • 3 views on http://www.netvibes.com

more

All embeds
  • 2047 views on http://flexed.wordpress.com
  • 40 views on http://www.hciidc.in
  • 12 views on http://static.slideshare.net
  • 7 views on file://
  • 3 views on http://www.netvibes.com
  • 2 views on https://s3.amazonaws.com
  • 2 views on http://j2k.naver.com
  • 1 views on http://209.85.171.104
  • 1 views on http://64.233.179.104
  • 1 views on https://flexed.wordpress.com
  • 1 views on http://74.125.155.132
  • 1 views on http://74.125.39.132
  • 1 views on http://74.125.47.132

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories