Archive for Remoting
I have just pushed SWX v2 beta live on the project's Google Code page!
Along with this release the public gateway has also been updated to use SWX PHP v2 beta and allow for AS3 support. You can find documentation here, which shows how to use the new AS3 API as well as provides an introduction to the new Simple Call and Custom Call methods of interacting with your SWX gateway.
Lastly, Folkert Hielema has contributed an updated Twitter service and a new Identi.ca service. Both of these services are live on the public gateway (you can test them in the Service Explorer) and also available in the SWX PHP download available on the Google Code page under "Featured Downloads".
I will continue to work on updating the SWX blog with new documentation, but until then please refer to this documentation - it should provide you with everything you need to get started with v2.
If you notice any issues, please log them here. For support or to discuss the new release, please use the project's mailing list.
This release has been a huge effort by the SWX development team, and has been in the works since September. I'm sure you'll enjoy using it as much as we've enjoyed coding it.
Can't wait to see what you build!
If you have been using the FP 10 RC and came across a site or widget using SWX, you undoubtedly noticed that it wasn't working. After a couple of days of back-and-forth on the SWX mailing list, the issue has been found and a solution posted.
[Update September 5, 2008 - a different fix was suggested in an attempt to allow SWX to continue to be used by hitting the gateway directly, allowing for easier debugging. Code below reflects this update.]
The problem is that FP 10 does not like one of the headers returned from SWX. To fix the issue, open SwxAssembler.php and change line 538 from:
header('Content-Disposition: attachment; filename="data.swf"');
header('Content-Disposition: inline; filename="data.swf"');
This seems to fix the issue, as all SWX sites this has been tested on now work in FP 10.
Thanks to FabrÃcio for finding the proper solution, and to Folkert Hielema and Ben Lagoutte for helping test broken sites and debug the issue.
Life just got a lot more interesting for those who make a living working with Flash:
As a part of the announcement, Adobe is publishing exactly how the SWF format works without restrictions, and removing all other barriers to getting Flash on the widest range of devices. Set top/cable boxes, all mobile phones, televisions, your appliances... anything technical, really. Even those devices without a screen and/or user interface. Bill Perry does a great job of going into more detail on the implications for devices on his blog.
Ryan Stewart has a great post explaining all the implications of this announcement, for devices and desktop computers alike. He goes into more detail on the several parts of the announcement, so it is worth the read.
As someone who makes their living from the Flash ecosystem, you should care greatly about this announcement. It may not seem like it to a non-developer, but this is huge for anyone who knows how to use Flash. The thought of having Flash everywhere is finally a reality for those who want to include it in their products as a user interface layer, or even to allow developers to control the product using ActionScript. And this means that your capabilities to design, develop, and then deploy your Flash experiences just became more marketable and useful.
Lastly, as a member of the Flash community, you should also be excited about the implications this has on open source projects such as SWX, AMFPHP, and the like. The more open the specifications surrounding the various parts of the Flash ecosystem, the easier it is for members of the community to create tools and open source projects which contribute to the growth and prominence of said ecosystem... and make all of our lives as participants in that ecosystem that much more interesting and fun.
We knew this was coming for some time now and today Adobe finally released the 9.0.124 Flash Player which includes security updates that have an effect on any sites you may have built using AMFPHP, SWX, or any other Flash remoting services.
At issue is the crossdomain.xml file -- you'll need to add or update the file to ensure your services continue to function properly. Wade Arnold, a contributor to AMFPHP (which is also included with and used in SWX) has a great write-up on how to fix AMFPHP/SWX including a sample you can download and edit for your domain on his blog.
More details about the player, and the newly revamped Flash Player Download Center, can be found on Justin Everett-Church's blog posting about Flash Player 9.0.124. Adobe Developer Center has a helpful write-up about the exact changes made. Lastly, John Dowdell has an informative post with lots of helpful links.
Adobe has done a great job with communicating to the community that this change would be coming, and has provided a lot of resources to ensure sites were not affected. Today's information push is just another example of the great communication. Kudos, Flash Player team!
I have just posted a small collection of AS2 and PHP classes I have written/modified while working on various projects over the years. I intend to continue to add code as I have the time, so the list should be ever-changing.
For the initial push I posted: SmoothImageLoader (AS2), RegExp (AS2), Tooltip (AS2), BadFilter (AS2), ConstantContact (PHP), and SubmitVerisignPayment (PHP). For more details on these classes, please visit:
Next entries »
Aral Balkan has just announced swxformat.org/contest which seems like a great way to spread the word about SWX and get more developers trying out the new project.
The competition has three categories: Web, Mobile, and API, and each of the three winners will receive a prize package worth almost $4,000. Not a shabby deal at all. The prize packages include a copy of Adobe CS 3 Web Premium Bundle, a one year premium subscription to Lynda.com, a Nabaztag/tag wi-fi bunny, and an iPod Touch. I have a Nabaztag/tag, and winning one of these alone is worth a few hours of work!
If you have been following the SWX project at all, you already know that I have used SWX on a couple of projects and that I am a huge fan of its simplicity. It just works, and it makes your life as a developer easier. What's not to like? This contest is the perfect way to give it a shot and possibily win some cool stuff.
More details on the contest can be found on the SWX site.
Powered by WordPress.