Small micro-channel application development using native or framework?

First, the micro-channel groove applet native development point

1. Native Development of Node, precompiled, webpack support is not good, it affects the efficiency of development and engineering building

2. Native vue grammar is better and react, can only do small micro-channel program

3.vue react and there are many surrounding tools to improve development efficiency

4. The micro-channel IDE and compared well with professional editors

Second, the framework of analysis

1. From the user point of view

  • wepy: No small program packages api, using native api
  • mpvue: supports micro-channel components and all native api, unlimited. Encapsulates both ends of their cross-api, use similar mpvue.request ()
  • taro: supports micro-channel components and all native api, unlimited. At the same time encapsulates the applet own end cross-api, use similar Taro.request (), support Taro code applet code to write mix, mixed mode by calling the framework of unpackaged write new API
  • uni-app: all native components that support micro-channel and api, unlimited. In terms of cross-end, even if still use components and micro-channel native API, you can also directly across the terminal to compile App, H5, and Alipay Baidu headlines and other small programs. But in order to clear management recommended uni package API, similar uni.request(). Supports conditional compilation, may be conditionally compiled code block, each new random call and assembly platform API

2. From the analysis of performance experience

  • Native develop micro-channel manual optimization, uni-app> micro-channel is not native to develop optimized by hand, taro> wepy> mpvue

3. Analyze from the developer point of view

  • DSL syntax supports evaluation: taro, uni-app >  mpvue >  wepy > micro-channel native
  • Learning materials to improve the degree of evaluation: micro-channel original>  uni-app >  mpvue ,  taro > wepy
  • Development experience dimensions, comparing the results: uni-app >  taro, mpvue >  wepy > micro-channel native
  • Community support efficient evaluation concluded: 微信原生 ,  uni-app >  taro >  mpvue > wepy
  • 活跃的开发迭代:tarouni-app > wepympvue
  • Multiport reuse: uni-app >  taro >  mpvue >  原生微信小程序,wepy

4. Summary:

If you only develop small micro-channel program, not many hands that use uni-app, taroare better choices, they are equivalent to the web world vue and react, With these tools, no longer need to use native wxml development.

  • If you insist on micro-channel native development, you need to pay attention to manually write code to control optimization setdata, and pay attention to its engineering capacity is very weak
  • If you are a reactdepartment, then usetaro
  • If a vuesystem, then use uni-app, uni-apphave an advantage in terms of performance, the surrounding ecology and development efficiency

If you develop multi-terminal, uni-appand tarocan, according to their familiar technology stack selected, relatively uni-apphigher multiport maturity.

Guess you like

Origin www.cnblogs.com/caicai521/p/11461525.html