WebORB for PHP 1.2 release
New point release (v.1.2) of WebORB for PHP became available earlier today. The release contains several important fixes listed below:
- Added support for platform independent path resolution. WebORB now uses DIRECTORY_SEPARATOR in the paths when loading user classes.
- Added support for user-driven Flex destination source. Flex applications can configure RemoteObject instances to use a special catch-all - GenericDestination. You can set the 'source' field in the client-side RemoteObject instance to contain PHP classname as shown below (thanks to Renaun Erickson for figuring out how to do this in the WebORB code):
remoteObject = new RemoteObject();
remoteObject.destination = "GenericDestination";
// YourPHPClassName.PHP must be deployed in the /Services folder
remoteObject.source = "YourPHPClassName";
remoteObject.helloWorld.addEventListener("result", helloWorldResult);
remoteObject.helloWorld(); - Added WebOrbServicesPath constant to simplify service class dependency resolution. Service classes can load other class using the following format:
require_once( WebOrbServicesPath . "foo/bar/MyClass.php");
// where foo/bar/MyClass.php is deployed into the /Services/foo/bar folder - Fixed complex type serialization bug preventing objects with non-public fields from being properly serialized to the client.







2 Comments:
Even after downloading the new release, hitting http://localhost/Weborb/ gives me WebORB 1.1.
Mike
8:19 AM
This is fixed now.
8:26 AM
Post a Comment
<< Home