Thursday May 01, 2003
Journal: What's next?
Phew! I am done with v1.4. I am doing last minute checks and packing the distribution. The actionscript files will now be packed into a .mxp (Macromedia Extension). So what's changed in v1.4? Lots! This is a version I am...
Posted by sunny at 11:35 PM ::: Permalink
::: Comments (0)
Friday May 02, 2003
Notes: Using utf8encode() method
The utf8encode method was added in v1.4 to allow switching off utf8 encoding by the gateway. You would normally not be using this method, since most of the time, you would want to receive utf8 encoded messages from the gateway...
Posted by sunny at 11:45 AM ::: Permalink
::: Comments (0)
Notes: Aborting a remote task
The abortExecute() method and onAbort event were added in v1.4. The abortExecute() method allows you to "cancel" the current remote task. However, note that it is not really a cancellation - the remote task already sent will still complete its...
Posted by sunny at 11:46 AM ::: Permalink
::: Comments (0)
Readme: Setting movieclips as PHPObjects
This feature is new in PHPObject v1.4. You can set a movieclip as a PHPObject, allowing its properties to be sent to the server during every connection, getting them manipulated (or stored in a database, for example), and then having...
Posted by sunny at 11:50 AM ::: Permalink
::: Comments (2)
Notes: Disallowing standalone players to access your gateway
A 'disallowStandalone' property was added to the PHPObject Gateway in v1.4. If this property is set to 'true' (default is 'false'), the gateway will check if the USER AGENT is "Shockwave Flash" whenever a request comes through. The USER AGENT...
Posted by sunny at 11:50 AM ::: Permalink
::: Comments (0)
Notes: Using alternative gateways
In most of the examples (distributed with zip and on this website), we use a defaultGatewayUrl throughout an application. There may be cases where you want to have more than one gateway url on your server. For example, you may,...
Posted by sunny at 11:53 AM ::: Permalink
::: Comments (0)
Notes: Switching off retrieval of properties from server
Sometimes, you may not want the server to return the properties of the remote object to Flash. This is especially true if you know you are not going to need the data. You might be using the remote object to...
Posted by sunny at 11:55 AM ::: Permalink
::: Comments (1)
Notes: Private methods and private classes
PHPObject v1.4 enforces the rule that private methods of remote object cannot be executed by Flash. Private methods are identified by their underscore "_" prefix in their names. Trying to execute a private method will return a "method not available"...
Posted by sunny at 12:00 PM ::: Permalink
::: Comments (0)
Notes: Tutorial: Using htmlMimeMail
It has been a while since I released PHPObject. The examples distributed with PHPObject are pretty simple. I haven't written any tutorial on the use of PHPObject with PHP classes (well, I had hoped one of you would). I did...
Posted by sunny at 12:12 PM ::: Permalink
::: Comments (4)
Saturday May 03, 2003
Journal: Minor change, critical fix
I have always worked on PHP4.1.1 (the version I have on the server), and therefore PHPObject is guaranteed to work on that version. And I couldn't test it on later versions (since I don't have them). So I rely on...
Posted by sunny at 11:12 AM ::: Permalink
::: Comments (3)
Wednesday May 07, 2003
Notes: Syntax difference
If you are already using flash remoting, you may like to note that the syntax in PHPObject is different. Consider the following: In flash remoting, a typical client-server communication may look like this...
Posted by sunny at 11:03 AM ::: Permalink
::: Comments (0)
Saturday May 10, 2003
Notes: Web services tested with PHPObject
This is a non-exhaustive list of the web services I have tested with PHPObject. You may find them useful. Please feel free to post any other useful web services you have tested...
Posted by sunny at 12:36 PM ::: Permalink
::: Comments (0)
Tuesday May 13, 2003
Notes: PHPObject does not use XML
This is a note to clarify on a possible misconception. Please note that the message transport that PHPObject uses is the string format used by PHP native functions 'serialize()' and 'unserialize()'. The XML/WDDX format is not used. This allows us...
Posted by sunny at 05:20 PM ::: Permalink
::: Comments (1)
Friday May 16, 2003
Journal: Lost in Safari
Safari is the new Apple browser, quickly becoming popular (because it's by Apple for Apple fans). Sadly though, some people missed out the BETA suffixed to the Safari name in the current releases. Being BETA, it's only fair that we...
Posted by sunny at 11:34 AM ::: Permalink
::: Comments (20)
Saturday May 17, 2003
Journal: Volunteers
It is really nice to see that users of PHPObject are helping each other out. Martin for example, posted a comment here that helped Jay get PHPObject working from his local machine. And Vin has posted a tutorial on actionscripts.org...
Posted by sunny at 09:34 PM ::: Permalink
::: Comments (2)
Sunday May 18, 2003
Notes: Note on licensing
Why is PHPObject licensed under the LGPL instead of GPL?
Posted by sunny at 02:03 PM ::: Permalink
::: Comments (1)
