Mar 31, 2007
SWX Alpha 0.1e release
What's new in Alpha 0.1e:
- Added manual PHON serializer.
- Modified echo sample application to use the manual PHON serializer.
- Renamed the automatic serializer AutoPhpSerializer. It's still there but you can choose whether you want to use it. I may remove this in future iterations.
- Modified the SWX gateway to handle null values. The auto serializer was sending them over as undefined.
This release introduces a slightly modified workflow for working with SWX. I don't believe that it is more complicated though (and may even be clearer.) I really liked how clever the auto serializer was but, as others have noted, and as I had mentioned previously myself, overriding the toString() method of core classes like Object, Array and String can lead to side-effects in some instances. I was using this as an easy stop-gap workflow but it appears that people got stuck on this point and couldn't see beyond it so I've introduced the manual serializer.
The main additional complexity is that now you have to manually prepare the data for the back-end using Prepare.forPhp(). You must do this every time the data changes, before using loadMovie().
Get SWX Alpha 0.1e from the download page.
