The Salami slice pattern exposes all elements so you can reference and reuse them in other parts of the schema, and it makes them transparent to other schemas.
Salami slice范式暴露所有元素,所以您可以在模式的其他部分引用和重用它们,并且它让它们对其他模式是透明的。
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.
在该范式中,您可以将自己所有局部定义的元素都移动到全局定义中。
So to use an analogy that I think that David Kaplan, a philosopher of UCLA offers you've to think it more like a bologna or salami that you can slice.
这里我用一个类比,我想是加州大学哲学家大卫提出的,你要想象成一条大腊肠或者香肠,你可以切分的。
应用推荐