The Double-Edged Sword

The Double-Edged Sword

22 Feb 2023

Why UI Frameworks

UI framework is the user interface framework, but also the UI template. And most frameworks are pre-written code libraries. For example, Bootstrap provides a basic structure with a grid system, link styles, and backgrounds. UI framework pre-built components and templates to help developers save time and effort; while we know how tedious the page layout in HTML and CSS is, we often repeat the same steps and page elements spacing and Layout. So let’s talk more about the benefits of UI frameworks.

These three benefits are enough for most developers to use UI frameworks. However, the benefits of UI frameworks are not the only three points where UI frameworks can save money on development and where open source UI frameworks can provide a better community to provide development help.

Potential Drawbacks of UI Frameworks

Nothing is perfect, and UI frameworks are one of them. Among the shortcomings of UI, frameworks can lead to worse problems that can affect beginners learning to develop. And some problems can make programming less creative. So let’s understand the disadvantages of UI frameworks.

Personal Experience

During the week of learning Bootstrap, Bootstrap made me change my dullness towards writing HTML and CSS. As I said above, I’ve come to rely on Bootstrap; I prefer the UI framework to use raw HTML and CSS. And when it comes to the reasons, raw HTML and CSS have a lot of harmful effects on the repetitiveness of writing web pages, most of which is the mindset of writing. Because writing different pages each time is not beautiful and modern, and the challenge of formatting the pages can drive you crazy. Although my experience with Bootstrap has been good, it has been challenging to learn. First, the IDE has no code hinting or code autocompletion because I use links to refer to Bootstrap in my project. And overlaying <div> elements can be very confusing because you sometimes need to know which <div> to add the correct class. And that can affect how well you can use the component. And until now, I’m still learning Bootstrap and using it, and I’ve found some tricks and tips on how to use Bootstrap components and templates. So, I am very optimistic about Bootstrap and its future development.