We do a lot of projects with AMF at Public, and historically we’ve used amfphp on our back end. On a current project however we are using Zend framework. The Zend_AMF module is the successor of the original amfphp project, but it is missing one really useful thing – it doesn’t have a service browser like amfphp does. I appreciate that there is fairly good reason for this, but it is a super handy tool we’ve come quite used to having available.
So what’s the problem?
If your PHP developers have to start work before your Flash developers, you may find yourself with a back end, but no front end, so how do you test everything works? Moreover, how do you develop the back end at all if you can’t send and receive requests from your AMF gateway?
I wrote a simple command line tool for testing AMF calls, so I thought I’d share it with you here:
Download the amf command line program, requires PHP 5.2 with the json extension enabled.
It’s a fairly crude tool, and cannot support class mapping, but it’s currently helping us out very nicely. If you like it, or would like to see any improvements, please post a comment.