You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
「ナタリー」「ゼゼヒヒ」「ポリタス」 カタカナ4文字のモノばかり、作って来ました。 現在はスマホ向けRTS「カラクリ合戦伝」を開発中。 Rails + Backbone.js + JavaScriptテンプレートエンジンでのアプリ開発を行う中で、Railsとクライアント側で共通のテンプレートエンジンを使えないかと色々しらべてみました。 最初は、RubyとJavaScript両方の実装があるMastacheを考えていたのですが、Mastacheとテンプレートの記述に上位互換を持ちつつ機能を拡張したHandlebars.jsには、テンプレートをJavaScriptにコンパイルして高速化する機能などがあるということで、まずHandlebars.jsから着手。 「Rails handlebars.js」とかでググるといろんなツールが出てきて頭がクラクラすると思います。ぼくもクラクラしながら状況をま
Semantic templates Handlebars provides the power necessary to let you build semantic templates effectively with no frustration. Mustache-compatible Handlebars is largely compatible with Mustache templates. In most cases it is possible to swap out Mustache with Handlebars and continue using your current templates. Fast execution Handlebars compiles templates into JavaScript functions. This makes th
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く