http://www.cflex.net/showFileDetails.cfm?ObjectID=560

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of anuj sharma
Sent: Wednesday, October 22, 2008 2:20 PM
To: [email protected]
Subject: Re: [flexcoders] Re: How to keep Tree control synchronized with
the database. Please Help

 

Hi Tracy
Thanks for the link. Now in the link i couldn't find the specific
example using timer for constant  calling for HTTP service.
Can you please tell me where exactly the example is located. Your help
will be appreciated.
Thanks
Anuj

On Wed, Oct 22, 2008 at 10:15 AM, Tracy Spratt <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

Yes, polling using Timer will work fine.  I even have an example on
www.cflex.net <http://www.cflex.net/> , but it is pretty simple to do.

Tracy

 

________________________________

From: [email protected] <mailto:[email protected]>
[mailto:[email protected] <mailto:[email protected]> ]
On Behalf Of anuj sharma
Sent: Wednesday, October 22, 2008 12:02 AM
To: [email protected] <mailto:[email protected]> 
Subject: Re: [flexcoders] Re: How to keep Tree control synchronized with
the database. Please Help

 

Hi Guys


Thanks for your different approaches to solve this problem.I will try
all of them and see which one will suit my management, but i really
appreciate that. I have one solution which recently struck me , please
let me know if this is the right one. Can I use the Timer class to
create a timer instance which will periodically call HTTP and check
which entries are in database and update the dataProvider with the
recent entries. Do you guys think this is going to work. i am going to
explore all the solutions recommended by you guys and see which is most
convenient and efficient to implement with my deadline.
Please let me know if Timer thing is going to work for database.
Again Appreciate your help

Anuj

On Tue, Oct 21, 2008 at 7:26 PM, markgoldin_2000
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote:

I have been working on a data pushing solution using Lightstreamer 
push server. Works with Flex via Ajax bridge. True real time data 
updates. Take a look at LS push server web site. They have examples 
for Flex.



--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, john fisher <[EMAIL PROTECTED]> wrote:
>
> I am working on a similar problem...
> I don't use PostGres, but there may be some sort of export to XML
> function. *If* that can fire on changes ( or you set up the
> inserts/updates that way), then you have something that an 
httpservice
> can acquire directly. But somebody still has to ask the file if it
> changed...
> unless
> You use a socket connection to stuff an event into the dataprovider.
> Theres some examples in the adobe docs.
> or
> you poll, but don't refresh the whole html page, just the data in 
the
> swf, and only when it changes. My users cant tell the difference 
between
> polling and the socket connection in the two demos I made.
> 
> I'm just a newbie, so if there is another way, I'd sure like to hear
> about it.
> 
> John
> 
> Paul Andrews wrote:
> > Isn't this simply a problem that multiple calls are required to 
poll the database for change? I think the OP really needs a push type 
service.
> >
> > There's no way to know that the database table has changed 
without polling the database..
> > 
> >
>

 

 

 

Reply via email to