jQuery is great, but not all cases are suitable for use as your development jQuery library. If you just need a simple DOM manipulation or AJAX request processing, why use such a complex and bloated libraries do?
For cell phone or mobile client, such effects become more pronounced. Although we can use the CDN to help us improve the loading speed, or still takes time. The most sexy jQuery features - browser compatibility, for mobile phones, too heavyweight. Why do we need your application support browsers that entered the museum it? To know that we only need to use on iOS and Android systems ah!
Development issues
Here are more questions to be solved. jQuery animation approach is spaced modify CSS style attributes of an element. This in most desktop browsers deal with no problem, but on mobile devices inefficient.
Pure CSS animations way to achieve the contrary more quickly and smoothly.
zepto.js
This library may be the most abundant mobile devices iOS and android development libraries (use webit engine). It maintains almost all of the jQuery function, only 8kb and adds support for touch devices, and pure CSS animation. And supports modular, you can choose the features you need to develop applications.
Snack.js
An ultra-small super-simple class library. Very suitable for smaller projects, of course, enough to let everyone to develop a complex, cross-browser web applications. And zito.js not the same, it does not use jQuery API, only 3kb size, but you have to own to deal with animation.
$ ruling
$ Dom even smaller - 2kb. Support for browser compatibility, can handle animation (jQuery and similar treatment), but there is no similar array processing and AJAX processing functions. Ideal for developing responsive layout of the site on a smartphone, tablet, and desktop.
xui.js
The 4kb XUI is a very small application framework used to develop a mobile web HTML5. Support different devices, and even specific version for webkit, ie and blackberry. Support touch event, jquery even have a compatible version.
140medley
You can use a smaller library - 140medley. The 0.5kb library inspired by 140bytes competition, contestants create tweet the size of the code. Support templates, events, and AJAX. More professional, the document can only be seen in the source code comments, ask your professional skills is relatively high!
to sum up
Here we introduce a few good mobile framework, but not large enough fame or website. If you also find a lot of good things, please share with us! Thank you!
Reproduced in: https: //my.oschina.net/zhepama/blog/265029