- What would be the best way to map the objects in the recordset.items array to their corresponding classes? A loop? Or they would be automatically mapped with the new AMFPHP 1.2 mapping features?
Thanks,
Marcelo.
On 8/9/06, Marcelo de Moraes Serpa <[EMAIL PROTECTED]
> wrote:
I´m confused... what is the relation between VO´s and the RecordSet class? I´m using AMFPHP (specifically CakeAMFPHP) and I´ve seen on many articles that returning the resource id of the query and let it convert to a RecordSet on the Flash side is the preferred method as I can use the built-in features of the mx.remoting.RecordSet class and also the ability to seed v2 components directly as well as the useful pageable recordsets (paging control at no additional cost). However, I´ve also heard that any serious project should use the class-mapping features of AMFPHP and the object.registerClass() on the Flash side, (read Transfer Objects)... that´s where my mind fuses - What method should I use? Can I mix both of them? Could someone enlighten me on this subject!?
Thanks in advance,
Marcelo.
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
