久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <bdo id='uXaMn'></bdo><ul id='uXaMn'></ul>
    <legend id='uXaMn'><style id='uXaMn'><dir id='uXaMn'><q id='uXaMn'></q></dir></style></legend>
    1. <small id='uXaMn'></small><noframes id='uXaMn'>

      <tfoot id='uXaMn'></tfoot>

        <i id='uXaMn'><tr id='uXaMn'><dt id='uXaMn'><q id='uXaMn'><span id='uXaMn'><b id='uXaMn'><form id='uXaMn'><ins id='uXaMn'></ins><ul id='uXaMn'></ul><sub id='uXaMn'></sub></form><legend id='uXaMn'></legend><bdo id='uXaMn'><pre id='uXaMn'><center id='uXaMn'></center></pre></bdo></b><th id='uXaMn'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='uXaMn'><tfoot id='uXaMn'></tfoot><dl id='uXaMn'><fieldset id='uXaMn'></fieldset></dl></div>

        PHP:將數據從服務器推送到客戶端的最佳方式...

        PHP : Best way to push data from server to clients.....?(PHP:將數據從服務器推送到客戶端的最佳方式......?)
        <legend id='siUm2'><style id='siUm2'><dir id='siUm2'><q id='siUm2'></q></dir></style></legend>

            <bdo id='siUm2'></bdo><ul id='siUm2'></ul>

              • <i id='siUm2'><tr id='siUm2'><dt id='siUm2'><q id='siUm2'><span id='siUm2'><b id='siUm2'><form id='siUm2'><ins id='siUm2'></ins><ul id='siUm2'></ul><sub id='siUm2'></sub></form><legend id='siUm2'></legend><bdo id='siUm2'><pre id='siUm2'><center id='siUm2'></center></pre></bdo></b><th id='siUm2'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='siUm2'><tfoot id='siUm2'></tfoot><dl id='siUm2'><fieldset id='siUm2'></fieldset></dl></div>
              • <tfoot id='siUm2'></tfoot>
                  <tbody id='siUm2'></tbody>

                <small id='siUm2'></small><noframes id='siUm2'>

                1. 本文介紹了PHP:將數據從服務器推送到客戶端的最佳方式......?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  在我的項目中 我需要像 facebook 那樣將一些數據從服務器推送到客戶端,當 在客戶端配置文件中執行一些更新時 就像有人在客戶端的墻上寫東西一樣,Facebook 會自動將其推送到客戶端.

                  In my project I need to push some data from server to the client like facebook does, when some updates are performed in the clients profile like somebody writes something in the wall of the client, Facebook automatically push it to the client side.

                  目前我正在使用 AJAX 不斷檢查數據庫的更新.那是不是一個好習慣.

                  我不想依賴客戶端進行更新.我希望 服務器應該在執行與客戶端相關的某些更新時自動將數據推送到客戶端.

                  I don't want to depended on the client side for the updates. I want that the server should automatically push the data to the client side when some updates are performed related to the client.

                  請建議一些網址或示例代碼來這樣做......

                  Please suggest some url or sample code to do so......

                  提前致謝.....

                  推薦答案

                  你應該看看 APE 項目,它支持多種與 Push 盡可能接近的變體,比如長輪詢、XHRStreaming 和 WebSockets.

                  You should take a look at the APE Project, which supports multiple variations that are as close to Push as you will get, like long-polling, XHRStreaming and WebSockets.

                  • http://www.ape-project.org/
                  • http://www.ape-project.org/wiki/index.php/Tutorial:Use_different_transport_method_(JSONP,_XHRStreaming)#Long_Polling

                  編輯僅在 PHP 中執行此操作并不是最佳選擇,因為它會占用大量資源來保持所有這些連接的活動狀態.

                  edit Doing this in just PHP is not the best choice, as it takes up a lot of resources to keep all those connections alive.

                  這篇關于PHP:將數據從服務器推送到客戶端的最佳方式......?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死鎖異常代碼?)
                  PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滾動游標不起作用)
                  PHP PDO ODBC connection(PHP PDO ODBC 連接)
                  Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔術方法)
                  php pdo get only one value from mysql; value that equals to variable(php pdo 只從 mysql 獲取一個值;等于變量的值)
                  MSSQL PDO could not find driver(MSSQL PDO 找不到驅動程序)

                    • <bdo id='ZJFAV'></bdo><ul id='ZJFAV'></ul>
                      <legend id='ZJFAV'><style id='ZJFAV'><dir id='ZJFAV'><q id='ZJFAV'></q></dir></style></legend>

                          <tbody id='ZJFAV'></tbody>

                            <small id='ZJFAV'></small><noframes id='ZJFAV'>

                            <tfoot id='ZJFAV'></tfoot>
                            <i id='ZJFAV'><tr id='ZJFAV'><dt id='ZJFAV'><q id='ZJFAV'><span id='ZJFAV'><b id='ZJFAV'><form id='ZJFAV'><ins id='ZJFAV'></ins><ul id='ZJFAV'></ul><sub id='ZJFAV'></sub></form><legend id='ZJFAV'></legend><bdo id='ZJFAV'><pre id='ZJFAV'><center id='ZJFAV'></center></pre></bdo></b><th id='ZJFAV'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='ZJFAV'><tfoot id='ZJFAV'></tfoot><dl id='ZJFAV'><fieldset id='ZJFAV'></fieldset></dl></div>
                            主站蜘蛛池模板: 黄色片视频在线观看 | 日本色综合 | 黄色中文字幕 | 久久久久久国产 | 色爽| 欧美午夜精品一区二区三区 | 久久在线播放 | 天堂av网站 | 国产精品日韩欧美 | 久久久久久精 | 成人精品三级av在线看 | 亚洲网站在线 | 黄色录像免费看 | 亚洲福利网站 | 国语对白永久免费 | 亚洲精品播放 | 久草福利在线 | 中文字幕免费在线 | 日本中文在线观看 | 久久视频一区二区 | 久久综合亚洲 | 日本一区二区不卡 | 亚洲在线播放 | 欧美日日日 | 日本欧美久久久久免费播放网 | av网站免费在线观看 | 成人免费黄色大片 | 三级视频在线播放 | 午夜影院黄 | 99超碰在线观看 | www.一级片 | 91精品国产日韩91久久久久久 | 一级片免费网站 | 中文字幕国产精品 | 天天干天天色天天射 | 午夜视频在线看 | 亚洲欧美视频一区 | www.久久久久久 | 人人草人人爽 | 成人看 | 婷婷激情综合网 |