Basically,this assembler is a CFC that has 4 methods that must implement.
Fill, sync, get and count.
Those names can be something else, but in FDS when defining your destination 
you need to config those method names so FDS knows wich method in your 
assembler.cfc to call.

Fill will return an array of your TO's, Beans , whatever.
In the client side you have your AS files that are are mapped to that remote 
object (your TO or Bean).
Sync method gets an array argument of changed objects and returns that array 
once all changes have been made (Insert/Update/delete) and propagates them to 
all connected clients.
Get Method is to get a specific TO (or Bean) and all dependant Objects (like 
reactor does), In your destination definition you can define <haveOne and 
<haveMany like in reactor.
The Count is just to tell how many records the fill method will return (maybe 
for paging purpose).

Paging doesn't seem to work but Adobe CF guys don't seem very present lately.

João Fernandes



-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Jared Rypka-Hauer
Sent: Sat 25-Mar-06 1:52 AM
To: [email protected]
Subject: Re: [Reactor For CF] Reactor and Flex Data Services
 
So to put this into understandable terms for a dude who is kinda like  
"huh?" (like me) when it comes to this assembler widget... it's  
something like a translator, bridging the gap between the API of the  
Flex application on the client and the CFMX server on the other end.

Since the Flex DataServices object places some burden on the server- 
side architecture to speak in types that it understands and can  
process, and since there's an FDS plugin for CFMX now in b2, this  
Assembler makes sure that the return values are in the right format  
and so on for the Flex DataServices client object in the movie...

Yes-ish? :)

Laterz,
J
------------------------------------------------
Jared C. Rypka-Hauer
Continuum Media Group LLC
http://www.web-relevant.com
Member, Team Macromedia - ColdFusion

"That which does not kill me makes me stranger." - Yonah Schmeidler


?






-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/

<<winmail.dat>>

Reply via email to