Julian,
Thanks for clarifying. _explicitType is an AMFPHP only
implementation. AMFPHP uses it to type the return value and then
actually deletes the reference of _explicitType right off the object.
For the AS3 side the BookVO looks like this:
package com.renaun.samples.login.vo
{
]
On Behalf Of Julian Sander
Sent: Tuesday, October 17, 2006 11:35 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: VO Mapping, some basic questions
Hi Peter,
thanx for your insite. It reafirms what I though was happening.
None the less, I am curious how the mechanism works now
AMFPHP uses _excplicitType or advancedmappings.php to make mapping
easier. With PHP 5 there is some class introspection code that makes
it possible to find the object mapping automacitally. Both SabreAMF
and WebORB for PHP supports the auto object mapping.
As FDS and Coldfusion connectivity is
Hi Renaun,thanx for the responce! I have gotten this far as well. What I am not clear on is what is being passed int eh responce from the server to Flex that makes the alias work? Is it still the _explicitType property or is there something else?cheers, Julian Julian SanderBurbacherstraße
AMFPHP's _explicitType implementation is used to define it however you
want. So for my example of the BookVO, the php VO would look like:
class BookVO {
public $_explicitType = com.renaun.samples.login.vo.BookVO;
public $name;
public $bookid;
public $publishdate;
5 matches
Mail list logo