What are the benefits of layui

(*-*)浩
Release: 2019-07-19 10:52:12
Original
5319 people have browsed it

layui (homophone: UI-like) is a front-end UI framework written using its own module specifications. It follows the writing and organizational form of native HTML/CSS/JS. The threshold is extremely low and can be used out of the box.

What are the benefits of layui

##It is minimalist on the outside, but full of content on the inside. It is light in size and has abundant components. From the core code Every detail from the API to the API has been carefully crafted, which is very suitable for rapid interface development.

#layui The first version was released in the golden autumn of 2016. It is different from those UI frameworks based on the bottom layer of MVVM, but it does not go against the grain, but believes in returning to nature.

To be precise, she is more tailored for server-side programmers. You don’t need to get involved in the complex configuration of various front-end tools. You only need to face the browser itself and let everything The elements and interactions you need can be found at your fingertips here.

Existence value

In fact, layui is more oriented to back-end developers, so it resolutely adopted the organizational form of a few years ago. The browser is the host's AMD-like module management method, but it is not limited to the rules and regulations of CommonJS. It has its own mode, which is more lightweight and simple.

layui is defined as "classic modularity". It does not deliberately emphasize the concept of "module" itself, but intentionally avoids the mainstream solutions of the current JS community and tries to interpret efficiency in the simplest way possible!

Its so-called classic lies in its obsession with returning to nature. It organizes modules in a way that is generally recognized by current browsers!

layui believes that this lightweight organization method can still fill many scenarios other than WebPack. Therefore, it insists on using classic modularity, which allows people to avoid the complex configuration of tools and return to the original HTML/CSS/JavaScript itself!

The elements of layui are composed of the following:

Layout (grid, background layout), color, font icon, animation, button, form, navigation bar, breadcrumbs , tabs, progress bars, panels, static tables, badges, timelines, auxiliary elements, etc.

Under the prosperity of the front-end community, we are all chasing it intentionally or unintentionally. But layui just looks back at the beginning, and is on the long journey back to its original nature. It is confident and brave, pursuing the original writing instructions, and trying to interpret efficiency in the simplest way.

For more technical articles related to Layui, please visit the

Layui Tutorial column to learn!

The above is the detailed content of What are the benefits of layui. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!