... Application Layer (应用层) Domain or Model Layer(领域或模型层) Infrastructure Layer(基础结构层) ...
基于28个网页-相关网页
Because database tables by themselves do not have behavior, it's tempting to put the behavior of domain-model entities in services or the view layer.
因为数据库表本身没有行为,开发人员常常把领域模型实体的行为放在服务或视图层中。
Model your API after a service, or domain model; expose methods and properties as resources of your API layer.
你的API服务模式后,或域模型;暴露的方法和属性作为您的API层资源。
应用推荐