オンラインゲームの仕組みや工夫を調べてみたのを社内勉強会で発表した。ときのスライド。の公開用。 オンラインゲームの種別とそれぞれの仕組みについての話と、オープンソースになっているQuakeの仕組みの話、という2つの話が主なトピックRead less
Meteorの基本的なAPIを紹介 前回は、Meteorプロジェクトのディレクトリ構造と、それらがMeteorによって実行時にどのように取り扱われるかを解説しました。それにより、MeteorはクライアントとサーバをどちらもJavaScriptで記述でき、コードの共有も非常に容易だということを明らかにしました。 今回は、「サーバとクライアントのどちらもJavaScriptで書ける」というMeteorの特色を示すような、Meteorの基本的なAPIについて解説します。 MeteorのコアAPI まずは最も基本的なAPIとして、以下の3つがあります。 Meteor.is_client 現在のコードがクライアント上で実行されている場合はtrue Meteor.is_server 現在のコードがサーバ上で実行されている場合はtrue Meteor.startup() アプリケーションの開始後に呼び
はじめに 表題の通り,POP3クライアントをSocketとJavaMailを使って作り比べてみよう. まず,動作環境は以下の通り. Microsoft Windows XP Professional SP1a Java 2 SDK Standard Edition 1.4.2_04 JavaMail 1.3.1 JAF(JavaBeans Activation Framework) 1.0.2 こんな要件としよう.プログラムを単純にするために,GUIは使わずコマンドラインだ. プログラムを起動すると,コマンドラインにread:を表示してコマンドの入力を待つ 入力可能なコマンドはlist/read/quitの3種類 listでメールサーバにあるメールの件数を表示 read NでN番目のメールの内容を表示.例えば,2通目のメールを表示する場合はread 2と入力 quitでプログラムを終了 受
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く