IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
Channel APIの使用例。実際の環境だと何か登録しなくてはいけないらしい。開発環境だと動きます。 2010/10/06 ・ちょっと修正しました。 ・githubにアップしました。 http://github.com/ukyo/cometchat/ とりあえず使えます(dev_appserver.pyにパスが通っていること前提) git clone git://github.com/ukyo/cometchat.git cd cometchat dev_appserver.py src/ 流れは 1.名前を送る(js側) 2.入室している人のリストに名前とそれに対応するuuidを登録(py側) 3.uuidからchannel_tokenを取得(py側) 4.channel_tokenからchannelを作って色々する。(js側) 5.何かあったらリストのメンバー全員にpush(py側)
リアルタイムWebの代名詞としてWebSocketに注目が集まる中、あまり話題になることはありませんが、HTML5には、もう一つリアルタイムWebを実現するAPIとして、忘れてはならないもの〜Server-Sent Events〜があります。今日は、そのお話。 Server-Sent EventsはCometを簡単に使えるようにするAPI。ここで、Cometと言うと最近の風潮として「WebSocketに完全にreplaceされる、ワークアラウンドでしょ」的な空気が(最近は特に)流れがちですが、そんなことは決してありません。。。というのが筆者の意見です。 Cometは、HTTPでサーバーPushするための技術の総称。その中の一つで良く取り沙汰される、periodically polling(一定間隔で、ポーリングパケットを投げる)などは、確かに「ワークアラウンドだね」という言葉ですませていい
This is the default welcome page used to test the correct operation of the Apache2 server after installation on Debian systems. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server. If you are a normal user of this web site and don'
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く