|
Posted by Peter J. Holzer on November 15, 2008, 1:43 pm
Please log in for more thread options
> In article
>> My client program is a browser, and the server may be run in perl, ror
>> or any other server side scripting. The browser has to send the
>> request to the server once, after that the server has to keep track of
>> the client and send the response frequently to the client.
>>
>> One way we can achieve this with Applets. Is there any other way to
>> achieve this ??
>
> Sounds like 'AJAX' to me.
Nope. AJAX doesn't magically allow the server to send something to the
browser without a request. Instead some JavaScript running in the
browser sends requests to the browser. So, for in the terminology you
use below, it is some kind of "client pull".
> I am only familiar with the concept, not the
> methods, so I can't say for sure. See
><http://en.wikipedia.org/wiki/Ajax_(programming)> for more info.
>
> For vanilla HTTP, the choice is "server push" and "client pull". See,
> for example <http://oreilly.com/openbook/cgi/ch06_06.html>.
>
> For an example of client pull, see
><http://www.stonehenge.com/merlyn/LinuxMag/col39.html>
>
|