Vison's Blog
所有文章
文章总览
编辑器
Publications
About Me
Search
目录
#toc-container
下载Markdown文件
软件系统设计-第三课
2021年03月08日 13时04分
标签:
软件系统设计
 ## Lecture3 System Architechture ### Definition - Organization of Subsystems 层:横向划分 子系统:纵向划分 ### Style - Layered - Categories - C/S Client/Server - B/S Browser/Server - B/S是一种特殊的C/S =>C 是浏览器 - Two Layers - Server Layer - Presentation Layer - Three Layers - Presentation Layer - Business Logic Layer - 业务逻辑:多张表的增删改查 - Database Layer - 只负责数据的增删改查(CRUD) - Four Layers - Presentation Layer - Service Layer - 解耦,方便表现层替换 - Business Logic Layer - Database Layer - Features - Lower Layer Supports Higher Layer, and the higher layer depends on the lower layer - Only need to communicate with the neighboring layer - Good for maintainability, reusability, and cooperation - Bad for performance - MVC - Components - Model - Maintain domain knowledge - View - Display models to end-users - Controller - Manage interactions between models and views - Examples - Struts - SpringMVC - Another types - MVP - P-presenter - MVVM - P2P - Peer to Peer端到端 - Pear:each subsystem - Features - Each subsystem acts both server and client - 分布式的 - Reduce burden of the server - 去中心化 - Usage - BT Download - Video Play - Social Communication - Repository - Features - Database is important - Sharing some common data - Usage - Compiler - Pipe and Filter - Features - Output from one system is the input of another system - Pipe is the connection between systems - Filter means each system - Usage - Unix - Some new architectures - Service Oriented Architecture(SOA) - Micro Cores Architecture - Micro Services Architecture - Restful ### Major Design Goals - Maintainability - Layered - MVC - Reliability - Correct Response - Reusability - Try to make it abstract - Performance - 越简单性能越高
所有评论
暂无评论
新增评论
评论
邮箱
邮箱仅作验证使用
图形验证码
邮箱验证码
发送验证码
发表评论
所有评论
暂无评论