比3层更好的架构 [英] Better architecture than 3 tier

查看:56
本文介绍了比3层更好的架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了3层之外,还有哪些更好的架构可供使用,因为我想了解一些优秀而强大的架构,所以任何人都可以指导我这个吗?我知道MVC但除此之外的任何东西。

What are the better architectures available other than 3 tier,as i want to learn about some good and robust architectures so can anyone guide me about this??I know about MVC but anything other than that.

推荐答案

一个选项可以是DDD:域驱动设计 [ ^ ]
One option can be DDD: Domain-Driven Design[^]






N-Tier体系结构和提示



N-架构和技巧 [ ^ ]



使用N层架构创建ASP.NET应用程序



[ ^ ]


架构取决于您的应用程序要求。假设您正在开发一个仅针对Web用户的应用程序,那么您可以使用3轮胎或可以使用n轮胎。我将优先考虑轮胎。



但您的应用程序也针对手机用户意味着手机应用程序,如Android,Windows等......那么你应该去SOA(面向服务架构)。





您应该专注于设计模式而不是架构。您可以在任何架构中实现任何设计模式。所以你应该专注于设计模式然后建筑。



就像具有抽象工厂模式的N轮胎建筑......
Architecture depends your application requirement. Suppose you are developing an application that target only Web Users then you can use 3-tire or can be n-tire. I will give the priority t n-tire.

But your application is also targeting mobile phone users means mobiles apps like Android, Windows etc...Then you should go with SOA (Service oriented architecture).


You should focus on design pattern instead of architecture. You can implement any design pattern in any architecture. So you should focus on design pattern then architecture.

Like N-tire Architecture with Abstract Factory Pattern...


这篇关于比3层更好的架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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