Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
chjw committed Feb 23, 2017
1 parent bd69953 commit 4de5579
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion c4/s1.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# (一) 应用分层

1.**【推荐】**图中默认上层依赖于下层,箭头关系表示可直接依赖,如:开放接口层可以依赖于Web层,也可以直接依赖于Service层,依此类推:
![图片](http://thumbnail0.baidupcs.com/thumbnail/eff19084f572f7251e5ebe8b536325e0?fid=524837358-250528-794167125372554&time=1487818800&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-4MMz%2B13PsoDwqydHVhYRD%2FskBMA%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=1240616719259680386&dp-callid=0&size=c710_u400&quality=100)

![图片](http://thumbnail0.baidupcs.com/thumbnail/eff19084f572f7251e5ebe8b536325e0?fid=524837358-250528-794167125372554&time=1487818800&rt=sh&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-4MMz%2B13PsoDwqydHVhYRD%2FskBMA%3D&expires=8h&chkv=0&chkbd=0&chkpc=&dp-logid=1240616719259680386&dp-callid=0&size=c710_u400&quality=100)

* 开放接口层:可直接封装Service接口暴露成RPC接口;通过Web封装成http接口;网关控制层等。
* 终端显示层:各个端的模板渲染并执行显示层。当前主要是velocity渲染,JS渲染,JSP渲染,移动端展示层等。
* Web层:主要是对访问控制进行转发,各类基本参数校验,或者不复用的业务简单处理等。
Expand Down

0 comments on commit 4de5579

Please sign in to comment.