久久久久久久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>
                            主站蜘蛛池模板: 在线观看成人免费视频 | 一区在线观看 | 亚洲精品欧美精品 | 国产成人99 | 国产精品久久久久久吹潮日韩动画 | 日本不卡一区 | 一区二区三区四区电影视频在线观看 | 黄色成人在线网站 | 黄视频网址 | 亚洲五码久久 | 精产国产伦理一二三区 | 久久r久久 | 日韩免费一二三区 | 久久精品视频一区二区 | 日韩另类 | 欧美激情一区二区三区 | 伊人影院在线观看 | 久久亚洲一区 | 日韩国产在线 | 国产成人亚洲精品自产在线 | 一级毛片视频免费观看 | 免费在线a视频 | 国产高清在线精品 | 日韩在线播放视频 | 成人妇女免费播放久久久 | 欧美lesbianxxxxhd视频社区 | 天天操伊人 | 黄片毛片免费观看 | 在线一区二区三区 | 欧美精品一区二区三区蜜桃视频 | 亚洲国产一区二区三区在线观看 | 亚洲中午字幕 | 欧美日韩精品中文字幕 | 精品国产91乱码一区二区三区 | 一级片免费视频 | 久久香蕉网 | 99久久久无码国产精品 | 成人亚洲视频 | 欧美一区二区在线观看 | 欧美二区三区 | 欧美成人a |