
Today Aral Balkan released SWX 1.0 for PHP, his answer to Flash Remoting. I have been waiting patiently for this release, as I am currently in the midst of building out two larger-scale projects with remoting and feel much better about using a 1.0 (read: non-beta) tool. Overall, SWX has been a joy to use. Aral has certainly accomplished his main task: simplify the whole remoting process from setup to development to deployment. Setup is as easy as copying the directory to your server, and development is much more kind since he re-wrote the AMFPHP service browser and debugger in Flex, while adding a few features to make it generally more usable. Using the services in your AS2 projects also couldn't be more simple. And to top it all off it is completely open source (is anything Aral does not open source?).
I was initially concerned about performance under heavy loads, but Aral was quick to give a test case and show that even with 250 concurrent hits to the gateway, it should still perform. It would take an extremely busy site to get 250 concurrent hits to the gateway (note that the gateway only gets hit when there is a service call).
My only recommendation at this point is to release a ZIP of only the files you need to deploy to the server. While I don't mind having all the graphics for the project and Flex source for the service browser and debugger, I don't want to upload those files to my server and digging through all the folders to figure out what is needed can be a drag.
If you haven't already, I highly suggest you give SWX a go. You can even use the public services that Aral has posted -- so you don't even need your own gateway setup to get started. Oh, I should also note that because the SWF file that SWX produces is Flash Lite 2.0 and 2.1. compatible, it can be viewed on a good number mobile devices.
Want to learn more? See Aral speak at one of several conferences in the next few months.
A huge thanks to Aral for the hard work!
I'll be sure to post links to the projects as soon as they are completed, along with additional thoughts and tips on working with SWX.










