开发者

Is there a PHP/Javascript/c#/java or ruby templating engine which supports hierarchical templates?

All template engines I encountered has only one level, whereas I want to define template开发者_如何学Go within template within template etc. like a russian doll.


Apache Tiles supports them, as well as SiteMesh.


Is template inheritance what you're looking for?

If so, stick that phrase in your searches or search for ports of Djano's template system.

From a quick search, I found a Java port, a PHP port, a bunch of them on the Node.js modules page, a .NET port and the inheritance piece done in ERB for Ruby.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜