A few years ago, many companies did not have professional front-end engineers. Today, many companies do not have front-end engineers for various reasons. Currently, many front-end engineers in medium and large companies are very common. Why?
Role of front-end engineers:
1. More professional front-end code Quality
2. Stronger functions and better user experience
3. java engineers are freed to interact with backend java through strict ajax http interface requests. The front-end code is separated to facilitate maintenance and management.
Currently popular frontend:
1. Combine multiple images into a large image, and use the offset technology of the CSS background image to present it on the webpage. This prevents multiple images from being downloaded one by one.
2. Basic min-based js
3. Make full use of the browser cache
4. componentization: Component-based functions of each reusable front-end, JS components, and css components (business cards and search boxes for each user)
5. Engineering: that is, the front-end code does not need to be written in eclipse and developed together with java. It uses a dedicated IDE and svn.
6. cdn cluster: Place static resources such as js, css, and images on the front end to CDN clusters all over the country.
7. nodeJs: attackers can bypass jetty and directly access the background service. This background service can be a node. js service, or a java service for a remote framework such as dubbo to accelerate performance.
8. git-based. Front-end SVN
9. Independent Front-end Publishing. All JS Files written by the front-end can be accessed from another server through http, and those js files can be referenced in the front-end page.
10. comb: Merge js and css requests to reduce the number of requests
User experience design (UED ):
Vision:The pictures and CSS in the company must be standardized and unified. The icon library contains icons of various sizes and colors
Interaction
Frontend Development
User Research