开发者

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

开发者 https://www.devze.com 2023-03-17 07:45 出处:网络
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

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

精彩评论

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