So I didn't follow the document from the very beginning, because I was a newbie myself. I just came up and read the document, which is equivalent to directly switching from the front-end to the small program, the wxml and data-driven architecture makes me breathless, so we can lead the slow transition from front-end to small programs. You already know the file structure of the applet.
As mentioned in the previous section, the applet page consists of three http://www.php.cn/code/10425.html "target =" _ blank "> points:
View (. wxml), Logic (. js), and style (. wxss ).
We re-expand the file structure this time:
From the previous section to the present, I have said so much, but I have only mentioned the content of the "simple tutorial" section.
The "framework" is a detailed introduction to the overall framework of the applet.
"Components" can be understood as the extension and encapsulation of HTML tag functions. some common progress bars, forms, and carousel functions are described in detail, which is powerful.
"API" is used to call functions and system function modules, including network requests, media control, canvas, and mobile phone hardware.
I don't know how to clearly introduce the following content here, because the document is very detailed. I am afraid that I will write a tutorial based on my own understanding, and I will miss some content, after all, what I wrote is definitely not as original as the official version.
The above is the details of the global file for applet development. For more information, see other related articles in the first PHP community!