Re: Progressbar interacting with server

2012-07-08 Thread Paul Hastings

On 7/9/2012 6:37 PM, Tom Small wrote:
> Thanks for your reply although I am currently using ColdFusion 9 and noticed
> - WebSocket in point-to-point communication is developed for ColdFusion 10.


https://github.com/nmische/cf-websocket-gateway/wiki/


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351860
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Progressbar interacting with server

2012-07-08 Thread Tom Small

Hi Guust

Thanks for your reply although I am currently using ColdFusion 9 and noticed - 
WebSocket in point-to-point communication is developed for ColdFusion 10.

If this is the case, is there an alternative that can work with the version 
that I am using?

Tom 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351859
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Progressbar interacting with server

2012-07-08 Thread Guust Nieuwenhuis

This is a scenario in witch WebSockets will be your friend. With WebSockets you 
can easily setup point-to-point communicative between the client and server.

A basic explanation of point-to-point communication in CF10:
http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSe61e35da8d318518767eb3aa135858633ee-7ff0.html

A longer tutorial on WebSockets in CF10:
http://www.adobe.com/devnet/coldfusion/articles/html5-websockets-coldfusion-pt1.html

I've done something similar to what you're looking for in one of my projects: 
PDFProtector (https://github.com/lagaffe/pdfprotector). When protecting a PDF, 
the server send back information on the process to the client and on client 
side I use that information to control the progress bar. For this I use 
point-to-point communication with WebSockets.


Guust Nieuwenhuis



On 08 Jul 2012, at 17:25, Tom Small  wrote:

> 
> Hi
> 
> I have a Progressbar that is developed with Ext JS 4 and want to know how to 
> write ColdFusion server code that can keep track of the progress and pass it 
> back to the progress bar..
> 
> Tom
> 
> 
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351858
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm