Project Background and Significance
Purpose : The main goal of this project is to design and implement an online free novel platform based on WeChat applets. Front-end users use applets, and background management uses PHP+MySql-based B/S architecture; administrators enter author information through the background and publish Information, member management, etc.; the author logs in through the account published in the background, publishes the novel, and enters the chapter content of the novel; the user logs in through the applet, checks the information, checks the novel information, and reads the novel.
Significance : The small program system of the online free novel platform is the product of the combination of computer technology and novel reading. The speed of social development is getting faster and faster, and the social pressure is changing faster and faster, causing many people to adopt various methods to decompress. The way most people relieve stress is to hold a book, immerse themselves in the plot in a happy mood, and relieve themselves with short-term pleasure. The development of the online free novel platform based on the WeChat applet mainly includes the establishment and maintenance of the background database and the development of the front-end application applet. For the former, it is required to establish a database with strong data consistency and integrity and good data security. For the latter, the application program is required to be fully functional and easy to use.
Feasibility Analysis
The feasibility of system development can be summarized in the following three aspects of the online reading system based on the WeChat applet, as follows:
1. Technical feasibility
Use Windows 7 or 10 as the operating system, use phpstorm software as the development background management, use mysql for database storage, and use WeChat developer tools to develop WeChat applets; the hardware environment of the background management system is a PC, and the front-end users use WeChat applets on mobile phones .
2. Economic feasibility
On the one hand, the development of phpstorm and WeChat developer tools has a good man-machine interface and strong functional support, which further improves the work efficiency of the author entering the novel and saves manpower and material resources; on the other hand, the production cost of the system is low. Some PCs can use phpstorm and WeChat developer tools for development.
3. Operation feasibility
In terms of operation, phpstorm software uses the background management system on the Windows operating system. It is simple and convenient to complete the functions of data entry, modification, and deletion mainly by using Windows operating technology. Users use their mobile phones to log in to the online free novel platform system of the WeChat Mini Program.
main function module
【Administrator function】
Member management: view all registered member information on the website, support deletion
Information input: input information title, time, information content, etc.
Management information: view existing information list, support modification and deletion functions
Advertisement settings: upload pictures, set Carousel image and advertisement link
Message management: view the message list of the applet, support deletion
Book classification: set classification, support entry, modification, deletion, set it and do not touch it
Book management: view all entered book information
Author entry: enter author account number and password
Author management: view all author's complete information, support modification and deletion
Password modification: modify the password of your own account
Logout: clear the login status
[Author function]
User login: The account is entered by the website administrator. After obtaining the account, the author can directly log in and modify it.
Password modification: Modify the password of his own account, and the initial account is issued by the background.
Logout: Clear the login status
Author information setting: Set yourself Account name, contact information, avatar, brief introduction, author introduction
Book entry: select a category, enter book title, cover, introduction
Book management: manage the book information entered by yourself, support modification and deletion.
Book catalog and content: enter the chapter name and content of the book
[User function]
User registration: the account of an ordinary user
is registered by the user himself User login: log in with the account registered by himself
Information function: the information of the applet, the user can browse the information list and detailed information arbitrarily
Novel list: Enter the relevant information of the novel in the background, and click "All Novels" on the main menu to view all novels.
Classification of novels: In order to manage novels, relevant classifications of novels are set in the background; when entering novel information in the background, it will choose which category it belongs to; in the front-end applet, you can click "category" to filter the required novels.
Novel query: On the home page or at the top of all novel lists, you can enter the keywords of the novel you want to query, and then click the "Query" button to query the name of the novel you are looking for.
Novel information: Click to go to the novel details page, you can view the introduction of the novel, the detailed chapter catalog of the novel, the information of the author of the novel, etc.
Collection operation: In the details of the novel information, click "Favorite" at the bottom to save it.
Novel reading: Click "Read" on the right side of the chapter you want to read to enter detailed reading. You can click "Read Previous Section" at the top, and click "Read Next Section" at the top
to read the menu: On the novel page, in the upper right corner, you can click the catalog to return, and click Home to go to the home page of the mini program
My Favorites: list of favorited books
Collection Management: view all book collections, support deletion, and support clicking to novel pages
User Information Modification: modify user information
Password Modification: modify login password
Logout: clear login status
Development overview
It mainly introduces some key technologies used in the development process of the system, mainly including the MINA framework for front-end applet development; PHP development for background development; MySQL database; and the introduction of conventional web technology HTML/CSS/JAVASCRIPT.
Development operating system: windows10 + 4G memory + 500G
Mini Program Development: WeChat Developer Tools (MINA Framework)
Background environment: IIS +PHP
Background development language: PHP
Background development tools: Dreamweaver +PhpStorm
Database: mysql8
Database management tool: navicat
Other development languages: html + css +javascript
Development file description
background management file
Path: background source code ht directory is the background
Green shows the system framework, do not move
Location |
program name |
illustrate |
Source code root directory |
login.php |
Background login page |
Source code root directory |
check_u_login.php |
Background login handler |
ht background root directory |
index.php |
Background Home |
left.php |
background left menu |
|
u_logout.php |
sign out |
|
ht/quanxian password management |
mima.php |
Password change page |
mima_act.php |
password changer |
|
ht/zixun Information |
zixun_add.php |
Information entry page |
zixun_add_act.php |
Information entry database program |
|
zixun_list.php |
information list |
|
zixun_xiugai.php |
Information modification page |
|
zixun_xiugai_act.php |
Information modification procedure |
|
zixun_del.php |
Information Deletion Procedure |
|
ht/ guanggao Ads and Messages |
ad_index_wx.php |
Carousel settings page |
ad_index_wx_baocun |
Carousel image setting program processing |
|
liuyan_list.php |
Message List |
|
liuyan_delt.php |
message delete |
|
ht/huiyuan member |
hy_list.php |
member list |
hy_del.php |
member deletion |
|
ht/ shezhi Author Account Settings Management |
sys_user_add.php |
Author account entry page |
sys_user_list.php |
List of author accounts |
|
sys_user_modi.php |
Author account modification |
|
sys_user_del.php |
Author account deletion |
|
ht/shu Fiction Book Center |
caidan_1ji.php |
Category settings |
tushu_list.php |
novel list |
|
tushu_xiugai.php |
Novel revision page |
|
tushu_xiugai_act.php |
Novel revision process |
|
tushu_del.php |
novel delete |
|
jiaocheng_mulu.php |
Fiction Catalog Home |
|
mulu_xiugai.php |
Novel chapter modification page |
|
mulu_xiugai_act.php |
Novel Chapter Amendment Program Handling |
applet interface file
applet interface
program name |
Include |
|
front page |
wx_lunbo.php |
Get top carousel |
wx_news_list.php |
Get the latest information 3 items |
|
wx_shu_top6.php |
Get the latest 6 fiction books |
|
Information |
wx_news_list_byid.php |
Get information list |
wx_news_info.php |
Get information Details |
|
Classification of novels |
wx_shu_fenlei_list.php |
Get Fiction Categories |
wx_shu_all2.php |
Get a list of classified novels |
|
all novels |
wx_shu_all.php |
Get a list of all novels |
Novel Details |
wx_shu_mulu_index.php |
read chapter list |
wx_shu_xinxi_byid.php |
Read the introduction information of the novel book |
|
x_shu_zuozhe_xinxi_byid.php' |
Read author general information |
|
wx_shu_zuozhe_jieshao_byid.php |
Read the author's introduction information |
|
wx_shu_shoucang_add.php |
Collection interface |
|
novel reading |
wx_shu_zhangjie_xiangqing1.php |
Read Chapter Summary Information |
wx_shu_zhangjie_xiangqing2.php |
Read chapter details |
|
message |
wx_api_liuyan.php |
Submit Message |
member |
wx_check_reg_yonghu.php |
Ordinary user registration |
wx_check_login_yonghu.php |
Ordinary user login |
|
wx_check_reg_yonghu-weixin.php |
WeChat login |
|
wx_shu_shoucang_list.php |
read all favorites |
|
wx_shu_shoucang_del.php |
favorite delete |
|
wx_huiyuan_xinxi_byid.php |
read member information |
|
wx_huiyuan_xinxi_update_byid.php |
Update member information |
|
wx_huiyuan_mima_act.php |
change Password |
Functional block diagram
Small program function entity diagram
Database ER Diagram
Screenshot of work effect