当前位置:网站首页>分层架构&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架构
边栏推荐
- 使用百度EasyDL实现森林火灾预警识别
- About the pom.xml file
- map和set--天然的搜索和查找语义
- 二叉堆的基础~
- CAD2020 打开错误报告 e06d7363h Exception at 13644F69h
- Switch---Spanning Tree---Three-layer Architecture Summary
- Redis deletes keys in batches according to regular rules
- Object Creation and Display Transformation
- 《卫星界》刊评“星辰大海”计划:孙宇晨为太空旅游带来新的机遇
- Add PRODUCT_BOOT_JARS and classes to provide jar packages to applications
猜你喜欢
"104 Maximum Depth of Binary Trees" in LeetCode's Day 12 Binary Tree Series
Which one to choose for mobile map development?
Read the article, high-performance and predictable data center network
LeetCode刷题第11天字符串系列之《 58最后一个单词长度》
How to learn machine learning?machine learning process
What is ensemble learning in machine learning?
Object Creation and Display Transformation
【组成原理 九 CPU】
无线电射频能量的收集
To break the bottleneck of transactional work, the gentleman signs the electronic contract to release the "source power" of HR!
随机推荐
js uses the string as the js execution code
LeetCode刷题第12天二叉树系列之《104 二叉树的最大深度》
【服务器安装Redis】Centos7离线安装redis
MySQL database storage engine and database creation, modification and deletion
破解事务性工作瓶颈,君子签电子合同释放HR“源动力”!
洛谷P5139 z小f的函数
使用百度EasyDL实现智能垃圾箱
如何将360全景图导出高清短视频分享到视频平台上?
Mysql: set the primary key to automatically increase the starting value
【组成原理 九 CPU】
洛谷P2245 星际导航
简历里写了会代码,却依然过不了面试这一关
自研能力再获认可,腾讯云数据库入选 Forrester Translytical 报告
【深度学习】基于卷积神经网络的天气识别训练
常见布局效果实现方案
Harvesting of radio frequency energy
【yolov7系列三】实战从0构建训练自己的数据集
MQ框架应用比较
洛谷P6586 蒟蒻火锅的盛宴
LeetCode814算题第15天二叉树系列值《814 二叉树剪枝》