3 ms·
Actually, from the AngularJS FAQ: "AngularJS fits the definition of a framework the best, even though it's much more lightweight than a typical framework and t
by arethuza 13y ago
Actually, from the AngularJS FAQ:
"AngularJS fits the definition of a framework the best, even though it's much more lightweight than a typical framework and that's why many confuse it with a library."
https://docs.angularjs.org/misc/faq https://docs.angularjs.org/misc/faq
[NB I was curious as I haven't used Angular and I thought it was a framework and I wanted to check to see if I'd got things completely wrong!]
- lebek 13y agoThey can call it a framework all they like, and obviously that word means different things to different people, but I've found AngularJS is more useful when described and treated as a library - a library for building a front-end framework. AngularJS might exhibit some of the trappings of a framework (e.g. inversion of control), and it has some of the components a front-end framework would need: routing, templating, networking... but these components aren't tied together in a way that impresses an overall architecture. Calling Angular a framework leads developers to assume architectural decisions have been made when they haven't.