其他框架进一步提取大量步骤,并使用较少的样板文件提供一个更有逻辑的工作流。
Other frameworks go further by abstracting many of the steps and providing a more logical flow with less boilerplate.
很显然,该代码的样板文件可重复使用,我们通常会在面向对象语言中通过创建架构来实现。
Clearly, the boilerplate portion of this code could be reused, and we typically do so in object-oriented languages by creating structure.
样板文件还是内联内容?
应用推荐