The difference between a good programmer web front-end share front-end development front-end development of mobile and web

Good programmers web front-end and front-end development to share mobile web difference between front-end development , as are the front-end development, both must have close ties, but the landlord were asked about the difference, I will briefly talk about the same point, after which analyzes the different point.

Mobile front-end development and web front-end development in fact fall within the scope of front-end development, front-end current trend is a big front-end, it can be said to be all-inclusive, of course, also includes PC -side and mobile terminal field, and now the front-end developers has long been Figure Tsai not cut that year, and need to learn and master the knowledge to large front-end system capability in all aspects of daily development, but regardless of trends, the present situation HTML , CSS and JavaScript are still three cornerstones of the entire front-end development. So, whether the landlord wants to move front-end development or web front-end development, these three basic technologies have to be mastered.

Now that I come to talk about mobile front-end development and Web , what difference that specific front-end development front-end development belong to it?

1 , business application scenarios

web front-end development mainly refers to the traditional PC -side web development, page mainly run PC -side browser, a mobile front-end development out of the pages are mainly run on the phone; feel intuitive, PC -side pages larger, mobile end page Some small, but based on experience in the development, does not mean that the page could have written in code complexity, small page does not mean that the development of simple, easy to difficult and mainly depends on the specific business needs.

2 , the use of new technologies

Due mainly to the mobile end webkit kernel-based, for HTML5 better support and other new technologies, so you can use a wider range of new technologies; and PC -side development by requiring a lot of scenes compatibility IE the old version of the browser, for browser compatibility reasons, in some cases limited the use of new technologies.

3 , the adaptation of the page

Traditional PC side of the page developers usually choose to set a fixed width of the page, there are blank on both sides, but the mobile end of the page because of its support phone screen than the PC a lot, usually choose to display as much content on the phone screen is smaller This requires moving side page to be able to fully adapt to the screen size of the phone and making maximum use. From that point on adaptation difficulty moving higher end of the page.

4 , the performance of the page

PC network side is generally more stable situation, is through cable or Wi-Fi connection to the network; but the mobile terminal is more complicated, in addition to Wi-Fi , as well as 2G , 3G , 4G or even several different alternately switched network connection too often, unstable network connection challenges brought on page performance page resource is the mobile side is not too large, or when harsh network conditions, page will not be accessible, seriously affecting the user experience.

5 , frame selection

Due to the unstable situation of the mobile network end, lead us in the end to move the page frame selection, generally only consider the small but beautiful framework, such as zepto.js after such compression only 9.6K , will be able to meet the needs of general business, if want to build more complex single-page application, you can choose as vue.js frameworks such as powerful, but the volume compression but only 20 Duo K . The web end opposite the range of choice is relatively large, some of the more heavy-duty frame can also be considered according to the project requirements, such as old but huge ext.js , still with numerous UI components active in a number of enterprise back-office management system project.

 

These are a few of the more important differences think, want to be able to answer questions the landlord, also we welcome the discussion.

Guess you like

Origin www.cnblogs.com/gcghcxy/p/10950143.html