This page is no longer updated - please visit http://ghostwire.com Thank you!
 

« PHPObject »
An Opensource Alternative to Flash Remoting
Current Release
Readme
Notes
Journal
Archives

Journal
Saturday April 26, 2003

Doing the same things better

He came, he saw, and he cleansed...

Over the past few days, I have rewritten several parts of PHPObject, both in the actionscript and the php side. The result is a version I feel more comfortable with. Bugs are fixed. Code has been optimized. General improvements here and there.

There are too many changes for me to list, but the most important change I made was on messaging. The size of messages going to and from the server should now be smaller:
* list of methods available on the remote class is downloaded only once (object initialization) rather than with every request
* after initialization, names of methods to be invoked are not transmitted; the ids of the methods are transmitted instead
* 'data header' uses ordered array instead of named array
* unnecessary data such as gateway url will no longer be transmitted

Currently, the gateway will intelligently return only properties that have changed, making the response really small if no property has changed (for example, a call was made to save info to database). However, the gateway only checks one level. I am currently considering whether it is worthwhile to traverse deeper.

Posted by sunny at April 26, 2003 09:48 PM

 

Comments

 


Zones



Forums