If schema size is an issue, then the Russian Doll is appropriate.
如果模式大小是要考虑的问题,那么俄罗斯娃娃比较适合。
“It's like a Russian doll, a matryoshkadoll,” commented Mrs Merkel.
“它像个俄罗斯洋娃娃,一个俄罗斯套娃,”默克尔夫人如此评价。
“It’s like a Russian doll, a matryoshkadoll, ” commented Mrs Merkel.
“它像个俄罗斯洋娃娃,一个俄罗斯套娃,”默克尔夫人如此评价。
There is more granularity at this level than at the Russian Doll level.
这一级别比俄罗斯娃娃级别有更多的粒度。
The Russian Doll pattern provides the least extensible schema structure.
Russian Doll模式提供了具有最低扩展性的模式结构。
Components contain all the relevant components within themselves (like a Russian doll).
将所有相关组件包含于自身的组件(象一个俄罗斯娃娃)。
The following schema contains the same Employee information listed in the Russian Doll pattern but is presented differently.
以下模式包含与Russian Doll模式相同的Employee信息,但采用不同的方式对其进行表示。
The Russian Doll pattern has a nested structure with only one global element, such as element "Employee" — as seen in the following example.
Russian Doll模式采用的是仅具有一个全局元素的嵌套结构,如以下示例中的元素“Employee”。
The Russian Doll design is the least extensible since three out of four types are locally defined and therefore inaccessible to anything else.
俄罗斯娃娃式设计是最不易扩展的,因为四个类型中有三个是局部定义的,所以它们不能被任何其它组件访问。
The Russian doll pattern defines all subelements locally; thus, each element and its type are encapsulated by their parent, much like the Russian dolls.
Russian doll 范式局部地定义所有子元素;因此,每个元素及其类型都封装在其父元素之中,就像俄罗斯套娃那样。
If schema reuse is not imperative and minimizing size is, use the Russian doll style, because it is compact and can be used to maximize namespace hiding.
如果模式重用不是特别重要,而最小化代码大小却很必要,那么请使用Russian doll风格,因为它很紧凑,可以用来最大化名称空间隐藏。
One of those discoveries is that, like part of a cosmic Russian doll, our universe may be nested inside a black hole that is itself part of a larger universe.
其中一个发现便是,我们的宇宙就像是俄罗斯套娃的一部分,可能栖身于一个黑洞内,而这个黑洞本身又是一个更大宇宙的一部分。
In this pattern, you move all your locally defined elements into global definitions. Listing 10 shows the Russian doll style example in Listing 8 modified to fit the Salami slice pattern.
在该范式中,您可以将自己所有局部定义的元素都移动到全局定义中。
A beautifully crafted Russian doll dangles from this gold-plated bracelet. Sparkling elegantly in crystal Moonlight, Fuchsia and clear crystal pave, this adorable creation is certain to turn heads.
这款可爱趣致的镀金色手链上,缀有一个造工精巧,闪现密镶月光色、紫红色与透明水晶的俄罗斯娃娃,肯定会让佩戴者惹来艳羡目光。
The result is a “Russian-doll” droplet that, if the correct oily and aqueous liquids are chosen, can be made permanent by curing some of its layers into transparent polymers using ultraviolet light.
如果油性和水性液体的选择正确,就能用紫外线把一些层处理成透明多聚体,从而使这些液滴永久化。
The result is a “Russian-doll” droplet that, if the correct oily and aqueous liquids are chosen, can be made permanent by curing some of its layers into transparent polymers using ultraviolet light.
如果油性和水性液体的选择正确,就能用紫外线把一些层处理成透明多聚体,从而使这些液滴永久化。
应用推荐