1 / 15

Flash Remoting 101

Flash Remoting 101. Tom Muck. For latest version of sessions and example code, go to http://www.tom-muck.com/sessions. Introduction to Flash Remoting. What is Flash Remoting? How Does Flash Remoting Work? What is it Used For?. Technologies. Flash (client) Application server

Download Presentation

Flash Remoting 101

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Flash Remoting 101 Tom Muck For latest version of sessions and example code, go tohttp://www.tom-muck.com/sessions http://www.flash-remoting.com

  2. Introduction to Flash Remoting • What is Flash Remoting? • How Does Flash Remoting Work? • What is it Used For? http://www.flash-remoting.com

  3. Technologies • Flash (client) • Application server • Database server • File system • Email • XML • Web services http://www.flash-remoting.com

  4. Action Messaging Format (AMF) • Automatically handles all datatype conversions between ActionScript and server. • Can convert multiple complex datatypes. • Seamlessly supports multiple server-side technologies and application servers. • Allows remote services and web services to be called directly from Flash without requiring any additional server-side code to be written. http://www.flash-remoting.com

  5. Action Messaging Format (cont) • Provides a simple and consistent API for calling remote services and web services from the Flash Player. • Action Message Format (AMF) to serialize data offers better performance than string-based serialization techniques (such as XML), even though it is not as widely supported as XML. http://www.flash-remoting.com

  6. The Server-Side Languages • Macromedia ColdFusion MX (built in) • J2EE Application Servers and Java Servlet Engines (Tomcat, etc) • Macromedia • JRun 4 (built in) • Microsoft ASP.NET • PHP http://www.flash-remoting.com

  7. Benefits • Why not XML? (sample) • HTML and Server-side Code (sample) • TCP Trace demo http://www.flash-remoting.com

  8. Flash Remoting Requirements • Compatible application server • Macromedia Flash MX • Macromedia Flash Remoting Components • Flash Remoting Adapter on the application server http://www.flash-remoting.com

  9. The Authoring Environment • Flash Remoting Components located in Window > Other Panels > Common Libraries > Remoting • mx.remoting.* • mx.rpc.* • mx.services.Log • mx.remoting.debug.NetDebug http://www.flash-remoting.com

  10. Flash Remoting Windows and Menu Options • NetConnection Debugger • Service Browser • Help Menu http://www.flash-remoting.com

  11. Bottom Line: Typical Installations • http://www.flash-remoting.com/basics/options.cfm http://www.flash-remoting.com

  12. Hello World • Flash MX ActionScript Code • ColdFusion MX • demo http://www.flash-remoting.com

  13. The RecordSet Object • Structure of the RecordSet Object • Using the RecordSet Object • Flash Remoting Using a RecordSet • Server-side code CF C# JavaPHPSSAS • The Client-side ActionScript Code • Download .fla http://www.flash-remoting.com

  14. DataGlue • Allows simple binding of RecordSet data to UI components • import mx.remoting.DataGlue; • Using DataGlue • Download .fla http://www.flash-remoting.com

  15. Where to Get More Information • http://www.macromedia.com/go/flashremoting • http://www.flash-remoting.com/ • http://www.communitymx.com/ • http://www.macromedia.com/devnet/mx/flashremoting/ • Books • Flash Remoting: The Definitive Guide by Tom Muck • Complete Flash Remoting by Joey Lott http://www.flash-remoting.com

More Related