Flash Remoting

by
Format: Paperback
Pub. Date: 2003-09-01
Publisher(s): Oreilly & Associates Inc
List Price: $42.75

Rent Book

Select for Price
There was a problem. Please try again later.

Rent Digital

Rent Digital Options
Online:1825 Days access
Downloadable:Lifetime Access
$38.39
*To support the delivery of the digital material to you, a non-refundable digital delivery fee of $3.99 will be charged on each digital item.
$38.39*

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

Summary

This book provides comprehensive coverage of Flash Remoting, a programming model that enables Macromedia Flash MX to connect to remote web services. Flash Remoting MX: The Definitive Guide first takes a reader through the components of Flash Remoting and the API, and additional chapters focus on the interaction of Flash Remoting with ColdFusion, .NET, server side ActionScript (the programming language for Flash MX), and Java. Calling web services from Flash Remoting is also covered. The book concludes with a series of Appendixes on datatype conversions.

Author Biography

Tom Muck is coauthor of six Macromedia-related books including O'Reilly's Flash Remoting: The Definitive Guide, and the bestseller, Dreamweaver UltraDev 4: The Complete Reference. He is an extensibility expert focused on the integration of Macromedia products with ColdFusion, ASP, PHP, and other languages, applications, and technologies and is a founding member of Community MX (www.communitymx.com). When not in front of the computer, Tom works on his Hong Kong movie collection. Once an aspiring heavy-metal musician, Tom is now content in his old age to sit on the porch playing the blues on his harmonica and banging out Robert Johnson songs on his beat-up acoustic guitar.

Table of Contents

Preface xiii
Part I. Remoting Fundamentals
1. Introduction to Flash Remoting
3(36)
What Is Flash Remoting?
3(2)
How Does Flash Remoting Work?
5(5)
Benefits
10(5)
Flash Remoting Requirements
15(2)
Supported Platforms
17(2)
Hello World
19(13)
Workflow Example
32(1)
Architecture for Flash Remoting Applications
33(6)
2. Installing, Configuring, and Using Flash Remoting
39(40)
Installing Flash Remoting
39(12)
Naming Your Services
51(4)
The Authoring Environment
55(12)
Sequence of Events in Flash
67(2)
Making a Remote Call
69(10)
3. Client/Server Interaction, UI Components, and RecordSets
79(34)
User Interface Components
79(4)
Flash UI Components Set 2 and Flash Charting Controls
83(2)
Macromedia's DRK
85(2)
Text Objects
87(3)
Building Forms in Flash MX
90(2)
The RecordSet Class
92(13)
DataGlue
105(8)
4. Flash Remoting internals
113(48)
The NetConnection Class
114(1)
Using Netservices
114(6)
Creating Responder Functions
120(9)
RecordSet Object
129(13)
The Timeline
142(1)
Catching Errors
143(4)
Registering Objects
147(14)
Part II. The Server-Side Languages
5. Flash Remoting and ColdFusion MX
161(56)
Introduction to ColdFusion MX
161(1)
How ColdFusion Fits into Flash Applications
162(4)
Service Name Mappings
166(20)
ColdFusion Pages Versus ColdFusion Components
186(1)
Loading Query Data Incrementally
187(7)
ColdFusion Security: Authenticating Users
194(6)
Updating Data on the Server
200(17)
6. Server-Side ActionScript
217(32)
What Is Server-Side ActionScript?
217(2)
The CF Object
219(10)
When to Use Server-Side ActionScript
229(1)
Datatype Conversions
229(1)
Handling Errors with try/catch
230(3)
Extending Server-Side ActionScript with Java
233(16)
7. Flash Remoting and Java
249(44)
The Flash Remoting Gateway
249(1)
Supported Platforms
250(1)
Setting Up Flash Remoting for J2EE
250(2)
Service Types
252(5)
Datatype Conversions
257(9)
Service Lookup
266(3)
Invoking Service Methods
269(3)
Architecture and Design
272(4)
Referencing the Request and Session
276(3)
Saving and Sharing State
279(4)
Databinding
283(2)
Security
285(7)
OpenAMF
292(1)
8. Flash Remoting and .NET
293(31)
Overview of NET
293(1)
Connecting to NET
294(8)
Datatype Conversions
302(8)
Database Access with ADO.NET
310(8)
State Management
318(3)
Error Handling in Flash Remoting with NET
321(3)
9. Flash Remoting and PHP
324(19)
Introduction to PHP
324(2)
Installing AMFPHP
326(2)
Datatype Conversions
328(1)
Using AMFPHP with Web Services
329(1)
Using AMFPHP with PHP Classes
330(3)
Working with a Database
333(10)
Part III. Advanced Flash Remoting
10. Calling Web Services from Flash Remoting
343(30)
What Is a Web Service?
343(5)
Why Use Flash Remoting?
348(4)
Web Services from a ColdFusion Server
352(1)
Web Services from an ASP.NET Server
353(4)
Wrapping J2EE and JRun Web Services
357(2)
Web Services from PHP
359(1)
BabelFish Web Service
359(3)
Datatype Conversions
362(7)
Creating a Flash MX Web Service Extension
369(4)
11. Extending Objects and UI Controls
373(26)
Principles Behind UI Components
373(1)
DataProviderClass and DataGlue
374(4)
Enhancing a Standard Control
378(9)
Enhancing the RecordSet Class for Interactivity
387(9)
Adding Validation to a TextField
396(3)
12. Flash Remoting Best Practices
399(31)
Separation of Tasks
399(2)
Separation of Functionality
401(2)
Server-Proofing the Application
403(1)
Component Use
404(3)
Clean API
407(1)
Loops and Repeated Operations
408(3)
OOP or Not OOP
411(16)
ColdFusion RecordSets
427(1)
Implementing Caching
427(2)
What to Walk Away With
429(1)
13. Testing and Debugging
430(37)
Debugging Flash Remoting Applications
430(5)
Trapping Errors
435(2)
The Flash ActionScript Debugger
437(6)
NetConnection Debugger
443(6)
NetDebug.as
449(1)
Trace Debugging
450(2)
Testing Server-Side Code
452(8)
Using a TCP Trace Utility
460(4)
Debugging SQL Code
464(3)
14. Real-World Application
467(58)
General Considerations
467(1)
Requirements
468(1)
Specifications
468(2)
The Modules
470(30)
Flash Remoting Code
500(22)
Testing and Debugging
522(1)
Completed Application
523(1)
Future Expansion
523(2)
15. Flash Remoting API
525(50)
Part IV. Appendixes
A. ActionScript Datatype Conversion
575(7)
B. Books and Online Resources
582(7)
C. Specification and Implementation for a Real-World Application
589(4)
Index 593

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.