|
1
|
|
|
2
|
- Remoting: More than just a Name
- What is Flash Remoting?
- How Does Flash Remoting Work?
- What is it Used For?
|
|
3
|
- Flash (client)
- Application server
- Database server
- File system
- Email
- XML
- Web services
|
|
4
|
- 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.
|
|
5
|
- 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.
|
|
6
|
- Macromedia ColdFusion MX (built in)
- J2EE Application Servers and Java Servlet Engines (Tomcat, etc)
- Macromedia
- JRun 4 (built in)
- Microsoft ASP.NET
- PHP
|
|
7
|
- Why not XML? (sample)
- HTML and Server-side Code (sample)
|
|
8
|
- Compatible application server
- Macromedia Flash MX
- Macromedia Flash Remoting Components
- Macromedia Flash Remoting Adapter
|
|
9
|
- Flash Remoting Components
- NetServices class
- RecordSet class
- DataGlue class
- NetDebug class
|
|
10
|
- NetConnection Debugger
- Service Browser
- Help Menu
|
|
11
|
- http://www.flash-remoting.com/basics/options.cfm
|
|
12
|
- Flash MX ActionScript Code
- ColdFusion MX
- ServerSide ActionScript
- Java using JRun 4 or other J2EE Servers
- Microsoft .NET Server
- Web Service
- PHP
- Download .fla
|
|
13
|
- Structure of the RecordSet Object
- Using the RecordSet Object
- Flash Remoting Using a RecordSet
- Server-side code CF C# Java PHP SSAS
- The Client-side ActionScript Code
- Download .fla
|
|
14
|
- Allows simple binding of RecordSet data to UI components
- #include “DataGlue.as”
- Using DataGlue
- Download .fla
|
|
15
|
- Introducing AMF-PHP
- Installing AMF PHP
- Simple example
- http://www.amfphp.org
|
|
16
|
- http://www.macromedia.com/go/flashremoting
- http://www.flash-remoting.com/
- Books
- Complete Flash Remoting by Joey Lott
- Flash Remoting MX: The Definitive Guide by Tom Muck
|