SJ:封闭式设计和部署。
在所有分布式设计中都会用到它。
用AOP进行透明的契约式设计。
我用增量式设计构建了这个模式实例。
I created the example for that pattern using incremental design.
信封式设计,衬以灰色背景——给人一种极端神秘的感觉。
An enveloped style design against a grey background – evoking a top secret feel to it. (by Jason Kottke)
劝导式设计是通过设计来积极影响世界的下一个阶梯。
Persuasive design is the next step in using design to create a positive impact in the world.
注意,在生产部署时可以关闭契约式设计测试,以消除它们的开销。
Note that Design by Contract tests can be turned off in production deployments to remove their overhead.
BertrandMeyer介绍了契约式设计的概念。
Bertrand Meyer introduced the concept of Design by Contract.
人们已经在实践着劝导式设计,但是用户体验在拖着后腿。
People Are Already Practicing Persuasive Design, but UX Lags behind.
结果是,“进化式设计”法则能被应用的产品范围得到增长。
As a result, the range of products to which evolutionary-design principles are being applied is growing.
理解了用AOP实现契约式设计的必要基础设施后,就可以让它工作了。
Now that you understand the necessary infrastructure for implementing Design by Contract with AOP, you can put it to work.
契约式设计也做了显式的合约定义,而在单元测试中这些更隐式。
Design by contract also makes explicit the contract definition that is more implicit in unit tests.
例如,配置管理工具可以支持每日部署、增量式设计和持续集成。
For example, configuration management tool supports daily deployment, incremental design and continuous integration.
正如其名字所表示的那样,“进化式设计”的技术是从生物学借鉴过来的。
As its name suggests, evolutionary design borrows its ideas from biology.
从实践角度讲,劝导式设计是和商业目标、用户目标都紧密相连的。
From a practical perspective, persuasive design is strongly aligned with both business and user goals.
AspectJ主页:了解使用方面进行契约式设计测试的更多内容。
AspectJ home page: Learn more about using aspects for Design by Contract testing.
正如前面提到过的,单元测试和契约式设计用不同的方式实现类似的目标。
As previously noted, it is true that unit testing and Design by Contract accomplish similar objectives by different means.
另一种方法是契约式设计,这是阐明组件设计细节的一项切实可行的技术。
Another approach is design by Contract, a proven technique for clarifying component design details.
契约式设计避免了额外的编码并提高了性能,只要所有的客户都遵守契约。
Design by contract avoids extra code and improves performance, as long as all clients of a class abide by the contract.
使用契约式设计,可以用可编程表达式指定对于组件输入和返回结果的要求。
With Design by Contract, you can use programmatic expressions to specify the requirements on inputs to a component, as well as on the returned results.
所以,严格来说,契约式设计看起来可能根本不是AOP 技术的备选方案。
Therefore, strictly speaking, it may appear that Design by Contract isn't an appropriate candidate for an AOP approach at all.
人们不需要费很大力气就能找到劝导式设计的优秀例子;它们如此优秀以至于经常被人议论。
One need not look far to see examples of good persuasive design; they get talked about because they're exciting.
据DigiTimes透露,和鑫公司送样的触屏面板采用的是投射电容式设计。
According to the DigiTimes story, the sample displays are projected capacitive touch panels.
重要模式包括契约式设计、定义良好的接口、可组合性、可预测的行为和组件测试。
Significant patterns include design by contract, well-defined interfaces, composability, predictable behavior, and component testing.
接着谈到契约式设计(Designby Contract)原则和需求管理。
He then goes into Design by Contract principles, and requirements management.
契约式设计让类的设计者专注于实现了类的功能性的逻辑,而不用担心实参的有效性。
Design by Contract lets the class designer concentrate on the logic that implements the class functionality without worrying about the validity of arguments.
如果你是开发者,你可以使用那些高级功能,但需要进行功能探测并提供渐进式设计。
If you are an application developer, you are free to target "advanced functionality," but you should be doing feature detection and progressive enhancement.
契约式设计的一个主要优势是,它在接口或类本身当中提供了关于预期行为的显式信息。
One of the major benefits of Design by Contract is that it provides explicit information within the interface or class itself about expected behavior.
像Contract4J这样的契约式设计工具在单元测试比较分散或比较困难的时候最有帮助。
A Design by Contract tool like Contract4J is most helpful in situations where unit testing is sparse or difficult.
像Contract4J这样的契约式设计工具在单元测试比较分散或比较困难的时候最有帮助。
A Design by Contract tool like Contract4J is most helpful in situations where unit testing is sparse or difficult.
应用推荐