Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / November 2003



Tip: Looking for answers? Try searching our database.

Remoting / Cold Fusion CFC Speed Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
unleashed - 17 Nov 2003 23:17 GMT
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 - 18 Nov 2003 10:13 GMT
You can use the Flash.Pagesize in a CFC.
Read up
http://livedocs.macromedia.com/coldfusion/6/Developing_ColdFusion_MX_Application
s_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

> 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
unleashed - 18 Nov 2003 18:54 GMT
Thanks for the information.  I'll go pick up that book today.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.