タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

ajaxとcometに関するtetsu_y1のブックマーク (5)

  • Private Fishing Charters aboard the C-Rose

    A deposit of 50% of the trip cost is required to reserve a date. You may mail us a check, or you may pay the deposit with a credit card. We will process the credit card charge for the cost of the deposit on the day you make the куда сходить в Батуми. When you complete payment on the day of the trip, the deposit will be credited toward the total cost of the trip. You may complete payment by check,

    tetsu_y1
    tetsu_y1 2006/09/13
    資料
  • javeline teleportって。 - 谷本 心 in せろ部屋

    S2Javelinと紛らわしいな(汗 さて、以前id:mopemopeさんに、Ajaxを使ったプッシュサーバライクな処理(Cometと呼ばれているらしい)について聞かれたので、簡単にまとめ。チャットを作るイメージで。 Client : Ajaxでサーブレットに問い合わせ。 Server : 現在までのログを返す。 Client : ログを表示。更に現在時刻を「前回問い合わせ時刻」として保持。 Client : Ajaxで再度サーブレットに問い合わせ。引数として「前回問い合わせ時刻」を渡す。 Server : 「問い合わせ時刻」以降に変更があれば、差分を返す。 Server : 変更がなければ、コネクションは繋ぎっ放し。 Server : 変更が発生したら、差分を返す。 以下、繰り返し。 これを実装したのは、もう1年以上も前になるんだけど、当時はHTML + 自前のJS + 生Servlet

    javeline teleportって。 - 谷本 心 in せろ部屋
    tetsu_y1
    tetsu_y1 2006/09/13
    アーキテクチャの簡単な解説
  • 2006-05-22

    昨日作ったCometチャットを、多少まともな形に修正。動かしてみたい人は、昨日の日記を参考にしてください。 (削除済み) スレッド制御を、シンプルに。 時間の扱いは、サーバ側だけに。 メッセージ表示の扱いは、クライアント側に。 ま、こんなもんですかね。コネクション周りは、もうちょっと融通の効く形にしないとダメだけど、理想の形が分からん。ちょっと世間を見て回るかー。 あと、日語が通らん。初心者丸出し orz 30時間の音楽再生が可能なウォークマンケータイ「W42S」とか、 CDMA 1X WINに対応したタフネスケータイ「G'zOne W42CA」とか、 Bluetoothレシーバー付属で1GBメモリ内蔵の「W44T」とか、 すげー魅力的なケータイを出しておきながら、なんで3つとも、おサイフケータイ非対応なんだよー! 既にコンビニとかSuicaをケータイに頼ってるんで、いまさら元には戻れ、

    2006-05-22
  • 2006-05-21

    昨日に引き続き、S2でAjax。seasar.orgのSVNリポジトリに、teeda-ajax-demoがいたので、早速触ってみたけど、、、いい!これいい!以前のs2-ajaxより、断然使いやすくなってる。JavaScript側から、命名規則あわせるだけでコンポーネントを呼び出せる辺り、かなりナウい。 ということで、早速、Cometなチャット(ポーリングせず、発言があった時だけサーバから通信)を実装してみた。1〜2時間でゴリゴリ作ったんで色々問題あるけど、とりあえず動かしてみたい人は以下の通りにしてください。 (削除済み) seasar.orgのSVNからteeda-ajax-demoを取得。 上記ファイルをDLして解凍。できあがったteeda-ajax-demoフォルダを、既存のものに上書き。 ビルド、Tomcatの起動。 http://localhost:8080/teeda-ajax

    2006-05-21
  • Lingr: Chatrooms for the people

    Lingr provides the best chatrooms on the web. It's free, and requires no account. You can browse the hottest rooms and tags to find people to chat with. You can create your own rooms, and have them open to the public or hidden and private.what is Lingr? Lingr is an open community of chatrooms. You can chat about anything you want, in public or private rooms. No account is required, and no special

  • 1