要理解这一点,我们首先需要看一看早期那些制作精良的戏剧形式,这基本上就是一种构建戏剧的模式。
To understand this though, we first need to look at an earlier form of drama known as the well-made play, which basically was a pattern for constructing plays.
这就是为什么呼吁采用印度模式的植物性饮食会有可能给发展中国家的本已弱势的群体带来另一打击。
This is why calls for a plant-based diet modeled on India risk offering another whip with which to beat already vulnerable communities in developing countries.
另一组,也就是对照组,每天摄入50到60克蛋白质,其应用的是典型低卡路里饮食模式。
The other group—the control group—was put on a typical low-calorie diet with about 50 to 60 grams of protein a day.
一个同等重要的,能够帮助保存有用的行为模式的机制就是习惯。
An equally important mechanism that assists in the preservation of useful behavior patterns is habit.
这就是开发下面这种设计模式的动机。
This is the motivation behind developing the following design pattern.
实际上,横切关注点代码的注入,就是一种类型的模式。
In fact, the injection of code for crosscutting concerns is a pattern of sorts.
这就是在小学和初中时所有的老师都要你遵循的写作模式。
This is the model of writing that all the elementary and junior high teachers wanted you to follow.
这就是法律与医疗行业以及包括财务、建筑和工程在内的其他行业的模式。
This is the model for the legal and medical professions and others, including accounting, architecture, and engineering.
改变习惯的最困难的部分就是由于它们是一种模式。
The hardest part about changing habits is that they're a pattern.
其中的关键就是模式匹配,如图1 所示。您不需要编写命令,需要编写的是模式。
The key is pattern matching, as in Figure 1. Instead of coding commands, you code patterns.
最简单的方法就是在工厂模式中把代理类的建立封装起来。
The simplest approach is to encapsulate the creation of the proxy class within the Factory pattern.
为变量赋值实际上就是一种特殊的模式匹配。
Assigning values to variables is actually a special type of pattern matching.
捕捉惯用模式最简单的方式就是将它们作为自身的API或框架予以提取。
The easiest way to capture idiomatic patterns is to extract them as their own API or framework.
就访问者模式而言,本文未加详述的另一各方面就是迭代顺序。
Another aspect of the Visitor pattern not closely examined here is iteration order.
活动模式的思想就是让你能把模式匹配语法用于其他数据结构。
The idea of active patterns is to enable you to use the pattern matching syntax with other data structures.
这就是将在书上看到的内容,如有关适配器模式的章节。
This is what you would find in the book, say in the chapter on the adapter pattern.
其中使用最广泛的一个模式就是模型-视图-控制器(mvc)。
One of the most widely used patterns is Model-View-Controller (MVC).
MVC模式天生就是可测试的,而且鼓励对关注点的分离。
By nature, the MVC pattern is highly testable and encourages good separation of concerns.
其中的一个具体功能就是服务网关组件,它对于ESB模式非常关键。
A concrete capability is the service gateway component, which is critical to the ESB pattern.
最有效的解决方案也许就是创建一个包含组件模式集合的复合模式。
The efficient solution may be to create a composed pattern, which comprises a set of component patterns.
ESB就是这些可选实现模式之一。
The ESB is one of those alternative implementation patterns.
也就是品牌推广、构建联系和拥有优秀的商业模式。
So is branding and making connections and having a good business model.
现存的群体行为的模式就是这样做的。
在基于模式的开发中,目的地也许就是新的模式的起源。
In pattern-driven development, the destination may be the origin for new patterns.
从技术上讲,就是需要一种能够调用其“标准”呈现模式的内容类型。
To be technically accurate, it simply needs a content type that invokes its "standards" rendering mode.
而新的商业模式就是要让内容(在过去就是各种产品)的光辉盖过技术。
The new business model is to try to let the content -the product, as it were -eclipse the technology.
一旦形成这种新的模式,它就是会变成自动的行为反应。
Once the pattern is formed, it becomes an automatic behavioral response.
模式复合的目标就是捕获协同工作的模式的使用。
The goal of pattern composition is to capture the commonly known USES of patterns that work together.
这就是设计模式存在的原因 --不同的方法解决不同的问题。
That's why design patterns exist -- different approaches to solve different problems.
这就是设计模式存在的原因 --不同的方法解决不同的问题。
That's why design patterns exist -- different approaches to solve different problems.
应用推荐