FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Is there a way to distinguish an auto-refresh from a manual page load?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Is there a way to distinguish an auto-refresh from a manual page load? [message #177200 is a reply to message #177198] Sun, 26 February 2012 21:12 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
crankypuss wrote:
> On 02/26/2012 11:40 AM, J.O. Aho wrote:

>>
>> Web sockets has been introduced with html 5 (and there are a few
>> diffe3rent standards too), which allows the server to push content to
>> the browser instead of using ajax which pulls information from the
>> server.
>
> I will studiously avoid this, then; the redeeming graces of html are few
> enough already... I really don't care a whit about conforming to the
> expectations of html conformance freaks, as far as I'm concerned a
> browser is simply a remote rendering device


Well' that's your view. I see it as a fairly ubiquitous fairly thick
client for wep Apps. I am just as interested in it in intranets as on
the internet.

websockets and javascript are part of that - and in an intranet
situation you can insist on a single browser.

and document source format
> is relevant only insofar that it determines semantics as related to the
> remote rendering device. It seems impossible to be a purist and an
> html-purist at the same time. Push is like Jehovah's Witnesses banging
> on the door and should similarly be shot or hanged or simply beaten and
> sent on its way, whichever is more convenient.

Websockets are really nothing more than a persistent two way comms
channel. I'd guess only of relevance with Javashite (TM) as well.
BUT its a better use of bandwidth to push changes down the channel when
they happen, rather than constantly polL.

It might save my bandwidth when my wife leaves the weather radar live
on overnight...
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: simplexml adding 'encoding' attribute to xml declaration
Next Topic: strtotime() not able to handle 04/29 correctly???
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Feb 26 03:16:16 GMT 2025

Total time taken to generate the page: 0.03926 seconds