叼着奶瓶逛酒吧

02--框架与库的区别

电脑版发表于:2019/10/17 11:24
  • 框架:是一套完整的解决方案;

    • 对项目的侵入性较大,项目如果需要更换框架,则需要重新架构整个项目。

    • node 中的 express;

  • 库(插件):提供某一个小功能,对项目的侵入性较小,如果某个库无法完成某些需求,可以很容易切换到其它库实现需求。

    • 从Jquery(pc端js库) 切换到 Zepto(手机端的js库)

    • 从 EJS 切换到 art-template


关于TNBLOG
TNBLOG,技术分享。技术交流:群号677373950
ICP备案 :渝ICP备18016597号-1
App store Android
精彩评论
{{item.replyName}}
{{item.content}}
{{item.time}}
{{subpj.replyName}}
@{{subpj.beReplyName}}{{subpj.content}}
{{subpj.time}}
猜你喜欢