Hi,
I am looking to build a data driven service where results are dynamically posted on the site using a Twitter-like approach so that new values automatically appear on the page without the need to refresh.
I am guessing this is an Ajax approach, where hopefully it could be integrated with DB Multi Recorder Loader every few seconds and the new results could fade in, and push older entries down.
Is there any way to achieve this using CF V4?
Thanks,
Brendan
I am looking to build a data driven service where results are dynamically posted on the site using a Twitter-like approach so that new values automatically appear on the page without the need to refresh.
I am guessing this is an Ajax approach, where hopefully it could be integrated with DB Multi Recorder Loader every few seconds and the new results could fade in, and push older entries down.
Is there any way to achieve this using CF V4?
Thanks,
Brendan
Hi Brendan,
I don't see why not (though you might look to see if there are existing modules that do this, I suspect that there are).
You'd set up a form (or just a JavaScript snippet) in a module that used a timer to make an Ajax call back to a form event to get the latest info and then updates the HTML in the module.
Bob
I don't see why not (though you might look to see if there are existing modules that do this, I suspect that there are).
You'd set up a form (or just a JavaScript snippet) in a module that used a timer to make an Ajax call back to a form event to get the latest info and then updates the HTML in the module.
Bob
Thanks Bob,
Was hoping to use the DB Multi record Loader as the CF in question uses some permissions via the Authenticator.
Will get the thinking cap on to see how to progress, was more hoping that there was an example or someone on the forum had experience of this.
Many thanks,
Brendan
Was hoping to use the DB Multi record Loader as the CF in question uses some permissions via the Authenticator.
Will get the thinking cap on to see how to progress, was more hoping that there was an example or someone on the forum had experience of this.
Many thanks,
Brendan
Hi Brendan,
I'm not quite clear how you see this working. You can use the DB Multi Record Loader in an Ajax event in your form to access the data. But you can't use it 'directly' in the form if you want the data to update in the browser page.
Bob
I'm not quite clear how you see this working. You can use the DB Multi Record Loader in an Ajax event in your form to access the data. But you can't use it 'directly' in the form if you want the data to update in the browser page.
Bob
Okay,
I think that sets me straight Bob, thanks for that.
Reckon I'll revert to an RSS feed and do this through an external module after all.
Was hoping to keep everything in the CF environment, but maybe easier to think elsewhere.
No shortage of JQuery samples available for this.
Many thanks as usual.
Brendan
I think that sets me straight Bob, thanks for that.
Reckon I'll revert to an RSS feed and do this through an external module after all.
Was hoping to keep everything in the CF environment, but maybe easier to think elsewhere.
No shortage of JQuery samples available for this.
Many thanks as usual.
Brendan
This topic is locked and no more replies can be posted.