• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content

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.

Like this presentation? Why not share!

WNYDNUG Flex and DotNet.ppt - PowerPoint Presentation

on

  • 1,395 views

 

Statistics

Views

Total Views
1,395
Views on SlideShare
1,395
Embed Views
0

Actions

Likes
0
Downloads
6
Comments
0

0 Embeds 0

No embeds

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
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    WNYDNUG Flex and DotNet.ppt - PowerPoint Presentation WNYDNUG Flex and DotNet.ppt - PowerPoint Presentation Presentation Transcript

    • Adobe Flex / Adobe AIR for Western NY Dot Net Users Group Peter Traeg February 18, 2009
    • It’s Not A Presentation Without A Message from Dilbert…
    • This evenings agenda
      • Quick Review
        • HelloWorld Application
        • Flex basics
      • Flex App
        • Cavalcade Slideshow app
      • WebORB
        • Remoting of .NET objects to the Flex/AIR world
      • Adobe AIR
        • What is it?
        • An example AIR application
      • Adobe Flash Player 10
        • What’s new in Flash Player 10
        • Roadmap for Flex support of Flash Player 10
    • Flex Development Concepts
      • UI developed in MXML (Multimedia XML)
      • Code is written in ActionScript 3
        • ActionScript is Javascript with strong typing, classes, and inheritance.
        • You can still do all the dynamic typing, prototype based inheritance like with Javascript if you want.
      • Flex SDK
        • Compiler to take MXML and Actionscript and compile it into a SWF
    • Flex Framework
      • Written entirely in ActionScript
      • Aimed at the application developer
      • The compiler takes MXML and compiles it into ActionScript code that leverages the Framework
    • What’s in the Flex Framework?
      • Form Controls – buttons, text boxes, lists, checkboxes, rich text editor, color selector, date selector, and more
      • Menu Controls – pop-up menus & menu bars
      • Media Components – images, audio, video
      • Layout Containers – grids, forms, boxes, canvas, panel, horz/vert dividers, etc.
    • Example Application
      • Hello world – ala Flex
      • Shows the elements of MXML
      • Simple ActionScript to display an Alert
        • Use of the import statement
        • Surrounding script code in a CData block for XML compatibility
    • Accessing Remote Resources
      • HTTPService – standard HTTP GET/POST – used for consuming REST based services
      • WebService – consume SOAP web services
      • Raw Sockets – for access that requires more than simple HTTP request/response techniques.
      • Flash Remoting
        • Automatic data serialization/deserialization
        • Binary messaging over HTTP provides smaller message size for fastest communication
        • Uses a server side “gateway” to receive requests and then delegate them to standard classes on the server.
      • File Upload/Download
    • Simple HTTP Services
      • Great for accessing REST based resources
      • Example application demonstrates invoking Flickr REST based API to retrieve a list of images in an account and displays them.
      • Note – no server side code/proxy is necessary for this to occur!
      • If the return value is XML you can process it easily with Flex’s E4X support.
    • Demo Time !!
      • Cavalcade
        • Slide Show using Flickr images
        • Leverages the REST based Flickr API
        • Shows how to use HTTPService to call Flickr
        • Shows how to use E4X to process the returned XML
        • Illustrates the use of effects
    • Flash Remoting
      • Still HTTP based but optimized for performance.
      • Data serialization/deserialization automatically preserves types.
      • Flash Remoting uses AMF (Actionscript Messaging Format).
        • AMF0 – Used with Flash8/Flex 1.x
        • AMF3 – Used with Flash9/Flex 2.x and later
    • Flash Remoting – Server Side
      • Flash Remoting needs a server side Gateway.
      • Live Cycle Data Services
        • Separate product from Adobe
        • BlazeDS – free version
        • Full version is $15k/CPU
        • Supports data subscriptions
    • Server Side Flash Remoting Alternatives
      • AMFPHP – for PHP
      • ZendAMF – Zend Framework AMF support
      • OpenAMF – for Java
      • WebORB – (.NET, PHP, Java, Ruby)
      • FluorineFX (.NET)
      • AMFNet (.NET)
    • WebORB
      • Flash Remoting for:
        • .NET
        • Java
        • PHP
        • Ruby on Rails
      • Free of charge
      • Commercial support available
      • http://www.themidnightcoders.com/weborb/
    • WebORB for .NET
      • Remoting of .NET objects
      • Real-Time messaging
        • Push technology notifies subscribers when a shared object on the server changes
      • WebORB Data Management Facility
        • ActiveRecord support for data access
    • Demo Time !!
      • WebORB
        • Object Remoting
        • Data Management (WDMF)
        • Real Time Messaging (RTMP)
    • FluorineFX for .NET
      • Remoting of .NET objects
      • Real-Time messaging
        • Push technology notifies subscribers when a shared object on the server changes
      • LGPL Licensed
    • Demo Time !!
      • FluorineFX
        • Object Remoting
        • Remoting of .NET Data Tables
    • Adobe AIR
      • Adobe Integrated Runtime
      • Write desktop apps in HTML, Javascript, and Flash/Flex
      • Provides local file system access
      • Desktop integration – drag/drop, system tray, start menu, windowless chrome, etc.
      • Local SQLite database
      • Try desktop.ebay.com
      • http://www.adobe.com/go/air
    • Flickr Floater
      • Sample AIR application from Adobe
      • Demonstrates:
        • Local file access
        • Drag/Drop support
        • Local SQL Database Interaction
        • Online / Offline app detection
        • Integration with online services
      • http://www.adobe.com/devnet/air/flex/articles/flickr_floater.html
    • Flash Player 10
      • Newly released on 10/14
      • Includes:
        • New 3D API
        • Advanced text layout – text flow, right to left, ligatures, etc.
        • Pixel Blender - Pluggable image filters/effects (just like Photoshop)
        • Enhanced drawing API
        • Improved performance via hardware acceleration
        • Enhanced sound APIs – provides application level audio mixing and filtering
    • Getting Started
      • Sites to visit
        • http://www.adobe.com/go/flex
        • http:// www.flex.org
        • http://www.adobe.com/devnet/flex
        • http://www.adobe.com/devnet/air
      • Books to read
        • Programming Flex 3 – O’Reilly
        • Essential Actionscript 3 – O’Reilly
      • Free video training
        • Flex in week - http://www.adobe.com/devnet/flex/videotraining/
    • Questions?
      • Slides will be posted to VDUNY
      • My contact info:
        • [email_address]