检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:吴晓一 WU Xiao-yi(Xiamen University Tan Kah Kee College,Zhangzhou 363105,China)
出 处:《软件》2020年第8期175-179,共5页Software
摘 要:MVC架构作为一种经典的软件架构,多年以来被业界广泛使用。但由于MVC代码复杂、效率低下等缺点,很多研究尝试对其进行改良。近年来,伴随着RESTful API的提出,以及前端框架的流行,前后端分离架构逐渐开始取代传统的MVC架构成为业界主流。本文基于前后端分离架构提出了一个由客户端、接口和数据库构成的最简模型,在该模型的基础上又提出了一个简洁、高效的产品设计模式(DASP)。并以一个电子留言板的实际案例详细阐述了该模式的具体设计流程,表明了该模式的有效性和高效性。As a classical software architecture,MVC architecture has been widely used in the industry for many years.However,due to the complexity and low efficiency of MVC,many studies have tried to improve it.In recent years,with the introduction of RESTful APIs and the popularity of front-end frameworks,the front-end and back-end separation architectures have gradually begun to replace the traditional MVC architecture and become the mainstream of the industry.This paper proposes a simple model consisting of client,interface and database based on the front-end and back-end separation architecture.Based on this model,a simple and efficient product design pattern(DASP)is proposed.An actual case of BBS is used to elaborate on the specific design process,indicating the effectiveness and efficiency of this pattern.
关 键 词:DASP 前后端分离 设计模式 RESTful API
分 类 号:TP3[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.119.131.131