On the sephiroth.it tutorial on AMFPHP1.9 and Flex 2,
Alessandro demonstrates both approaches:
- Using the object "event.result" directly in the MXML file;
- Using the RemoteClass metadata (RemoteAlias) with an extra
.as file and an extra .php file for mapping variables.
I've always used the direct approach (for MySQL queries), but
I'm interested in understanding the advantages one has over the
other.... rather, why I would be interested in using the
RemoteClass and mapping approach.