数据传输对象与域模型 [英] Data Transfer Objects versus Domain Model

查看:94
本文介绍了数据传输对象与域模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是这个主题的新手,所以我欢迎任何人的意见。您能否建议使用最佳方法来开发包含Web服务的Web应用程序。摆在我面前的选择是仅使用DTO或包含域模型。您能否解释使用域模型和/或DTO的含义。从编码的角度来看这意味着什么(安全性/可维护性等)

非常感谢

Hi all,

I am new to this subject and so I would welcome anyone's input. Could you please advise on the best approach to use for the development of a web application which contains web services. The choice put before me is to only use DTOs or to include Domain Model. Would you be able to explain the implications of using domain model and/or DTOs. What does that mean from a coding point of view (security/maintainability etc)

Thanks a lot

推荐答案

再次嗨
是否熟悉可能提供建议的DTO或域名模型?
Hi again

Is there anyonw familiar with DTOs or Domain Models who could possibly advise?


这篇关于数据传输对象与域模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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