Author: Huang Wei

What is a shell applets

Shell applet is a new open ability, developers can quickly develop a small program. Shell small programs can be easily obtained and spread in THE B-end and C-end series of apps, and have excellent use experience. Shell small program aims to create more and richer capabilities of Shell, with these capabilities to serve more developers and users, improve project development efficiency, improve user experience.

Main advantages of shell applet

  • Users can easily obtain the service without installing or downloading it

  • With richer functions and excellent use experience

  • Encapsulates a set of interface capabilities to facilitate rapid development and iteration

The ability of shell applets

Shell small program has more than 50 basic functions, has the ability to forward to IM friends, wechat friends, wechat circle of friends, support the original ability to customize the shell, but also provides a good development environment for developers, support to view the debug log and scan code real machine preview ability.

  1. Shell applets API

Shell function involves the range is wide, the basis of small programs including the system of information access and use, the user login, authorization, and pay, interface interaction and animation, the local data storage and modification, the use of maps and orientation, basic network requests and routing jump, etc., there are a large number of new features are being developed, can focus on shell developer documentation for the latest dynamic.

  1. Shell small program forward

Forwarding is designed to help users more smoothly share content and services with their friends. The forwarding capability of Shell small program currently covers IM friends, wechat friends and wechat circle of friends. The friend that receives small program card, click the card can use corresponding small program.

  1. Shell capabilities of shell applets

Shell ability refers to the shell itself provided by the housing capacity, real estate ability, trading ability, etc., shell small program products can be based on these basic capabilities, do secondary development, to create a more diverse form of products. In the group send assistant small program, the process of sending housing, and get through the shell housing capacity. Among them, the small program page is connected with the APP native page, making the interactive experience more smooth. In the future, there will be more shell-specific capabilities that need to be made available to outside developers, and applets will be the best vehicle for this capability.

  1. Shell small program debugging

In order to create a better development experience for developers, we have added debugging tools for developers. You can view debugging logs and page information during debugging small programs. In the process of testing a small program, use the menu button in the upper right corner to open or close the debugging tool. When calling an interface, you can print the returned data of the interface in the debugging panel through the tool. You can immediately see all the information on the page and be clear about the problems in the development process.

Shell small program developer background

Shell small program developer background, to provide personal business services and user management ability of the new service platform.

use

  1. The login

Log in using the system number and password

  1. Enter the home page

  1. Select applet to enter details

Applet details have the following functions:

Release panel

It is composed of small program information, on-line version and releasable list.

■ Applets information

■ An online version is available

■ Publishable list

Preview pane

It is composed of preview list, to be audited list and failed to be audited list.

■ Preview the list

Developers with preview permission can click preview QR code in the preview list, use the link scan function, you can preview in the real machine.

■ List to be reviewed

■ Review the failed list

Members of the management

It consists of administrator list, developer list and preview member list.

■ Administrator List

■ Developer List

■ Preview the membership list

Static resource

This function can upload files in any format. When you need to upload logo, ZIP, audio and video files, you can get the network link you want through this portal.

Panel data

From here, you can see some data about the current applet, such as daily PV, number of exceptions, number of launches, affected users, etc

Shell small program developer tools

To help developers develop and debug shell applets easily and efficiently, we have launched a new shell applets developer tool. If you have any questions or suggestions during the use of shell applets, feel free to contact us.

use

  1. Open shell Applets developer tools

  1. interface

  1. use

New project

Import the project

The plug-in

  • VSCode plug-ins, the tool can be used

  • You can customize applets specific plug-ins

Shell applet entry

host

The entrance

Take Link as an example, enter the IM message page, continue to pull down, you can see the IM applets square, click the corresponding applets to use (some cities have not opened this function, temporarily invisible).

Shell small program online case

Mass assistant

Group assistant monitors data

Number sense

Transaction loan calculator

conclusion

Shell applet platform will unlock more new functions in 2021, we look forward to working with us to build a better shell applet ~