Home  >  Article  >  Web Front-end  >  Why not use bootstrap on the front end?

Why not use bootstrap on the front end?

(*-*)浩
(*-*)浩Original
2019-07-19 10:26:493337browse

My following friends paid attention to this issue. I only represent my personal point of view on the reasons why bootstrap is not used, which is referred to as bs here.

Why not use bootstrap on the front end?

#When I was using bs, I was still in the front-end entry stage. The bs official document is friendly enough for any type of developer to reference this file and copy and paste it to form the UI. , and there is no need to remediate too much front-end knowledge. (Recommended learning: Bootstrap Video Tutorial)

It is undoubtedly the most guaranteed first choice of CSS framework when there is no designer or there is an urgent need to rush work. When using it, you don’t have to worry about compatibility, page collapse and other visible bugs. bs handles them all for you, which is very worry-free.

In the 0 stage of a project, if you want to quickly form a demo, bs is suitable for making base shirts on the web side.

At the project growth stage, the role of bs will be greatly reduced. bs cannot fully meet the UI changes caused by new requirements. Especially when debugging by non-front-end developers, the lack of knowledge and experience will lead to bloated and confusing page layouts. As front-end developers grow, most people think that when faced with UI changes, Writing by hand is easier than using bs.

If you want to make a more dazzling page based on bs, this framework cannot achieve it. This is one of the reasons why some developers abandoned bs midway. However, this framework still exists as a project. After rapid changes, bs will Become the mud that you want to pull away but cannot erase.

Developers have repeatedly modified and kneaded this piece of mud, so they often think about what this framework has done for the project.

If you treat bs as a base layer at first, then it can only be used as base layer.

If you want to make full use of bs as a framework from the beginning, it will take time to learn and cost to supplement the prerequisite knowledge of this framework. However, when you fully understand bs and understand the source code of bs In the end, you will find that many of its implementation methods are not as great as you imagined. You will also be eager to try, and even think of more brilliant ideas to complete the same thing.

Next, multi-column layout is one of the most common CSS layouts. There are no less than 10 ways to implement it. They deal with various business scenarios respectively, and the flow layout of bs can be said to hold up the sky. , its responsiveness seems to dominate the world and can meet 80% of the requirements, but developers will still reserve 20% for chasing more efficient techniques, and with the development of the front end, the native BS flow layout has become better Way to achieve it.

In fact, if a front-end engineer can have an in-depth understanding of frameworks such as bootstrap or foundation, the improvement in technology and efficiency will be quite obvious.

So, I think the reason why many front-end developers don’t use the bootstrap framework is because they have stood on the shoulders of bs and seen a more exciting world.

For more technical articles related to Bootstrap, please visit the Bootstrap Tutorial column to learn!

The above is the detailed content of Why not use bootstrap on the front end?. 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