gpt4 book ai didi

model-view-controller - Model View Controller ,每个词代表什么

转载 作者:行者123 更新时间:2023-12-04 08:38:33 25 4
gpt4 key购买 nike

<分区>

我搜索了那个答案,但看起来每个人对此都有不同的理解:(与 3 层/3 层相比)

"

Model - business logic

View - presentation logic

Controller - changing state of model and view (based on use input)

"

其他人写道:

" views = frontend ( presentation logic )

models = backend ( Data Access Layer? )

controllers = glue between frontend and backend ( middle tier?business logic ) "

如果我当时理解:

model- 是业务逻辑层吗?

view- 是表示层\层吗?

Controller - ?

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