当前位置:网站首页>Develop small programs and official account from zero [phase II]
Develop small programs and official account from zero [phase II]
2022-06-23 18:54:00 【sky-coder】
The last issue mainly explained how to buy and choose linux System , And pagoda construction 、 Build the required development environment , And the front end of the applet ui Frame selection , Wechat public platform and applet backend api Model selection of access frame , And overall php Frame selection
You can search through wechat Invertebrate monster , Follow and view the developed finished products
First of all, from a small program framework
Because I didn't often develop small programs before , It can be said that I haven't developed a small program for a long time , So it can also be regarded as the initial development .
At that time, I always had many old small program rules in my mind , Without looking through the latest applet's partial invocation rules , On the small program design .
So when developing small programs , Many of the original design schemes are not feasible , Thus, many implementation methods and schemes have been changed .
The following is my advice for developing small programs :
When designing and developing small programs, you must carefully check the latest small program documentation , Avoid detours , Lead to repetitive work and implementation design .
Okay , No more nonsense , Let's start with our main content
Front end framework for small programs , I chose iview weapp frame .
Why use this framework ?
Because when I was developing the backend, I always used iview frame , So I chose it directly
Why use framework development ?
Because fast , You don't need much code , You can achieve what you want , At best, do some more css Fine tuning of
How does the framework work ?
In fact, the official has given a tutorial on how to use it , If you still don't understand , You can watch my next tutorial , Will teach you how to use in detail !
The small program page I made is very simple , Because I only developed this small program for the convenience of myself and my friends , Of course, it is also open to friends in need
Let me give you a brief look at the page of the small program :
At present, you can only see two and pages , One is the URL Analysis page , One is the file download page .
There is also a binding page , It is closed for the time being , Because there is no need to bind , So I won't show it to you for the time being .
First, the home page :

The home page is actually very simple , It's just an announcement , A line of words , An input box , Add another button , Then the prompt text .
Doesn't it look very simple ? In this page, I introduced the public pages at the head and the tail respectively , Only the middle title 、 Text boxes and buttons are the contents of this page
The second page is the file download page , Pictured :

It's also very simple. , Isn't it ? There is only one button to share the download
It's easy not to look at these two pages , But there are many logical designs , I have made many detours in the logical processing and implementation of these two pages
The page is simple , Use it directly ui Just fine tune the frame .
The main writing is in logic , for example :
- How to encapsulate the public request method
- How to verify an encryption request with the backend
- The specific use of applet functions
- How to design user interaction
- …
There are many points to consider , I won't list them all , This issue mainly tells you about small programs ui frame 、 The page display of the small program I have made 、 What to pay attention to .
The main development content will start from the next phase
The tutorial will teach you :
- How to use and view applet calls and help documents
- How to use ui Component layout
- How to write wxss
- How to encapsulate functions ( My own way , Not necessarily )
- How to interact with the background
- How to formulate signature verification rules, etc
The tutorial will continue to update , Like friends can continue to pay attention to me ~
边栏推荐
猜你喜欢

Take out Jianghu will change, and meituan "big brother" is hard to be

从零开发小程序和公众号【第二期】

【Qt】第三、四章:窗口部件、布局管理

渗透测试基础,初识渗透测试

Dataease template market officially released

Nanxin semiconductor rushes to the scientific innovation board: its annual revenue is RMB 980 million. Sequoia Xiaomi oppo is the shareholder

CV-图像分类

yapi安装

重磅:国产IDE发布,由阿里研发,完全开源!(高性能+高定制性)

STM32(九)------- CAN
随机推荐
[QT] multiple choice questions
STM32(九)------- CAN
TimerTasks笔记
How can enterprises do business monitoring well?
Know Chuangyu: content oriented, ai+ artificial empowerment
Leetcode: hash table 06 (ransom letter)
vPROM笔记
三一重能科创板上市:年营收102亿 市值470亿
CV-图像分类
吃顿饭的时间,学会simulink之BLDC基本原理
高级计网笔记(四)
2022年升降机司机考试题模拟考试平台操作
机器学习工作岗位
yapi安装
CV-卷积神经网络
指标(复杂指标)定义和模型
IOT platform construction equipment, with source code
盘点四种WiFi加密标准:WEP、WPA、WPA2、WPA3
汇编语言(1)基础知识
杰理之.强制升级【篇】