[ 源代码: 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
- 面向对象脚本语言 Ruby 的解释器 (默认版本)
- 或者 ruby-interpreter
- 软件包暂时不可用