前段架构设计与技术选型

Posted by Chenyawei on 2020-03-16
Words 217 and Reading Time 1 Minutes
Viewed Times

一、架构设计

1、分层架构

定义:把功能相似,抽象级别相近的实现进行分层隔离

优势:松散耦合,易维护、易复用、易扩展。

常见的分层方式:MVC、MVVM

2、模块化

定义:解决一个复杂的问题,自顶向下逐层把系统分成若干模块的过程。

意义:解耦合,可并行开发。

模块化方案:AMD、CMD、commonJS、ES6

3、架构设计

image-20200316131142621

二、技术选型

image-20200316131307082

1、软件过程选择—敏捷开发

  • 定义:以用户的需求进化为核心,采用迭代、循序渐进的方法进行软件开发
  • 是一种迭代的意识和方法,而不是概念和工具
  • 优点:能够满足不断变化的需求
  • 不足:对团队成员的能力需求比较高

2、前后端分离方式—不分离

image-20200316131729235

image-20200316131747784

image-20200316131804311

image-20200316131819807

image-20200316131842898

image-20200316131901980

image-20200316131918559

image-20200316131939853


notice

欢迎访问 chenyawei 的博客, 若有问题或者有好的建议欢迎留言,笔者看到之后会及时回复。 评论点赞需要github账号登录,如果没有账号的话请点击 github 注册, 谢谢 !

If you like this blog or find it useful for you, you are welcome to comment on it. You are also welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them. Thank you !