Archive for 'AMFPHP'
AMFPHP Class Mapping Primer [1.9 beta]
1 July 2008Thought I’d post a simple AMFPHP class mapping primer.
I ran into a wall after re-arranging my VO / DAO package structure on the server, learned a few things in the process and thought I’d post .
I’m assuming your using AMFPHP 1.9 beta.
Class mapping allows your php backend and actionscript frontend to pass […]
AMFPHP Complex Classes - Yeah I knew that
19 June 2008Just blew half an hour tracking down something I *knew* I’d done before. Thought I’d post here for future ‘lapses.’
To return a typed object from PHP to the flashplayer the process is simple, declare a variable called $_expicitType in your PHP class
e.g.
class SummaryVO
{
var $_explicitType = “com.dl.SummaryVO”;
$standards = […]
Securing AMFPHP 1.9 via Authentication
3 June 2008With the loss of the methodTable in AMFPHP 1.9, comes a loss of the easily defined ‘roles.’
Background
Roles, for those of you who aren’t familiar, allow you to ‘protect’ who can invoke your AMFPHP services. For example, you probably wouldn’t want the following function accessible to everyone
public function SetEmployeeSalary($amount)
Users are ‘authenticated’ in AMFPHP […]
403 Forbidden Error with Adobe AIR app.
13 February 2008Here’s another issue I recently ran across. I was porting an existing (working) Flex 3 project to AIR. Under AIR my RPC calls (via AMFPHP) stopped working, and would return a 403 Permission denied error.
Using ethereal verified the 403 error. The were minor differences in the headers sent when executing […]
Client.Data.UnderFlow with AMFPHP
13 February 2008I ran across the following error today, Client.Data.UnderFlow undefined? I’m using AMFPHP to enable my RPC calls. As it turns out, I the variable I was returning was of a different type than I had declared in my methodTable.









