Groups | Blog | Home
all groups > macromedia flash flash remoting > november 2003 >

macromedia flash flash remoting : Remoting / Cold Fusion CFC Speed Question


unleashed
11/17/2003 11:17:41 PM
I'm looking at replacing a cold fusion page that has a cfgrid with a flash page that has a DataGrid. It is taking the cfgrid about 10 seconds to load with all of the data and I want to speed that up through flash remoting and a CFC. The grid displays information on our 2500 employees.

I created a simple flash movie with a datagrid that populates itself with the output from the CFC. It takes the flash movie about 7 seconds to load.

The query only takes 140ms to execute. If I display the plain text in just a cold fusion page, it only takes about 500ms to load.

Now my question: Is there a faster way to use flash remoting other than going through a CFC? Also, is there a way to get the datagrid to populate in groups, like download and populate 100 records at a time until the 2500 item list is complete.

Thanks,

James
Sacramento, CA

Jens Hauser
11/18/2003 11:13:15 AM
You can use the Flash.Pagesize in a CFC.
Read up
http://livedocs.macromedia.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/usingSalsaN3.htm#1160826
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/usingsa7.htm

Or even better buy the excellent book Flash Remoting: The Definitive Guide
by Tom Muck and read Chapter Five or surf to
http://www.flash-remoting.com/examples/master.cfm and download the code
called customers.



Jens



"unleashed" <webforumsuser@macromedia.com> skrev i meddelandet
news:bpbkuk$pl4$1@forums.macromedia.com...
[quoted text, click to view]
page that has a DataGrid. It is taking the cfgrid about 10 seconds to load
with all of the data and I want to speed that up through flash remoting and
a CFC. The grid displays information on our 2500 employees.
[quoted text, click to view]
going through a CFC? Also, is there a way to get the datagrid to populate
in groups, like download and populate 100 records at a time until the 2500
item list is complete.
[quoted text, click to view]

unleashed
11/18/2003 6:54:22 PM
Thanks for the information. I'll go pick up that book today.

AddThis Social Bookmark Button