Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the misunderstandings that web front-end engineers should avoid?

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "what is the thinking misunderstanding that web front-end engineers should avoid". The explanation in the article is simple and clear and easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the thinking misunderstanding that web front-end engineers should avoid?"

1. There is no need to learn back-end development for front-end work.

Front-end engineers are mainly responsible for web development, but now with the development of the industry, the front-end function is becoming more and more powerful. Offline database can provide the function of data storage and management, but it is obviously impossible to write SQL statements. WebSocket can provide instant messaging, but does not understand the difference between socket and WebSocket, can it be built with back-end development (many back-end developers only know socket technology)? Speed up the display of the page not only from the front-end analysis, the back-end should also take into account that the use of keep alive, caching and other back-end technologies can make the page open faster.

2. The web page is not well considered.

Most front-end renderings use DOM, but there are performance problems if DOM is used too much. Now it is very popular for list pages to pull up and load more at the bottom of the page, but few front ends pay attention to the extreme problem of loading. What happens if I drop down a page many times and load thousands of DOM? The answer is that the response of the page is slow if the page is light, and the browser flashes when it is heavy. Another example: LocalStorage is really easy to use, the front end of many enterprises rely heavily on it, and even well-known front-end development frameworks also rely on it. But it has a drawback-there is a capacity limit (2.6M-10M), we have to consider the extreme situation, when the LocalStorage space is almost full, what to do. Or architecturally avoid this extreme situation.

3. The effect only needs to know JS.

Some people will think that the front-end development only js, in fact, not all the effects only js can solve the problem, but also need to master a lot of knowledge, such as: browser principle, html5,css3 and so on. For example, making a turntable on a touch screen may seem like a simple effect, but it represents a comprehensive application of front-end knowledge. You don't have experience in touchscreen development, you don't know CSS3 or canvas, and you can't do it without understanding web optimization. The front end is the application of comprehensive technology, and only JS can not solve the problem.

4. Do not try new technologies

We already have new technologies, don't waste them, it's time to change the previous web pages and the way we used to operate them. Ask yourself, do you use CSS3 animation on the web page? Does the web support multi-touch operation? Distance sensor, motion sensor, did you use it? It is not to say that these new technologies should be used for use, but that the technology should be constantly improved and applied to the work.

Thank you for your reading, the above is the content of "what is the thinking misunderstanding that web front-end engineers should avoid". After the study of this article, I believe you have a deeper understanding of what the thinking misunderstandings that web front-end engineers should avoid are, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report