Home  >  Article  >  Web Front-end  >  What are the disadvantages of bootstrap framework

What are the disadvantages of bootstrap framework

青灯夜游
青灯夜游Original
2021-10-29 14:09:354182browse

Disadvantages of the bootstrap framework: 1. Increased learning costs, you need to understand the entire framework, and read the framework's documentation; 2. It is bloated, and there may be most code in the framework that you will not use; 3. Too dependent on the framework , so that it is difficult to eliminate bugs; 4. There are compatibility issues, etc.

What are the disadvantages of bootstrap framework

The operating environment of this tutorial: Windows 7 system, bootsrap version 3.3.7, DELL G3 computer

Introduction to 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.

Why use Bootstrap

Before Bootstrap appeared:

  • Naming: repetitive, complicated, meaningless (think of a The name is laborious)

  • Style: repetition, redundancy, non-standard, disharmonious

  • Page: disorder, non-standard, disharmonious

After using Bootstrap: Various naming are unified and standardized. The page style is unified and the picture is harmonious.

Bootstray Architecture

  • Basic structure: Bootstrap provides a basic structure with a grid system, link styles, and background. This will be explained in detail in the Bootstrap basic structure section.

  • CSS: Bootstrap comes with the following features: global CSS settings, defining basic HTML element styles, extensible classes, and an advanced grid system. This will be explained in detail in the Bootstrap CSS section.

  • Components: Bootstrap contains more than a dozen reusable components for creating images, drop-down menus, navigation, alert boxes, pop-up boxes, and more. This will be explained in detail in the Layout Components section.

  • JavaScript plug-ins: Bootstrap includes more than a dozen custom jQuery plug-ins. You can include all plugins directly or include them individually. This will be explained in detail in the Bootstrap plugin section.

  • Customization: You can customize Bootstrap components, LESS variables and jQuery plugins to get your own version.

Disadvantages of the bootstrap framework:

a) Increased learning costs. You need to understand the entire framework and read the framework's documentation.

b) The css framework is bloated for pages such as a small project. There probably is a lot of code in the framework that you won't use.

 c) It may not help your skills improve. Too dependent on the framework, making it difficult to troubleshoot bugs. Including bugs inherent in the framework.

 d) It is painful to choose the framework and development framework you need. After writing it, I found that it was becoming more and more inflexible and bloated.

e) There will be compatibility issues. Although there are many ways to be compatible with IE on the Internet, other files need to be introduced, some of which are quite small, which will inevitably cause the loading speed to slow down and affect the user experience.

Recommended study: "bootstrap usage tutorial"

The above is the detailed content of What are the disadvantages of bootstrap framework. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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