所有设计模式都是相同的(我不与业务层交互)是正确的 [英] all design patterns are same i mean(ui do't interactive with business layer) is this is correct

查看:109
本文介绍了所有设计模式都是相同的(我不与业务层交互)是正确的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我尝试了工厂模式,我了解了,
我的疑问是
所有设计模式都是相同的(我不与业务层进行交互)是正确的吗?

Hi ,
i tried factory pattern i understood,
my doubt is
all design patterns are same i mean(ui do''t interactive with business layer) is this is correct

推荐答案

我不明白您的问题. UI层必须与业务层进行交互.您是说大多数设计模式都不与UI层交互吗?不,那不是真的.某些设计模式(例如MVC)与表示层密切相关.
I don''t understand your question. The UI layer MUST interact with the business layer. Do you mean that most design patterns don''t interact with the UI layer ? No, that''s not true. Some design patterns, such as MVC, are intimately tied with the presentation layer.


这篇关于所有设计模式都是相同的(我不与业务层交互)是正确的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆