2012/02/10 第2回大阪Jenkins勉強会 http://atnd.org/events/23053Read less
こんにちは、中川です。 PHPでチャットサーバが作れるか試してみました。 結論からいいますと、簡単なものでしたら、「PHPlet」というライブラリを使えば、 マルチプロセスで動作するものが、意外にあっさり作ることができました。 まず、【PHPlet】から、ライブラリをダウンロードして、「ext」フォルダのみを配置します。 そして、サーバ側プログラムは、以下のようになっています。 (※PEAR::Net_Serverを使えば実装できるみたいです。) [chatd.php] <?php require_once 'ext/Server.php'; require_once 'ext/Server/Handler.php'; class Net_Server_Handler_Talkback extends Net_Server_Handler { var $clientStatus = arr
明日から始まる北京オリンピック。テレビ中継に加えて,世界で注目されそうなメディアがある。米NBC Universalが北京オリンピック向けWebサイトで提供するライブ・ストリーミング中継だ。この配信サービスには,マイクロソフトが開発したリッチ・インターネット・アプリケーション基盤ソフトの「Silverlight 2」が採用されている(Silverlight 2は現在Beta 2で,正式版は今秋提供開始予定)。 Silverlightの実体は,動画やアニメーションといったリッチ・コンテンツをブラウザで試聴可能にするためのプラグイン・ソフトだ。Windows,Macintoshでコンテンツの閲覧が可能なクロスプラットフォームが特徴で,アドビシステムズが提供するFlash Playerや,Flash Playerの拡張版と言える「AIR(Adobe Integrated Runtime)」と競合
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く