PHPObject

From FlashSec

Jump to: navigation, search
PHPObject
Developer GhostWire Studios
Release 1.52
OS All Plattforms (PHP)
Genre Server
License GNU LGPL
Type Open Source
Website PHPObject Home
Documentation
Wikipedia
OSFlash

PHPObject is an Open Source alternative to Flash Remoting for PHP developers. With PHPObject, it is possible to call a method of a PHP class/library on a 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, and thereby providing a way to connect rich media clients with data and business logic residing on the server.

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

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)
  • More than one remote method can be invoked sequentially per connection (rather than having to make a new connection for each method called)
  • Makes consuming SOAP-based web services easy
  • Protect your gateway from unauthorized use with a key
  • 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