WeChat mini-app tutorial (article 1), mini-app tutorial Article 1

Source: Internet
Author: User

Small Program tutorial (article 1), small program tutorial Article 1

Directory

Overview of the first Applet

Article 2 how to register and access applets and build a Development Environment

Article 3 architecture and Implementation Mechanism of applets, channel service and session management

Article 4 basic framework of Applet development and its restrictions and Optimization

Article 5 example, test and release of a mini-Program Development Project

... [Implementation of various functions]

Applet Overview

What is a applet? What can it do? What is the difference between mobile apps and what are the advantages? With these questions, let's start a small program journey ....

According to Mr. Long

 

My understanding is: simple and easy to use, small and beautiful.

A applet is a hybrid between a native app and a web app. By loading, the app is similar to the native app. Compared with native apps, applets are more lightweight, updated in real time, and cross-platform. Compared with web apps, Applet resources are offline and experience is smoother. The design goal of a applet is to make it as simple and efficient as possible for developers to develop services with a native APP experience.

For users, the installation package of the applet is <= 1 MB, and the download and installation are extremely fast. In terms of the current network speed, the installation package can be ignored, which is not obvious in the sense, at the same time, the cell phone memory is greatly liberated. Unified interface style, fast response speed, good user experience, followed by the design philosophy. Small programs are positioned in high-frequency application scenarios.

For developers, multiple platforms can be used for one development. Unlike developing a mobile APP, developing a new version of adond requires IOS. An APP with the same features requires two systems, with high development and maintenance costs. But the applet is attached to the running, as long as it is installed, you can use the application developed by the applet (open it directly ). Mini-programs provide detailed UI, operation, and other specifications, and are uniformly developed using the mini-program language. The development cycle is short and fast, and the development cost is relatively low. In particular, the compatibility problem has been solved, these are especially important for the MP products of start-up companies (Product Rapid Development is launched to the market for testing. From the business point of view, where users are and where users spend more time, they should be built ).

Overall advantages: Low download threshold, cross-platform, low development cost, smoother experience, and available payment functions

The limitations are:

1. The development is based on the Framework. Some functions are limited and other third-party plug-ins are not supported;

2. the applet page can only open five at the same time, which is difficult to support if the interaction process is long;

3. the size of a small package is limited to 1 MB (currently). All packages are applicable only to lightweight packages.

After talking about this, the entrance should still look at the circle of friends (split screen .... Long Brother holding home good man ?)

Finally, the previous Demo of a small Application

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.