为了满足新的需求,设计也在不断演化,关键对象承担着各种模式角色,直到它们变得难以使用或者难以修改,最终不得不重构或者重写系统。
As the design evolves to meet new needs, key objects are loaded with pattern roles until they become hard to use or hard to change and the system has to be refactored or rewritten.
这是一个可用来创建单例类实例确不需要为每个特定的类重写单例模式代码的可重用的类。
This is a class that can be used repeatedly to instantiate a class as a singleton without having to re-write the singleton pattern code for that specific class.
如果我们让这些模式慢慢分开,那么软件很快就会变为古董,到了某一时刻,很多人就会放弃更改而决定重写。
If we allow these models to drift apart, then software quickly becomes legacy and at some point people just give up and decide to rewrite it from scratch.
为了使用流行的设计模式(MVC),您必须重写公司Web站点的代码,使模型和视图不特定于某种编程语言。
Using a popular design pattern (MVC), you must rewrite the code of the corporate Web site so the model and the view are not bound to a particular programming language.
Ranvier并不使用正则表达式把公共uri重写成私有uri,而是实现责任链(chain - of - responsibility)设计模式,把资源判断任务委托给相关代码。
Instead of using regular expressions to rewrite public URIs onto private ones, Ranvier implements a chain-of-responsibility design pattern to delegate resource determination to relevant code.
使用SETTRANSACTIONpassthrough和SET passthrough语句,可以在每个会话或每个事务中重写在配置文件中指定的默认SQL passthrough模式。
The default SQL passthrough mode that is specified in the configuration file can be overridden per session or per transaction using the SET transaction passthrough and SET passthrough statements.
基于配置和负载均衡器的负载均衡模式,请求被重写或传递到Server 1或Server2或Server3。
Based on the configuration and load-balancing pattern of the load Balancer, the request will be rewritten and passed to Server1 or Server 2 or Server 3.
在32位模式下重写局部变量。
在64位模式下重写局部变量。
在本文的后面,我将重写这个切点以展示一些测试模式。
Later in the article, I rewrite the pointcut as I demonstrate some of the testing patterns.
在用于应用程序池方面,不管是集成的还是经典的IIS管道模式,IISURL重写模块的工作方式都是相同的。
The IIS URL-rewrite module works the same way regardless of whether integrated or classic IIS pipeline mode is used for the application pool.
现在让我们讨论一下,如何通过在64位模式下重写局部变量更改给定进程的执行流程。
Now let's talk about how a given process's execution flow can be changed by overwriting a local variable in 64-bit mode.
采用这种方法时,使用循环日志模式,可以以循环方式重写日志。
With this method, circular logging is used and logs can be overwritten in a round robin manner.
与此相反的重写规则,我们将采用一个特定的重写战略的共同使用模式。
In contrast to the common usage pattern of rewrite rules we will employ a specific rewriting strategy.
Rubinius虚拟机目前正在使用C++重写,在重写之后希望可以包含实现“active模式”消息传递的全部特性。
The Rubinius VM is presently being rewritten in C++, after which it will hopefully have all the features necessary to implement "active mode" message delivery.
如果保留默认的“crc32”命名模式,每次运行fibonacci . php时,将重写数据文件。
If you retain the default "crc32" naming scheme, each time you run fibonacci.php, the data file is overwritten.
用线性式对这种组合模式进行重写并把它称作短语结构规则或重写规则。
Phrase structural rules: The combinational pattern in a linear formula may be called a phrase structural rule or rewrite rule.
查询在连接的模式映射组成的映射路径上,通过多次重写转发实现多数据源的数据共享。
On the mapping path composed of connecting schema mappings, queries are reformulated and forwarded for multiple times to achieve data sharing among multiple data sources.
查询在连接的模式映射组成的映射路径上,通过多次重写转发实现多数据源的数据共享。
On the mapping path composed of connecting schema mappings, queries are reformulated and forwarded for multiple times to achieve data sharing among multiple data sources.
应用推荐