Hi Kelly

its sounds very good what you've done. i will be in the process of 
doing something similar.
Care to share your c# code. would be very appreciated.

regards
Bod

--- In [email protected], "Kelly Birr" <[EMAIL PROTECTED]> wrote:
>
> Dmitry,
> 
> I've done it from ASP.NET to Flex 2.0 without FDS by caching the 
Datasets in
> memory on the Application Server and sending pages to the UI as 
requested.
> It works very well but it uses a lot of memory and CPU time on the 
mid-tier
> servers and took a bit of code for the server-side threading 
requirements.
> It may be worth trying FDS to save yourself the hassles of this 
sort of
> implementation.
> 
> My approach was:
> 
> 1) Flex UI calls Web Service on server to request the list 
(dataset).
>       a) Server spins up background worker thread for list building
>       b) Server queries database and begins filling dataset on 
worker
> thread
>       c) primary [request] thread waits for one full page of data 
to be
> filled
> 
> 2) Once server has filled one full page of data it sends the 
response to the
> client with the first page and a unique "PagingContextID" (guid).  
The
> background thread keeps filling the dataset.
> 
> 3) UI receives and displays the first page of data
> 
> 4) When the next page is needed the UI requests it via a 2nd web 
service
> call that contains the unique "PagingContextID" as well as the 
required page
> number.
> 
> 5) Server retrieves the complete dataset from memory, builds a 
subset (page)
> and sends it back to the client UI.
> 
> 6) repeat as necessary...
> 
> If your using C# for you mid-tier I can send you some sample 
classes that
> can help you get started.  Note that I use the term "dataset" 
loosely, I'm
> using custom collections of business objects and not actual ADO.NET
> Datasets.
> 
> - Kelly
> 
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Dmitry Miller
> Sent: Thursday, July 06, 2006 9:11 PM
> To: [email protected]
> Subject: [flexcoders] Re: RPC result paging - please, help
> 
> David, 
> 
> Thank you for your response. In the article that you have 
recommended Data
> Services were used. I was wondering if there is a way to create my 
own
> implementation of FDS using just RPC
> 
> 
> --- In [email protected], "David Mendels" <dmendels@>
> wrote:
> >
> > Hello,
> > 
> > Have you read this in the docs: http://snipurl.com/Flex_Paging
> > 
> > -David
> > Adobe
> > 
> > > -----Original Message-----
> > > From: [email protected]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Miller
> > > Sent: Thursday, July 06, 2006 9:56 PM
> > > To: [email protected]
> > > Subject: [flexcoders] RPC result paging - please, help
> > > 
> > > Is there a way to do paging of RPC results? Is there a good 
example 
> > > for that?
> > > 
> > > Thanks,
> > > 
> > > --- Dmitry
> > > 
> > > 
> > > 
> > > 
> > > 
> > > ------------------------ Yahoo! Groups Sponsor 
> > > --------------------~--> Great things are happening at Yahoo!
> > > Groups.  See the new email design.
> > > http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
> > > --------------------------------------------------------------
> > > ------~->
> > > 
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives: 
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > Yahoo! Groups Links
> > > 
> > > 
> > > 
> > >  
> > > 
> > > 
> > > 
> > >
> >
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to