bootstrap is not a javascript framework, it is just a front-end ui framework with some accompanying js plug-ins.angularjsis a javascript mvvm framework, which is designed to develop CRUD applications with complex business logic.
Related recommendations: "bootstrap Getting Started Tutorial"
AngularJS is a js framework. It defines how to organize code and introduces many concepts, such as service, scope, filter, directive, etc., it implements two-way binding. You only need to change the data in the scope, and the view will be automatically updated. There is no need to write DOM operations to update the view. The code can focus more on business logic;
jquery only It can be said to be a front-end library. Its advantage is query just like its name. It provides convenient selectors, but it does not specify how to organize the code, nor does it implement two-way binding. Therefore, when using jquery, most of the code is actually DOM operation, not business logic;
Bootstrap is a CSS framework, which provides responsive layout and flat component style. Of course, it also provides some interactive controls, which are based on jquery.
The three of them can be combined. AngularJS comes with a lightweight version of jquery, jqLite, by default. If jquery is introduced, it will replace its own jqLite. AngularJS itself does not provide any styles, so it can be combined with bootstrap to create the interface. .
The above is the detailed content of The difference between bootstrap and angularjs. For more information, please follow other related articles on the PHP Chinese website!