Design and Implementation of a Photos-Management Application : Based on WeChat Mini Program
Ke, Jing (2018-02-13)
Design and Implementation of a Photos-Management Application : Based on WeChat Mini Program
Ke, Jing
(13.02.2018)
Tätä artikkelia/julkaisua ei ole tallennettu UTUPubiin. Julkaisun tiedoissa voi kuitenkin olla linkki toisaalle tallennettuun artikkeliin / julkaisuun.
Turun yliopisto
Tiivistelmä
We are in the Mobile Internet Era. With the growing popularity of mobile devices, the development of mobile applications is very rapid and the market competition is becoming more and more intense. Since the hardware and software capabilities of mobile devices have become much more powerful than before, performance is no longer the reason for restricting the technology choice. The technology with the rapid development capability and low development cost will undoubtedly gain developers’ favor.
In early 2016, the concept of WeChat mini program was proposed by Tencent. Since then, WeChat mini program had undergone a continuous improvement process until it was officially released on January 9th, 2017. Different from the traditional C/S based mobile applications and B/S based Web applications, WeChat mini program is a new form of application that falls in between. There is no need to download and install it. It is running in WeChat and very convenient to get and share it. Moreover, its user experience is comparable to a Native App.
On the basis of intensive study on the system architecture and operating mechanism of WeChat mini program, the project in this thesis demonstrates the design and implementation of a photos-management WeChat mini program in both front-end and back-end. This photos-management WeChat mini program provides basic services for WeChat users. The system is divided into two parts: the front-end WeChat mini program and the back-end server. The technologies used in front-end development include JavaScript, HTML and CSS. In the back-end, Nginx is used as a reverse proxy to meet the requirement of HTTPS communication between WeChat mini program and its server. A Node.js server is built on the Tencent cloud. The server development framework is Express and the database is MongoDB. The design and development principles are first established before the overall system design is presented. This thesis also introduces the project’s development environment setup which includes the client-side and server-side configuration. The development in front-end and back-end is conducted separately based on the communication interface definition. The design and implementation of each function module is described in detail. And all functions of this system are tested to ensure the normal operation in both the front-end and back-end. Finally, a summary and prospect of WeChat mini program and an expectation of the project are made.
In early 2016, the concept of WeChat mini program was proposed by Tencent. Since then, WeChat mini program had undergone a continuous improvement process until it was officially released on January 9th, 2017. Different from the traditional C/S based mobile applications and B/S based Web applications, WeChat mini program is a new form of application that falls in between. There is no need to download and install it. It is running in WeChat and very convenient to get and share it. Moreover, its user experience is comparable to a Native App.
On the basis of intensive study on the system architecture and operating mechanism of WeChat mini program, the project in this thesis demonstrates the design and implementation of a photos-management WeChat mini program in both front-end and back-end. This photos-management WeChat mini program provides basic services for WeChat users. The system is divided into two parts: the front-end WeChat mini program and the back-end server. The technologies used in front-end development include JavaScript, HTML and CSS. In the back-end, Nginx is used as a reverse proxy to meet the requirement of HTTPS communication between WeChat mini program and its server. A Node.js server is built on the Tencent cloud. The server development framework is Express and the database is MongoDB. The design and development principles are first established before the overall system design is presented. This thesis also introduces the project’s development environment setup which includes the client-side and server-side configuration. The development in front-end and back-end is conducted separately based on the communication interface definition. The design and implementation of each function module is described in detail. And all functions of this system are tested to ensure the normal operation in both the front-end and back-end. Finally, a summary and prospect of WeChat mini program and an expectation of the project are made.