当前位置:网站首页>分层架构&SOA架构
分层架构&SOA架构
2022-08-11 04:36:00 【m0_66404702】
一、分层架构的类型
分层架构是很长见的架构模式,它也可以称之为N层架构;通常情况下,N至少是两层,例如我们常见的C/S架构和B/S架构。在我们开发web应用或者android的应用是常用的是三层架构,例如MVC(javaWeb)、MVP(android);当然除此之外,还有4层架构和5层架构、5层架构较为少见;
分层架构
我们常说的四层架构的分法,就是想把软件设计师工作量降下来,减少重复性的代码,提高开发速度,使软件有相当好的可维护、易扩展,这种四层架构对多人开发同软件来说,可以有个清晰的思路。我把系统分成表示层(UI)、业务逻辑层(Bussiness)、数据访问层(DataAccess)、数据实体层(DataEnity)。如果你还考虑到数据库设计的话,就是五层架构。我的出发点是从软件设计师角度,所以说是四层。其中,最好把所有的存储过程和SQL语句都写在数据库里,可以便于数据库的改变的修改和维护,同时也可以减少程序中的不稳定性。
逻辑结构分层架构
简单来说,逻辑分层是自顶向下的依赖。如操作系统内核架构、TCP/IP架构
1. linux操作系统架构

2. TCP/IP架构


边栏推荐
- js uses the string as the js execution code
- Object Creation and Display Transformation
- Provincial level of Echart maps, as well as all prefecture-level download and use
- [Note] Is the value of BatchSize the bigger the better?
- 0 Basic software test for career change, self-study for 3 months, 12k*13 salary offer
- MYSQLg advanced ------ clustered and non-clustered indexes
- 标识密码技术在 IMS 网络中的应用
- 【实战场景】商城-折扣活动设计方案
- [Actual combat scene] Mall-discount event design plan
- What is Machine Reinforcement Learning?What is the principle?
猜你喜欢

【深度学习】基于卷积神经网络的天气识别训练

简历里写了会代码,却依然过不了面试这一关

LeetCode刷题第16天之《239滑动窗口最大值》

Read the article, high-performance and predictable data center network

I wrote some code in my resume, but I still can't pass the interview

嵌入式分享合集33

获取Qt的安装信息:包括安装目录及各种宏地址

Provincial level of Echart maps, as well as all prefecture-level download and use

使用jackson解析json数据详讲

【人话版】WEB3将至之“权益的游戏”
随机推荐
set_new_handler(0)是什么意思?有什么用?
I wrote some code in my resume, but I still can't pass the interview
[Note] Is the value of BatchSize the bigger the better?
力扣——旋转数组的最小数字
Common layout effect realization scheme
如何缓解压力、拒绝内耗【1】
源代码加密技术浅析
CAN/以太网转换器 CAN与以太网互联互通
洛谷P2150 寿司晚宴
rub the heat - do not open
To break the bottleneck of transactional work, the gentleman signs the electronic contract to release the "source power" of HR!
Solve the problem of multi-thread calling sql stored procedure
[C Language] Getting Started
北湖区燕泉街道开展“戴头盔·保安全”送头盔活动
关于数据分页显示
shell monitors gpu usage
"125 Palindrome Verification" of the 10th day string series of LeetCode brushing questions
堆排序 和冒泡排序
干货:服务器网卡组技术原理与实践
视觉任务种常用的类别文件之一json文件