Preferred framework for mobile device web development: zeptojs introduction _ others-js tutorial

Source: Internet
Author: User
This article mainly introduces the preferred framework for mobile device web development: zeptojs, which is compatible with jquery APIs, so it is not difficult to learn or use it, you can refer to a recent article about a new js framework named zepto. js, which is applicable to mobile devices that already have desktop browsers except the ie series ..

It is compatible with jquery APIs, so it is not difficult to learn or use them. His advantage over jquery lies in

1. He is small enough, only about 21 K .. Feature enabled.

2. added mobile device touch events and other events. You do not need to introduce other mobile phone frameworks, such as jquery mobile.

3. Although not compatible with ie, it provides a compatibility method:

The Code is as follows:


Script
Document. write (''. Js> <\/script> ')
Script

Because it is compatible with jquery APIs, you don't have to worry about events that will expire after jquery is referenced on ie, except for touch ..

Desktop browser:

1. Safari 5 + (Mac, Win)
2. Chrome 5 + (Win, Mac, Linux, Chrome OS)
3. Mozilla Firefox 4 + (Win, Mac, Linux)
4. Opera 10 + (Win, Mac, Linux)

Mobile browser:

1. iOS 4 + Safari
2. Chrome for Android
3. Chrome for iOS
4. Android 2.2 + Browser
5. webOS 1.4.5 + Browser
6. BlackBerry Tablet OS 1.0.7 + Browser
7. Amazon Silk 1.0 +
8. Firefox for Android
9. Firefox OS Browser
10. Practically any WebKit-based browsers/runtimes

In today's frameworks, he is the preferred framework for developing mobile device web .... Interested can look at github: https://github.com/madrobby/
Zepto Official Website: http://zeptojs.com

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.