Quality User Interface Controls For Flash Application Development AspireUI Components
PHPObject - PHP Flash Remoting Alternative

PHPObject

 

Introduction

PHPObject is an opensource alternative to Flash Remoting for PHP developers. With PHPObject, you can call a method of a PHP class/library on your web server as if the class/library was defined in Flash itself. It takes care of your client-server connections and makes passing of variables (properties) between Flash MX and PHP easy, and thereby providing a convenient way to connect rich media clients with data and business logic residing on your server.

The library, together with a WebServicesConnectivityAddOn, also allows developers to consume Web services from within Flash MX easily.

PHPObject is released under the GNU LGPL License. This means you can use it for free, for personal and commercial projects.

Enjoy!

 

Features

* Handles most data types - arrays, objects, strings, numbers, etc. with multibyte character support
* When a PHPObject is created in Flash MX, it automatically gets its default properties from the remote object
* Validate whether method exists on the remote object before connection
* Allows only one server connection per object at a time to preserve data integrity (ie remote methods of the same object cannot be called simultaneously)
* [new in v1.1] More than one remote method can be invoked sequentially per connection (rather than having to make a new connection for each method called)
* [new in v1.2] Makes consuming SOAP-based web services easy
* [new in v1.3] Protect your gateway from unauthorized use with a key
* [new in v1.43] Allows parameters to be passed to the remote object's constructor
* Event handlers (responders) such as onAbort, onInit, onError, and onResult
* Responders can be defined for individual methods, eg. myFoo.doMethod_onResult = function(result){}
* Uses PHP's native serialize() and unserialize() functions for performance


Download

PHPObject v1.52
(Monday, October 3, 2005)

Note: although you can still use this library in AS1/AS2 projects, the library is no longer under active development.

We recommend that you consider using Zend-AMF from the Zend Framework (link).