开发者

Other Rails templates types

Erb is the default template type in开发者_运维百科 Rails and I read about Haml.

What other types exist and can be used in Rails?

Thanks.


Take a look at the Ruby Toolbox.

I only know Mustache, Liquid and Markaby of those above, but seems there are pretty many other alternatives.


Rails 3 uses Erubis by default.


You may also want to take a look at slim, which is elegant in a HAML fashion but apparently faster! https://github.com/stonean/slim

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜