Home  >  Article  >  WeChat Applet  >  Introduction to the basics of small program development

Introduction to the basics of small program development

黄舟
黄舟Original
2017-02-04 17:00:303082browse

There has been overwhelming news about mini programs. As long as you use WeChat, you have seen the three words "mini program" more or less under the guidance of Moments, WeChat groups, and WeChat friends.

There has been news about mini programs. Overwhelmingly, as long as you use WeChat, you have seen the word "mini program" more or less under the guidance of Moments, WeChat groups, and WeChat friends. As an Internet practitioner or a person who is not willing to lag behind the times, he must have experienced it. Passed the mini program; the first demo to experience WeChat; "WeChat mini program example";


Then a large wave of WeChat mini programs appeared (interested people have collected them for you ) such as: shopping, travel, food, transportation, reading, video, education, office, health, anyway, it is involved in all walks of life; as a programmer, you should not be left behind; how to develop small programs, and what is needed before development Preparation;


You need to make preparations before getting started with developing mini programs:
1. Apply to register a WeChat mini program account;
2. Complete the mini program account information;
3. Mini program development process;

Apply for a WeChat mini program account

WeChat mini program is similar to a WeChat public account and requires registration on the official homepage of the WeChat public platform; already Emails that have applied for WeChat public accounts cannot be used to apply for mini programs; select "mini program" as the account type to apply, and follow the prompts to complete the registration; I personally have applied for 5 WeChat public accounts and have reached the online limit specified by WeChat, but I can apply Small program, I am secretly happy.

Note

  1. WeChat Mini Program is currently only open to enterprises, and individuals cannot apply for it at present;
    2. There are two ways to authenticate WeChat Mini Program: For public Account to transfer money to Tencent | Pay a certification fee of 300 yuan through WeChat authentication;
    3. Government, media, and other organization-type accounts must verify the identity of the subject through WeChat authentication;
    What’s more annoying is that you need to pay 300 yuan to choose WeChat authentication, which is distressing, but , after WeChat authentication, you can get more advanced permissions for WeChat payment, WeChat cards, coupons, etc.; this is already the routine of Internet companies;

Improve the mini program account information

If You have applied for a WeChat mini program account, you have defeated 30% of others, and you have bid farewell to the age of lazy people; the official backend of WeChat is very simple and generous, the experience is very smooth, and it is very enjoyable to use; I have to say Tencent WeChat This is the reason for its success; the backend mainly includes: development management, user identity, data analysis, template messages, customer service messages, store information, and WeChat payment modules;
Development management: mainly the display of mini program version information;
User identity: including experiencers, developers, and administrators; It seems that WeChat is very strict about user defects, and it is estimated that it will cause inconvenience during the development process;
Data analysis: After the mini program is launched, it mainly monitors user behavior Statistics and analysis, mainly for operation personnel,
Template message: similar to message prompts, it actively pushes user messages, such as: successful payment, successful purchase, order delivery, etc.;
Customer service message: Don’t know How can users interact with mini programs to send messages? If it is a public account, they can send messages directly in the dialog box;
Nearby stores: mini programs that are more suitable for integration with traditional industries, such as gourmet restaurants; Before the program is released, it needs to improve its basic information, name, icon, and introduction; the number of times it can be modified is also limited, so you must think twice; for more details, please see the official documentation, mini program information improvement and preparation before development

Mini program development process

1. Download developer tools: The mini program completely abandons the front-end development language (html) and uses its own development language. The threshold for the mini program is very low and the mini program runs In the WeChat core, the experience is smoother, but the restrictions are greater; everything must be done according to the rules of WeChat, otherwise it will be out;

2. Add developers: Most Internet projects are completed through team collaboration, which requires Add friends to play with you;

3. Configure the server: You need to configure the appid (this appid is not the appid used for WeChat development), and you also need to configure the server domain name (data call interface) The domain name must be certified by ICP domain name;

4. Development documentation: There will be various pitfalls in the process of developing small programs. It is necessary to read the official documentation. Be sure to read the development documentation in detail. Be sure to read the documentation. Be sure to read the documentation, be sure to read the documentation;

The next step is to officially enter the development of mini programs. Of course, before making a mini program, determine whether your product is suitable for mini programs and whether it brings more value to users. ;

The above is the introduction to the basic knowledge of small program development. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!

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