Home  >  Article  >  What is the difference between mini program and public account development?

What is the difference between mini program and public account development?

WBOY
WBOYOriginal
2022-02-11 16:05:427180browse

The difference between the development of mini programs and official accounts: 1. Mini programs are oriented towards products and services, while official accounts are oriented towards marketing and information transmission; 2. Mini programs are developed based on WeChat’s own development environment and development language, while public accounts are developed based on WeChat’s own development environment and development language. The number is developed based on H5.

What is the difference between mini program and public account development?

The operating environment of this tutorial: HarmonyOS 2.0 system, WeChat version 8.0.19, HONOR V30.

What is the difference between the development of mini programs and official accounts?

1. Different positioning (official accounts serve marketing and information transmission, while mini programs are oriented towards products and services)

Official accounts are mainly used for the transmission of information to connect people and information. With the help of H5, simple interactions can be achieved, mainly focusing on marketing and information transmission, supplemented by simple services, while mini programs are functionally related to the public The accounts are strictly differentiated (marketing methods such as following and message push are not supported). On the one hand, the products and services will not be submerged in the marketing information of public accounts.

On the other hand, public accounts, friend circles, groups and micro-channels are supported. The interaction and diversion between programs allow developers to focus on products and services, thereby bringing a large number of long-tail services to WeChat and adding WeChat's own heavy-duty services to create an ecosystem from social networking to information connection to services.

2. Different functions (the functions of official accounts focus on information display and marketing, while mini programs are oriented to products and services)

WeChat and official accounts have different differences in development language, design specifications, Marketing methods, review mechanisms and other functions are quite different. The public account is a type of account that provides users with information and information release platform, provides a new way of information dissemination, and builds a better communication and management model with readers. When combined with H5, the public account can also provide some simple Interactive features. Mini programs are mainly designed to provide services. Compared with official accounts, they run more smoothly and can provide more complex products and services.

The function of the official account mainly revolves around information transmission and marketing. The mini program strictly controls the marketing function to distinguish it from the official account, so that the service experience and convenience of the mini program can be improved and will not be overwhelmed. In the excessive marketing information of public accounts.

3. Implementation technical differences (the official account is based on H5, and the mini program is based on WeChat’s own development environment and development language)

The mini program is a cloud application within WeChat (so No installation required), it is not a native App. It achieves an experience close to the native App through WebSocket two-way communication (to ensure instant communication without refreshing), local caching (local caching of pictures and UI reduces the interaction delay with the server), and WeChat underlying technology optimization.

The mini program is a cloud application in WeChat (so no installation is required), not a native App. It communicates through WebSocket two-way communication (ensuring instant communication without refreshing) and local caching (local caching of pictures and UI reduces the interaction delay with the server) ) and the optimization of WeChat’s underlying technology achieve an experience close to native APP.

4. Differences in experience (the operation delay of the official account is larger, and the mini program experience is close to the native App)

After clicking the application function in the official account, a green color appears at the top The progress will take a while, and applications with complex business logic and high interaction requirements will have a poor experience. The mini program will be very smooth with almost no need to wait, just like the normal APP operation.

The main reason is that the official account does not have a local cache, so every time it is opened, it will request the server to refresh the page, resulting in a long delay and a degraded experience. The mini program caches the UI and images locally, and only needs to request interaction with the server. Data and page switching do not need to be refreshed, so the experience can be close to the smoothness of the native APP.

Problems with public accounts: too many levels, poor experience, few interfaces, uneven content, excessive marketing

Advantages of small programs: good experience, many interfaces, independent ecology, development costs Low, link to the public account, remove the obstacles in the user's mind, and avoid interruption

[Related learning recommendations: 小program development tutorial

The above is the detailed content of What is the difference between mini program and public account development?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn