InfoQ Software Architects' Newsletter A monthly overview of things you need to know as an architect or aspiring architect. View an example
RubyKaigi2009の最終日に同じ場所で開催された別のイベント「RejectKaigi2009」にて 「はじめてのRuby1.9プログラミング」と題して、記号Polyglotプログラミングの話をしてきました。 3分という限られた時間でありましたが、貴重な発表の機会を与えてくださりありがとうございます。 取り急ぎプレゼンで披露した記号Polyglotのプログラムを公開しておきます。 ■ hello.pl (という名前ですが、Perlの他にRubyやJavaScriptでも実行できるプログラムです) "#{",$/*"}";%#=();$^_^=’?“;">)~${`&&@`{;:+`[[‘,$^_^=’/?")-=^{(=!".=.!,!)&&>’,$^_^=’`-+|{!?“*.((-+({:^(_^’,$^_=”^’+@$@&’^’^.@%@’.’$^_^"";’.$^_^"",’
Google Chrome looks cool, ok… But what is even cooler for me is V8, the super JavaScript VM. JavaScript is a dynamic language, just like Ruby. You can add stuff to objects at runtime, like Ruby. It’s object oriented, like Ruby. It has a GC, like Ruby. … What if we could run Ruby on V8? Well, it’s a lot easier that you think. If you remember a while ago, someone released HotRuby. It runs YARV bytec
スクリプト言語の比較 *1 *2 *3 *4 *5 *6 *7 コメント 行の継続 定数 未代入の変数へのアクセス 変数の展開 入出力 出力 フォーマット出力 出力先変更 標準入力 __END__ 演算 +1 整数/整数 負数の除算 文字列 真と偽 多重代入 多岐分岐 関数 関数 関数引き数 関数引数に対する副作用 関数のデフォルト引数の値の評価タイミング 関数のデフォルト引数にコンテナ型を使用した場合の振舞 関数戻り値 関数の再帰 関数の別名 関数定義内関数定義 関数の引数の順番 関数にファイルハンドルを渡す オブジェクト指向 クラスの定義 インスタンスメソッドの定義 メソッドのクラス内での利用 インスタンスメソッドの可視性 インスタンスメソッドの追加 インスタンス変数 インスタンス変数の可視性 インスタンス変数の追加 クラス変数 クラスの継承 多重継承 スーパクラスのメソッド呼び出し
Have a pattern you want to test? Give it a shot. ReJax does one thing and one thing well: pattern testing. Updated June 27th, 2007 ReJax has been down for a while, but is back up now. Sorry for the trouble :) Supported languages: JavaScript PHP 5 PCRE PHP 5 POSIX Ruby - BETA!! PERL 5 UNIX Shell Pattern It is not necessary to enter the beginning and ending slashes in the pattern field. Not all modi
● [Rails] RJS Template RJS Template は Ajax レスポンス用の JavaScript コードを生成する新しいテンプレート機能です。(JavascriptGeneratorTemplatesとも呼ばれています)。通常のテンプレート(rhtml)が出力するHTMLを記述するのに対して、RJSテンプレートでは既存のHTMLページのDOM要素に対する操作を記述します。これまで Rails で Ajax ヘルパを利用する場合、JavaScriptHelper の多くの remote 系メソッドでは、:update でID指定されたDOM要素の内容を Ajax action の実行結果のHTMLで置換(追加)する形式だったため、複数の要素を更新したり動的に(Controller側でその実行結果に応じて)更新対象の要素を決定することはできませんでしたが(*1)、RJ
Captcha security check kavascript.com is for sale Please prove you're not a robot View Price Processing
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く