【Frontend】Library vs. Framework

2020-03-25  本文已影响0人  rainyforest

很多时候我们会困惑,library 和 framework究竟有什么区别。
library: a collection of functions
frameworks: a particular implementation of a web application
按照个人理解,framework应该是更加系统化的,同时也提供了除了函数以外的很多额外的用法。比如写好的对象等。

这两个概念在web中还有理念上的区别,涉及到Imperative vs Declarative Programming.
Imperative: specify step by step the way to accomplish a problem.
Declarative: specify the things need to be accomplish and leave details to the framework.

更详细的在之后的学习中会学到。

上一篇 下一篇

猜你喜欢

热点阅读