Javascript-quickly develop a mobile web site. Could you please advise, write with bootstrap reconstruction, or use jquerymobile?

Source: Internet
Author: User
There are ready-made PC sites. Now I want to quickly make a good recommendation for a mobile site. I don't need to adapt it. Different templates from PC sites are available for mobile web PC sites,

If you want to quickly make a recommendation for a mobile site, you do not need to adapt,

It can be different from that of a PC site, mainly for mobile web terminals

Reply content:

There are ready-made PC sites,

If you want to quickly make a recommendation for a mobile site, you do not need to adapt,

It can be different from that of a PC site, mainly for mobile web terminals

I have used both of them and I feel that Bootstrap is more like a CSS library. If you want to build a responsive website, it provides a lot of convenient predefined classes.

JQueryMobile is more like a complete Mobile front-end framework. In addition to completing the mobile page layout, jQueryMobile also provides a large number of interactive front-end controls and common Swipe events on the touch screen, in addition, by default, all pages of jQueryMobile are loaded using AJAX, so without the namespace write style, the page to be loaded will be messy.

Another notable difference is the grid system. The BS mesh is originally responsive, which allows you to easily declare different classes so that an element can display different sizes on large and small screens, or fold automatically when necessary. JM's grid system is fixed. It only supports automatic small screen folding, so if you want to change the layout ratio of screens of different sizes, you have to write the media query by yourself.

Unlike BS controls, which add BS class to standard DOM elements, JM automatically uses JS programs to modify the DOM structure. For example, if you writeaLabel but Definitiondata-role="button", JM automatically adds some peripheral elements and styles to make it look more like a button. The reason for JM to do this is to make the DOM you write easier to maintain, but it will be very troublesome if you want to customize the style.

In short, BS does less things and is more flexible, but you need to choose and supplement things in use. JM does many things and has a high degree of integration, you need to add less things than you write, but it is very troublesome to modify it.

Jquery mobile, for three reasons: 1: The basic syntax is simple and easy to use. 2: There are many derivative plug-ins. 3: There are two reasons. Do you really need the third one (:.

Personal feelingJquery mobileThe limitations are quite large,bsOnlyUIFramework. When the tool is effort-saving, you can look for other mobile frameworks.

Jquery mobile, try to scare you

Do not like JQ. It's too rigid. Big love bootstrap.

I personally feel that bs is used for content presentation and jq is used for business logic multi-point presentation.

Zepto ~

You can try a website of the amazeui app Type. It is absolutely easy to use a sister.

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.