[ 原始碼: ruby-mustache ]
套件:ruby-mustache(1.0.2-1)
Mustache is a framework-agnostic way to render logic-free views
Inspired by ctemplate, Mustache is a framework-agnostic way to render logic-free views. (As in model-view-controller.)
As ctemplates says, "It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language."
Think of Mustache as a replacement for your views. Instead of views consisting of ERB or HAML with random helpers and arbitrary logic, your views are broken into two parts: a Ruby class and an HTML template.
其他與 ruby-mustache 有關的套件
|
|
|
|
-
- dep: ruby
- Interpreter of object-oriented scripting language Ruby (default version)
- 或者 ruby-interpreter
- 套件暫時不可用