Small micro-channel framework compatible applets QQ

Has recently been developing micro-channel small program, after several iterative development version of the code was finally able to reach the level of the framework, dynamic configuration. In addition to the interface somewhat shabby outside, the function is very comprehensive.

image

It has the following characteristics

1, the required throughout the program are defined in the url address api.js, the environment, including environmental and local public official debug environment, the flexibility to switch.

image

2 Home supports two display modes, namely lists and groups, and can also be dynamically set. Effects shown below

image

image

3 Home of the data source is taken from the database. Module is fully open background configuration.

4, the source also added to the commonly used function module source code, such as: contact us, Page Preview pages, images and other common page.

image

Not only that, this framework also contains nearly 200 API calls. Refer to the following list of API page

image

Open one, you can see the specific way an API call, click on the "Test" button to return the following results.

image

image

Finally showing off with this framework done following these applets, very efficient.

image

At the same time, nor do they need to worry about different files in the folder replication problems. Example: Contact this module (4 files) without alterations, such as Paul synchronized to other applets in? Use this little helper can be, the perfect solution file replication problems

image

There is another feature of this framework is compatible with QQ small program, the code requires very little change. Even if there are differences of place, simply follow the differentiation can be made as follows.

image

Described above is a small front-end framework program, WebAPI backend provides standard output, supports all programming languages ​​call. image

The following applets scanning, the effect can be seen in FIG frame

image

Guess you like

Origin www.cnblogs.com/xiyang1011/p/11361584.html