gpt4 book ai didi

architecture - "Layers"和 "Tiers"之间有什么区别?

转载 作者:行者123 更新时间:2023-12-03 04:10:11 24 4
gpt4 key购买 nike

“层”和“层”有什么区别?

最佳答案

Logical layers are merely a way oforganizing your code. Typical layersinclude Presentation, Business andData – the same as the traditional3-tier model. But when we’re talkingabout layers, we’re only talking aboutlogical organization of code. In noway is it implied that these layersmight run on different computers or indifferent processes on a singlecomputer or even in a single processon a single computer. All we are doingis discussing a way of organizing acode into a set of layers defined byspecific function.

Physical tiers however, are only aboutwhere the code runs. Specifically,tiers are places where layers aredeployed and where layers run. Inother words, tiers are the physicaldeployment of layers.

来源:Rockford Lhotka,Should all apps be n-tier?

关于architecture - "Layers"和 "Tiers"之间有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/120438/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com