Native js-js class library-js framework-front-end framework-difference

Native js-js class library-js framework-front-end framework-difference

1. Native js is javascript, which is also the core content of the website front-end. The main operation process is to first obtain the DOM or switch the DOM, and then modify the properties of the DOM object or call the method of the DOM object. The main problems are the compatibility issues of low version IE and Complex DOM operations

 

2.js class library--jquery zeptojs 

           js class library solves the complex problems of obtaining DOM or higher DOM objects and operating DOM in native js, making DOM operations simple and solving browser compatibility issues. But in essence, there is no difference from the design concept of native js. It still obtains the DOM and operates the DOM, so the js class library can be imagined as a tool library.

 

3.js framework--angularjs reactjs

         The development method of js framework is completely different from native js and js class libraries. For example, angularjs implements two-way data binding, and the DOM of manipulated data will be automatically refreshed, allowing developers to focus on data processing and rarely deal with DOM manipulation, which is very efficient. very popular.

 

4. Front-end framework bootstrap jquery mobile

         Generally, the front-end framework is composed of js library, css library and various plug-in libraries. It is a variety of reusable components written and mainly used for rapid website development.

 

The front end of the website is still js at all, no matter how the technology changes, it is still different applications of js.

Guess you like

Origin blog.csdn.net/weixin_42220533/article/details/108194355