Difference: 1. Angular is a front-end JS framework, while Bootstrap is a front-end UI framework; 2. Bootstrap is response-oriented, while Angular is not response-oriented; 3. Bootstrap does not provide dependency injection, but Angular does Dependency injection.
The operating environment of this tutorial: Windows7 system, bootsrap3.3.7&&angular6 version, DELL G3 computer
Angular
Angular is an excellent front-end JS framework designed to overcome the shortcomings of HTML in building applications. It is a JavaScript MVC framework and a library written in JavaScript. AngularJS has many features, the most core of which are: MVC, modularization, automated two-way data binding, semantic tags, dependency injection, etc.
It is a refreshing new module web application built on thick client. A robust framework built on business application networks. It encourages best practices, development models and the development of high-quality maintainable modular applications. Its team is world-class, its community is incredible, and it combines the best features to create web applications.
Bootstrap
Bootstrap is Twitter’s open source front-end framework based on HTML, CSS, and JavaScript. It is a front-end toolkit designed for rapid development of web applications. It supports responsive layout and adheres to mobile device priority after the V3 version.
Bootstrap provides elegant HTML and CSS specifications, which are written in the dynamic CSS language Less. Bootstrap has been very popular since its launch and has been a popular open source project on GitHub, including NASA's MSNBC (Microsoft National Broadcasting Company) Breaking News. Some frameworks that are familiar to domestic mobile developers, such as the WeX5 front-end open source framework, are also performance optimized based on the Bootstrap source code.
The difference between bootstrap and Angular
1. Bootstrap is not a javascript framework, it is a front-end ui framework, and then there are some attached js plug-ins. Angular is a JavaScript framework that is designed to develop CRUD applications with complex business logic.
2. Bootstrap is used for mobile application development; Angular is not used for mobile application development.
3. Bootstrap is response-oriented; Angular is not response-oriented.
4. Bootstrap does not have many powerful template engines; compared with Bootstrap, Angular has a better template engine.
5. Bootstrap does not have routing function; Angular has routing settings.
6. Bootstrap does not provide dependency injection; Angular provides dependency injection.
Recommended related tutorials: "angular tutorial", "bootstrap usage tutorial"
The above is the detailed content of What is the difference between angular and bootstrap. For more information, please follow other related articles on the PHP Chinese website!