Programming Flash Communication Server
By
Brian Lesser,
Giacomo Guilizzoni,
Robert Reinhardt,
Joey Lott,
Justin Watkins
February 2005
Pages: 854
| Table of Contents
| Index
| Sample Chapter
| Colophon
Table of Contents
-
FlashCom Foundation
-
Chapter 1 Introducing the Flash Communication Server
- Clients and Servers
- Creating an Application
- Real-Time Messaging Protocol
- The Communication Classes
- Communicating with Application Servers, Databases, and
Directory Servers
- Firewalls and Security
- Getting Started
- Hello Video!
- Conclusion
-
Chapter 2 Communication Components
- Overview of Communication Components
- Summary of Communication Components
- Creating an Application that Monitorsa Connection
- Building a Simple Chat Room
- Adding Audio and Video to the Chat Room
- Forgoing the SimpleConnect Component
- Conclusion
-
Chapter 3 Managing Connections
- Making a Connection
- Managing a Connection
- Reusing a NetConnection Object
- Multiple Simultaneous NetConnection Objects
- Testing and Debugging Network Connections
- Subclassing the NetConnection Class
- Communication Components Without SimpleConnect
- Conclusion
-
Chapter 4 Applications, Instances, and Server-Side ActionScript
- Scripting Application Instances
- Differences Between Flash ActionScript and Server-Side
ActionScript
- The Life of an Application Instance
- Running a Simple Hello World Test Script
- A More Realistic Example
- Instance-to-Instance Communications
- Script Filenames and Locations in Detail
- Testing and Debugging Server-SideScript Files
- Designing Communication Applications
- Conclusion
-
Audio, Video, and Data Streams
-
Chapter 5 Managing Streams
- A Simple Publisher/Subscriber Example
- Stream Names
- Publishing Streams in Detail
- Playing Streams in Detail
- The Stream Class
- Publishing and Playing ActionScript Data
- Creating Synchronized Presentations
- The NetStream and Stream Information Objects
- Stream Enhancements and Limitations
- Conclusion
-
Chapter 6 Microphone and Camera
- Working with Microphone/Audio Input
- Working with Camera Input
- Building a Message-Taking Application
- Building a Surveillance Application
- Conclusion
-
Chapter 7 Media Preparation and Delivery
- Audio and Video Compression
- Converting Prerecorded Materialto FLV Format
- Using Flash Pro's Media Components
- Enabling Multiple Bit Rate FLVsWithin an Application
- Streaming MP3 Audio
- Conclusion
-
Remote Connectivity and Communication
-
Chapter 8 Shared Objects
- Objects and Shared Objects
- Getting a Shared Object in Flash
- Updates and Frame Rates
- Scripting Shared Objects on the Server
- Temporary and Persistent Shared Objects
- Proxied Shared Objects
- Shared Objects and Custom Classes
- Avoiding Collisions
- Optimizing Shared Object Performance
- Broadcasting Remote Method Callswith send( )
- A Simple Video and Text Chat Application
- Conclusion
-
Chapter 9 Remote Methods
- Why Use Calls?
- The send( ) and call( ) Methods
- Client-to-Server Calls
- Server-to-Client Calls
- Server-to-Server Calls
- A Simple Lobby/Rooms Application
- Debugging Calls
- Advanced Topics
- Conclusion
-
Chapter 10 Server Management API
- Connecting to the Admin Service
- Using the Server Management API
- Server Management API Uses
- Conclusion
-
Chapter 11 Flash Remoting
- The Remoting Gateway
- Remoting Basics
- Role of Remoting in FlashCom Applications
- Securing Access
- Conclusion
-
Chapter 12 ColdFusion MX and FlashCom
- Understanding ColdFusion MXand Flash Remoting
- Using Flash Remoting to Log Events
- Getting a List of Streams
- Using ColdFusion and FTP to Mirror Streams
- Conclusion
-
Design and Deployment
-
Chapter 13 Building Communication Components
- Source Files
- People Lists
- A Simple People List
- Listenable Shared Objects
- Status and People List
- Text Chat
- Shared Text
- Video Conference and Video Window
- PeopleGrid
- Summary
- Conclusion
-
Chapter 14 Understanding the Macromedia Component Framework
- The Component Framework
- Under the Hood of the Chat Component
- Creating a Simple Component from Scratch:
SharedTextInput
- Creating a Container Component: SharedAddressForm
- Creating an Authenticating Component
- Integrating Components with Your Existing Applications
- Understanding the Framework
- Conclusion
-
Chapter 15 Application Design Patterns and Best Practices
- Shared Object Management
- Moving Code to the Server
- Building Façades on the Server
- Server-Side Client Queues
- A Framework for Recording and Playing Back Componentized
Applications
- Components and Component Frameworks
- Conclusion
-
Chapter 16 Building Scalable Applications
- Coordinating Instances
- Scalability and Load Balancing
- Conclusion
-
Chapter 17 Network Performance, Latency,and Concurrency
- Latency
- Bandwidth
- Concurrency
- Conclusion
-
Chapter 18 Securing Applications
- The Three A's: Authentication, Authorization, and
Accounting
- Authentication
- Authorization
- Accounting
- Suggestions and References
- Conclusion
Return to Programming Flash Communication Server