What is the end of the mobile end more than the PC end what knowledge?

Source: Internet
Author: User

in the front end of the mobile end more than the PC end what knowledge, why interview many companies are asked h5 level how?

I have been doing web front-end development for several years , just talk about my feelings.

First Look at some of the differences between PC and mobile in front-end development:

(1)PC is concerned with browser compatibility, mobile development considerations are more mobile compatibility, because the current whether it is android phone or iOS mobile phones, the general browser is used WebKit kernel, so do mobile development, more consideration should be the phone resolution of the adaptation, and different operating systems slightly differentiated;

(2) in the processing of some events, the mobile side is naturally biased to touch screen, so some of the rules of touch-screen events to explore a bit more, including mobile phone pop-up keyboard how to deal with such problems in the PC Will certainly not encounter, but on the mobile side, if you have no experience, it is quite troublesome to deal with it;

(3) in the layout, mobile development is generally to achieve the layout of self-adaptation, where I recommend the use of rem solution, the specific implementation can be Baidu, relatively simple, more flexible processing;

(4) in animation processing,PC side due to the compatibility of IE, usually with JS Do animation versatility will be better, but compared to CSS3 but sacrificed a larger performance, and on the mobile phone, if you want to do some animation, special effects, etc., the first choice is definitely CSS3, both simple, High efficiency.

The difference is that here, perhaps not completely, I also think of where to say, the following to talk about if you want to do mobile web development, that is, the main topic of h5 Development, in the existing PC Web - based development, you need to look at which technologies:

(1) Some of the interface is best to achieve once, familiar with certain benefits, such as leadership let you through the sharing of articles,title,description , and icon How to configure the icon, you say you do not know, it is too water;

(2) Baidu Map of some API interface, have time to familiar with it, for Mobile,LBS is still a very important feature, So map this piece certainly also need to understand, add Baidu map already is a more mature platform, learn not to bother son;

(3)CSS3 animation to familiar with, at least some of the most basic animation implementation and algorithms to understand, on the mobile side should also be used more;

(4) General pc with jquery, mobile End with zepto, it's nothing to say, Here is mainly to remind you that the mobile traffic is relatively important, so the introduction of resources or plug-ins, can be small, a 30k of resources and 80k of resources, On the mobile side or the difference is quite large;

(5) It is best to master a complete front-end development architecture, such as modular, packaging, compression, caching, release, conditional can also do some automated testing and so on, I have used the fis, but also good, Good friends can write a set of their own, in addition to say a word, if you want to quickly improve their front-end development technology, delve into the front-end architecture This piece is an excellent direction.

These months, but also time to write an APP,android and iOS version of all have, interested friends can add Group 105601600, communicate together, progress together!


What is the mobile end of the front end more than the PC side of the knowledge?

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.