>be shown in flash and will need the paging support.
Yes. However, even though gwoo uses this technique, I don't see him using the built-in recordset paging feature (he actually implements some sort of custom paging) and I must confess that this confused me a bit.
>I think at the moment its just a matter of taking each situation on its own
>merits..if you can or need to use recordsets then theyre there.
Yes too. Ever since I started using CakeAMFPHP I never really thought or needed to use recordsets. And about the paging feature, I guess I could easily implement a custom paging system myself without using the built-in recordset.
On 10/23/06, Martin Wood-Mitrovski <[EMAIL PROTECTED]> wrote:
Marcelo de Moraes Serpa wrote:
>> This is one of the reasons I avoid returning recordsets from CakeAMFPHP,
> the
>> other is because the DBConnection stuff makes the code specific to the
> remoting
>> interface. Just returning the cake array structures allows you to keep
>> the
> same
>> code for both html and remoting sections.
>
> Thanks for clarifying this, Martin. I also had this fog about which
> technique to use. The recordset way would also make it harder to implement
> your typemapper, I think.
>
> I guess gwoo used the recordset technique on the cakeamfbb sample?
yeah, he did.
I still use recordsets occasionally, for long lists of stuff thats only going to
be shown in flash and will need the paging support.
I think at the moment its just a matter of taking each situation on its own
merits..if you can or need to use recordsets then theyre there.
> Sorry if I'm missing something, but what does Arrayf stands for?
apparently the f stands for filtered. Its a part of the standard AMFPHP
distribution.
The comment says :
The arrayf adapter is a filtered mySQL adapter riggged
to only transmit certain column names. Must be typed manually.
thats about as much as i know about it :)
martin
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
