Blog to discuss Midnight Coders products, features, ideas and trends in development of Rich Internet Applications

Thursday, September 28, 2006

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:
  1. Added support for platform independent path resolution. WebORB now uses DIRECTORY_SEPARATOR in the paths when loading user classes.

  2. 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();

  3. 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

  4. Fixed complex type serialization bug preventing objects with non-public fields from being properly serialized to the client.
The latest release can be downloaded from here, however if you have not tried WebORB for PHP, you should start with the Quick Start guide.

2 Comments:

Anonymous Mike Potter said...

Even after downloading the new release, hitting http://localhost/Weborb/ gives me WebORB 1.1.

Mike

8:19 AM

 
Blogger Mark Piller said...

This is fixed now.

8:26 AM

 

Post a Comment

<< Home