Returns block text from child template. See template inheritance.
返回子模版文本块。参见模板继承。
We discussed how template inheritance can be used to add behaviors (like starting and committing a global transaction) transparently to the servlet code.
我们讨论了如何使用模板继承来向servlet代码透明的添加行为(比如启动和提交全局事务)。
Kid also supports template inheritance, in which derived templates can extend from base templates so that common code can be created and maintained in one location.
Kid还可以支持模板继承(template inheritance),这样所生成的新模板就可以对基本模板进行扩充,从而可以在一个地方创建并维护通用代码。
Django templates support a concept called template inheritance, which allows site designers to create a uniform look and feel without repeating content in every template.
Django模板支持称为模板继承(template inheritance)的概念,它允许站点设计人员创建一个统一的外表,而不用替换每个模板的内容。
The Template Method pattern suggests that I should move common boilerplate code up the inheritance hierarchy, deferring algorithmic details to child classes.
TemplateMethod模式建议,应当将公共模板代码移到继承层次结构之上,将算法细节推迟到子类。
This is slightly more complex to implement than the version using concrete inheritance with the Template Method pattern, but is more flexible.
这稍微的更复杂去实现比用模板方法模式在类继承的版本中,但是也更灵活。
Hierarchy of class template is generated due to the combination of class template and inheritance.
由于类模板与继承的结合,产生了所谓的类模板的层次结构。
Hierarchy of class template is generated due to the combination of class template and inheritance.
由于类模板与继承的结合,产生了所谓的类模板的层次结构。
应用推荐