Design and implementation of WeChat applet e-book novel system

      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

7cf96882f6404e3b8c834316eea35afd.png

【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

04317851a03743fbad589011466076e2.png

   Database ER Diagram

085fc09f35b046b0a50e825d448577c2.png

Screenshot of work effect

  Screenshot of applet function

3968b3057ba64ec3a81f544b3cfae3b3.jpegcc29066e5bc94e789125382d601a4e57.jpeg96cfc4cf5df646088a1fd2300c6a063b.jpeg9aed5529ce7b4ec4ba9543b885db7313.jpega8a354f44fb547ab868b73690a0a1837.jpegfc835baec7864173aae5d4b6c13008d6.jpega88d3c09a27d4a7b852991488a6ee984.jpeg6f067d20f2584f2c9ac86cfbb0a65b82.jpege8d70ebe6e7f49c8abdb8d88cfd4f1e8.jpegb629d733ce574a4491a88fc526edf02d.jpeg580d6bbba49048aea54fd474da679199.jpeg6c6c899a1a804f9cbd3011dab4ce2898.jpeg

  Background management screenshot

d6ad9acbdcc14fbbab2c5601de0dd788.jpeg9c9bb1c2f37f4c16b959dc6b8d047085.jpeg13de60813c85498ab0eb3ad3b4f88ec4.jpeg06aec1f0ac154d54b0173d53ce1066f2.jpegd8ca18eba6874249a4c4613a3d9c306e.jpeg87b2dba8e63a401fb1576785de732343.jpeg3f158b6af4d54abe84f592347d957c56.jpeg4bbbebd17fb343e3b9532f53b8b0daf2.jpeg

Guess you like

Origin blog.csdn.net/u013818205/article/details/128879707