タグ

HTML5とWebに関するokagawaのブックマーク (2)

  • 2048

    How to play: Use your arrow keys to move the tiles. When two tiles with the same number touch, they merge into one! Note: The game on this site is the original version of 2048. Apps for iOS and Android are also available. Other versions are derivatives or fakes, and should be used with caution. Created by Gabriele Cirulli. Based on 1024 by Veewo Studio and conceptually similar to Threes by Asher V

    2048
  • こてさきAjax:HTTPで、サーバーPushサービス Server-Sent Events - livedoor Blog(ブログ)

    リアルタイムWebの代名詞としてWebSocketに注目が集まる中、あまり話題になることはありませんが、HTML5には、もう一つリアルタイムWebを実現するAPIとして、忘れてはならないもの〜Server-Sent Events〜があります。今日は、そのお話。 Server-Sent EventsはCometを簡単に使えるようにするAPI。ここで、Cometと言うと最近の風潮として「WebSocketに完全にreplaceされる、ワークアラウンドでしょ」的な空気が(最近は特に)流れがちですが、そんなことは決してありません。。。というのが筆者の意見です。 Cometは、HTTPでサーバーPushするための技術の総称。その中の一つで良く取り沙汰される、periodically polling(一定間隔で、ポーリングパケットを投げる)などは、確かに「ワークアラウンドだね」という言葉ですませていい

  • 1