This article takes you to understand how to quickly get started with the development of WeChat applets

written in front

WeChat applets, or applets for short, are applications that can be used without downloading and installing. Developers can quickly develop a small program. Mini Programs can be easily obtained and disseminated within WeChat, and at the same time have an excellent user experience. It realizes the dream of the application being "at your fingertips". Users can open the application by scanning or searching.

insert image description here

Getting Started with WeChat Mini Program Development

Register a developer account to obtain an APPID

Registration page:
https://mp.weixin.qq.com/wxopen/wareregister?action=step1

insert image description here
APPID is the WeChat applet developer ID number, which is required for development and launch.
Log in first, log in to the WeChat applet management interface on the page: https://mp.weixin.qq.com/
and then get the AppID, AppID is key privacy information, everyone must do a good job of keeping it secret

insert image description here

Download WeChat developer tools and install

WeChat applet management interface

insert image description here

Tool download address: https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html

insert image description here

Create and configure applet projects

After completing the above preparations, we can log in to the developer tools to create and configure projects. **

Process: Click the + button -> fill in the project information -> the project is created -> view the effect on the emulator -> preview the project effect in the WeChat environment.
insert image description here
WeChat developer tool display:
insert image description here


Advantages of small program development

1. Convenient and fast, just use and go.

There is no need to download the APP again, the small program is convenient, just use it and go away.

2. Fast speed and no memory consumption
Because the front-end code of the mini program is stored on the WeChat server and stored in Tencent Cloud, it can be opened directly without loading, and the speed is relatively
fast. And it doesn't take up the phone memory.

3. Safe and stable, strong confidentiality

In fact, the applet is similar to the Apple Store, which needs to be reviewed before it can be released. Secondly, the mini program communication uses https access, SSL encrypted communication
, and the mini program style code is encapsulated in the WeChat mini program, so the security is higher and more stable.

4. Rich functions and rich scenes

It can use more mobile phone system functions than H5 for development, such as GPS positioning, recording, video shooting, gravity sensing, etc., and can develop richer usage scenarios.

5. Low development cost and easy maintenance

With the same function, it is estimated that it will cost hundreds of thousands or even hundreds of thousands of dollars to make an app, but it usually costs a few thousand dollars to develop a small program.
It is also relatively simple and convenient to maintain .

6. Nearby positioning and many entrances
There are many open entrances. In addition to common entrances such as scanning codes, sending friends, searching, and nearby, it can also be associated with official accounts, embed group articles, and link to
official account menus.

insert image description here


Disadvantages of small program development

  1. Unable to develop larger applets.
  2. The technical framework of the applet is not yet stable
  3. Can't directly share to circle of friends
  4. It needs to be reviewed and put on the shelves like APP

insert image description here


words written on the back

Wechat applets are superior to the previous wechat account types in terms of functions, documents and related support. It provides many interfaces unique to native programs, making our applets break through the limitations of H5 page applications in many aspects , which is closer to the functions of native programs, so WeChat applets have a great prospect of imagination.

insert image description here

Starting today, I will start to update a series of articles on 0-basic learning of WeChat Mini Programs. If you are interested in the development of Mini Programs, please subscribe to my column "WeChat Mini Programs | From Beginner to Advanced" and learn with me! Come and create a small program that belongs to you!


insert image description here

Guess you like

Origin blog.csdn.net/m0_63947499/article/details/127557797