[osflash] [REMOTING] When to return the db resource id?
list at abstractfactory.de
Fri Apr 28 01:28:24 EDT 2006
what I do is put a getDB method on the server which either creates a
new DB connection (I use ADODB) or passes the current DB connection
around to the different methods. As far as I know you cannot pass a
DB connection from AMFPHP to Flash and back as the php remoting class
is instantiated on every new call.
On 27.04.2006, at 23:49, Marcelo de Moraes Serpa wrote:
> This maybe a silly question, but sometimes I find myself struggling
> on how method I will use - for example, when I need to attach data
> from a different table I can´t return just the database resource
> id, I need to return the data fetched in an array, however, I find
> that most remoting projects use the RecordSet class to have more
> control on the client side over the server side fetching of data...
> It may depend on what is the nature of data query, but I really
> would love to hear from more experienced remoting/flash
> developers. I´m using AMFPHP and MySQL5.
> - Marcelo.
> osflash mailing list
> osflash at osflash.org
More information about the osflash