Home > Web Front-end > Bootstrap Tutorial > The difference between bootstrap and angularjs

The difference between bootstrap and angularjs

爱喝马黛茶的安东尼
Release: 2020-08-21 10:38:15
Original
4346 people have browsed it

The difference between bootstrap and angularjs

bootstrap is not a javascript framework, it is just a front-end ui framework with some accompanying js plug-ins. angularjs is 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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template