Understand the small program technology, understand the basic development of small program, for the small program technology study to lay a good foundation.

Applets differ from Web

Why applets?

  • Use social traffic as a carrier
  • Take information transmission flow as carrier
  • Take transaction attribute as carrier.

Applets feature

  • Handy and ready to go: Applets are apps that don’t need to be downloaded and installed, and can reach users at the lowest cost, greatly reducing the barriers to use.
  • Traffic mutual guidance and function supplement: small programs rely on the ecology of each platform, with offline code scanning, sharing, search and other entrances, to help each platform to supplement functions, but also bring more traffic to the platform.
  • Improved experience, comparable to native: Small programs adopt the separation mode of logic and rendering, while some components use Native for rendering, and help small programs load faster and use more smoothly through resource management and other ways.

Technical differences between applets and the Web

  1. Small program components directly through the native implementation of camera.
  2. Small programs will do resource caching and destruction on the end, control the cycle of small programs, so that small programs can be faster and faster loading.
  3. Applets architecturally separate logic and rendering, whereas web is in the same process.

Ecological differences between applets and the WEB

  1. Applets are more restrictive in all aspects, separating rendering and logic, and the immediate consequence of this is that much of what was previously available on the WEB simply doesn’t work and has to be developed under the rules given by the platform, making it easier for the platform to monitor.
  2. Each side provides official entry, including scan code, my small program, article embedded and so on.
  3. Distribution is controlled by each platform, with unified application version management.

How to improve development efficiency

Taro is an open cross-end framework solution that compiles Taro classes into different applets, even web and RN.