Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>Do specific hosting providers host push server for you? Is there a way to get a server without having to host it? It seems like a much better choice over polling, but at the same time it seems extremely confusing.</p> </blockquote> <p>Yes, I work for <a href="http://pusher.com" rel="nofollow noreferrer">Pusher</a> who offer such a service. You can see a quickstart guide <a href="http://pusher.com/docs/quickstart" rel="nofollow noreferrer">here</a>. There are also other <a href="http://www.leggetter.co.uk/real-time-web-technologies-guide#hosted-services" rel="nofollow noreferrer">realtime hosted services</a> that you could read up on.</p> <p>I'd also recommend you have a look at:</p> <ul> <li>My answer to <a href="https://stackoverflow.com/questions/8534706/how-to-use-long-polling-or-ajax-push-in-your-website/8536618#8536618">How to Use Long Polling or Ajax Push in your Website</a> - PHP focused</li> <li><a href="https://stackoverflow.com/questions/603201/using-comet-with-php">Using Comet with PHP</a></li> <li><a href="https://stackoverflow.com/questions/4066978/implement-comet-with-php">Implement Comet with PHP</a></li> </ul> <p>My opinion, as expressed in the first link, is that PHP isn't a good technology for realtime web applications. You are best to either have different components that you use as your realtime web infrastructure. That should either be something self-installed or a hosted solution such as <a href="http://pusher.com" rel="nofollow noreferrer">Pusher</a>, who I work for. Why? PHP + Apache wasn't built for maintaining long running connections. There are PHP standalone WebSocket solutions you could look at, but you are 80% likely to be using Apache and 20% nginx which doesn't support WebSockets quite yet (but will soon). Even then, I'm not sure how they'll integrate with the standard PHP request/response application flow.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload