Category

Archive for the 'Remoting' Category

The end of methodTable? Opinions wanted.

( Remoting and PHP )

I’ve started working on amfphp 2 and if there is one thing I hate about amfphp it is certainly writing that darn methodTable. Now with amfphp 1.2 I’ve made it so it’s possible to generate the method table from the service browser, thanks to Christophe Herreman’s MethodTable class. I still hate the fact that methodTable […]

BitmapData saving: now 50% faster on encoding

( Remoting and Actionscript and PHP )

I was trying to optimize the encoding routine for my BitmapData saving solution and then I thought: WWTUD? Well, I tried every trick in the book: lowering the number of bitwise operations, replacing + with | or vice-versa, unrolling the encoding loop, reversing the if… All failed until I tried something dead obvious that I […]

The ultimate AS2 BitmapData saving solution

( News and Remoting and Actionscript and PHP )

First of all, sorry for the over-the-top title, it’s a nod to Grant Skinner, whose BitmapData saving post inspired me to get back to the drawing board to find a better solution than what I had previously. The previous solution was very fast in an intranet setting, and very low on resources on the php […]

Saving bitmaps in Flash: a fast solution

( Remoting and Actionscript and PHP )

Mario Klingemann and Alessandro Crugnola have already posted their solutions to the problem of saving the contents of a BitmapData instance using PHP, and I figured I would share my own solution which solves it in an original way. For this current project I’m working on, the bitmap data is to be sent across an […]

Testing Fluorine through amfphp

( Remoting and PHP )

With amfphp 1.2, it’s possible to test your Remoting services directly through your web browser using the service browser. Fluorine, openAMF and other Remoting users rejoice, however, as it is in fact possible to use the same service browser to test any Remoting gateway. Here’s how you can do it:

Create an amfphp service with a […]