[Computer Graduation Project] Design and Implementation of 269 Shopping Mall Website

1. System screenshots (you can chat privately if you need a demonstration video)

          

Summary

With the development of network technology and computer technology, it has a profound theoretical foundation and has been fully used in reality. In particular, software based on computer operation has attracted attention from all walks of life. In addition, people have now entered the information age, so the promotion and management of information is very critical. Therefore, it is necessary to computerize and systematize the management of shopping mall shopping information. Designing and developing a shopping mall website will not only save manpower and management costs, but also safely store a huge amount of data. It does not take a lot of time to maintain and retrieve shopping mall shopping information, which is very convenient.

The shopping mall website creates a data table in MySQL to save information, and is written using the Vue framework and Java language. And design and implement according to the software design and development process. The system is user-friendly and fully functional. After the administrator logs in to his backend, he manages products and users, performs inbound and outbound operations on products, and manages orders in different statuses. Users view product information, collect products, comment on products, purchase products, and view orders with different statuses.

While the shopping mall website standardizes the mall shopping information, it can also promptly detect erroneous data through the validity rules of data input, so that the data entry can achieve the purpose of accuracy, thereby improving the reliability of the data provided by the shopping mall website, allowing The error rate of system data is reduced to a minimum.

Keywords: shopping mall website; MySQL; Vue framework


  

1 Introduction

1.1 Topic selection background

1.2 The significance of topic selection

1.3 Research content

2system development technology 

2.1 Java language

2.2 SSM framework

2.3 MYSQL database

2.4 Vue framework

3 System analysis

3.1 Feasibility study

3.1.1 Economic feasibility

3.1.2 Time feasibility

3.1.3 Operational feasibility

3.2 System performance analysis

3.2.1 System ease of use

3.2.2 System robustness

3.2.3 System security

3.3 System process analysis

3.4 System function analysis

4 System design

4.1 System goals

4.2 Functional structure design

4.3 Database design

4.3.1 Database E-R diagram

4.3.2 Database table structure

5 system implementation

5.1 Administrator function implementation

5.1.1 Product information management

5.1.2 User management

5.1.3 Product warehousing management

5.1.4 Goods shipment management

5.1.5 Paid orders

5.2 User function implementation

5.2.1 Product information

5.2.2 Shopping cart

5.2.3 Submit order

5.2.4 Paid orders

5.2.5 Contact customer service

6 system test

6.1 Types of system testing

6.2 Functional testing

6.3 Usability testing

6.4 Test result analysis

in conclusion

references

  

1 Introduction

1.1Choice background 

With the development of network technology and computer technology, it has a profound theoretical foundation and has been fully used in reality. In particular, software based on computer operation has attracted attention from all walks of life. Computer software can set different functions according to the business characteristics and management needs of different industries, and can meet the actual operational requirements of various industries. Its fast and convenient information processing mode can already free information managers from tedious work, and also Easy maintenance and security of data can be achieved. In addition, people have now entered the information age, so the promotion and management of information is very critical. Therefore, the information management model is also today's management trend. For mall shopping information, if the old method is still used, it will affect its competitiveness in the industry and be easily eliminated by the times. Therefore, it is necessary to computerize and systematize the management of mall shopping information. Designing and developing a shopping mall website will not only save manpower and management costs, but also safely store a huge amount of data. It does not take a lot of time to maintain and retrieve shopping mall shopping information, which is very convenient.

1.2 choicewill

The practical application of shopping mall websites also helps improve the overall quality of administrators. Because shopping mall websites not only reduce the workload of shopping mall shopping information managers, but also allow them to use the saved time to enrich themselves and improve their personal abilities. Only in this way can they give full play to the services provided by shopping mall websites and let shopping While the mall website displays data information, it can also quickly complete data processing and improve service levels. Moreover, the cost of investment in the development of shopping mall websites is low, but in the later use, a lot of benefits will be generated. Especially when the shopping mall website is operating under high load, it can also ensure the quality and data security of data processing. By controlling the processing work, Optimizing the process can save the manpower and capital required to invest in the traditional model, thereby reducing the cost of information management. In addition, while the shopping mall website standardizes the mall shopping information, it can also promptly detect erroneous data through the validity rules of data input, so that the data entry can achieve the purpose of accuracy, thereby improving the reliability of the data provided by the shopping mall website. , to minimize the error rate of system data.

1.3 Research content

To describe the system according to the common process of designing and developing a system, the system can be divided into analysis stage, design stage, implementation stage and testing stage. Therefore, when writing system documentation, describe the content of the system according to the stage the system is in.

Introduction: This is an introduction to the background and significance of the topic.

System development technology: This is an introduction to the technology that will be used in the system, including the tools used, programming languages, etc.

System analysis: This is an analysis of the system, including the necessary feasibility analysis in the early stage of investment, including an introduction to the needs obtained through user research, including the performance of the system operation, etc.

System design: This is an introduction to the design of the system, including the system functional structure designed using drawing tools, including the designed storage structure of the data table to be created in the database.

System implementation: This is the coding implementation of the system. Including the introduction of the operating effects of each module of the implemented system.

System testing: This is testing of the compiled system. Including functional testing and other content are introduced.


2system development technology 

This part mainly introduces the technology used in this system, including the tools used, programming languages, etc.

2.1 Java language

The Java language has been around for more than 25 years since 1995 and still has a large market share in software development. When Sun invented Java, it was to develop a cross-platform high-level programming language, allowing program developers to focus on the program development process without paying attention to which platform the server belongs to. Because the cross-platform feature allows the language to develop very quickly. The development of Java has absorbed the advantages of languages ​​such as C++, because new things generally solve some of the pain points of old things. Although Java also has many shortcomings, it is at least a development direction. Learning Java does not require too many concepts such as pointers, nor does it need to learn too complex data structure theory, such as stack concepts. Unless some special industries have very strict requirements on these, generally you do not need to consider various aspects when developing programs in Java. various data structures. Because Java is a strongly typed language, various corresponding types have been defined for various data. Java divides data type definitions into two categories, one is the basic type, which contains 8 basic attributes, and the other is the packaging class. There is a clear distinction between basic classes and package classes in terms of fundamental definitions, and there will be clear differences in computer operation. If used incorrectly, compilation errors will occur and the running effect will be affected. The various advantages of Java only need to be followed step by step. Just learn and use it.

2.2 SSM framework

The main framework technology used in the applications developed in this topic is SSM, which is the abbreviation of a collection of frameworks in the Java language. Currently, there are two main branches in the Java language. One is focused on the Java language. After learning the basics of Java, you will There are many advanced Java frameworks to learn, mainly for application backend development and design. On the other hand, you can switch careers to learn the Android language, mainly for Android front-end design. Although it is also Java language, you mainly learn about the Android platform. Various architectures and frameworks. But regardless of the front-end application, the SSM framework is mainly a collection of mainstream frameworks developed for the server side. In view of the bloatedness and cumbersome configuration of the traditional SSH framework, whether it is development or secondary development, it will cause a lot of waste of time, and the learning cannot be effectively connected. It needs to adapt to the various designs of the framework, and the framework design is relatively rigid. Error-prone. The SSM framework is currently the most popular. It bids farewell to cumbersome configurations, makes configuration more flexible, and makes data operations more convenient. It feels very appropriate to choose the SSM framework for development.

2.3 MYSQL number set

Relational database design, the design of database field types and field lengths, all affect the efficiency of large-scale data operations after subsequent program development. Relational databases have explanations for different field types. Based on the application development required by the subject, finding the most suitable relational database is basically considered. Relational databases have been developed for decades. Survival of the fittest has led to the fact that there are not many relational databases that still exist. Basically, they can meet the functional requirements of applications, so the database must be considered from other aspects. choose. From the perspective of installation and maintenance, the SQL Server database has several gigabyte installation packages, and many unnecessary functions will be installed during the installation process, which takes up a lot of resources. The Oracle database is no smaller than the SQL Server installation package, and there will be many problems in the installation. For the needs of the subject, it is not necessary to be so troublesome, and the installation also requires various activations. Only the MySQL database is completely suitable, and the installation package is dozens of megabytes in size. , it is not stressful to run. After all, there are many other useful things on the development computer, and they are completely free, so I chose the MySQL database as the preferred database.

2.4 Vue framework

Vue is the Vue.js framework, which is a progressive framework used to build user access interfaces in browsers. Before learning the Vue framework, you need to first learn the basic knowledge of web page construction, which is the rules of HTML, CSS, and JavaScript languages. Vue is based on this foundation, focusing only on the view hierarchy and adopting incremental development and design from the bottom to the upper layer. The goal of Vue is to combine the corresponding data binding with the view components, and realize it through the API without the need to write the content and dynamic display content together. Using Vue allows program developers to completely design and backend development from the web page The complete separation allows program developers to focus more on the development of their own professional fields. Whether it is in terms of readability or writing, development efficiency will be improved. It should be noted when using Vue that it does not support the IE8 browser and all versions of browsers below IE8. It only supports newer browser versions above IE8.

3 System analysis

Although this part of the content is at the very beginning of the development process, it plays an important role in the subsequent design and implementation, because the quality of the system analysis results will directly affect the development of subsequent links.

3.1Feasibility Study

There are many factors that affect system development. For example, if the development cost is high, it is not suitable for implementation, or if the development time exceeds expectations, it is not suitable for implementation, etc. Therefore, before making a formal development decision, study the feasibility of the system and demonstrate whether the system can be developed from the perspectives of economy, time, and operation.

3.1.1 Economic feasibility

The shopping mall website can simplify the work process, provide information processing functions, and can save data for a long time. It takes less time in later data query and editing, improves the efficiency of information management, and brings considerable benefits. For the development of this system, the cost of investment in the development of computers and development tools is very low. The computer is a computer in the computer room, and the development tools are downloaded and installed from the Internet, and there is no charge.

3.1.2 Time feasibility

The shopping mall website is a work of my graduation project. The college has fully reserved production time and arranged corresponding tasks in each time period. Therefore, the system can be designed according to this time schedule. Completed.

3.1.3 Operational feasibility

With the popularity of computers, many people can operate computers independently. This system runs on a computer configured with an operating environment. Its functions are simple, eliminating a lot of tedious operation logic. Users can directly enter the functional operation area through page navigation, so anyone who knows a little bit about computers can easily Complete the use of the system.

To sum up, this system can carry out the next work.

3.2 System performance analysis

In order to reduce the error rate of this system in actual use, it is necessary to analyze the performance of the system. Common indicators that can evaluate system performance include security, ease of use, robustness, etc.

3.2.1 System ease of use

The information and services provided by the system have specific user groups. Therefore, users prefer a system that is easy to operate than a system that is inconvenient to use. Therefore, it is very important for the system to be easy to use.

3.2.2 System robustness

When the system interacts with the user, in the face of the user's misoperation, the system should have a corresponding feedback mechanism to deal with this problem, rather than entering a system crash state. There are many functions set up in the system. When an abnormality occurs in a certain function of the system, other functions of the system can still be used by users. This is the embodiment of system robustness.

3.2.3 System security

The data stored in the system are relatively important system resources. Once these resources are leaked, not only will there be property losses, but many customers will also be lost. Therefore, the data in the system must be in a safe environment at all times, so measures need to be taken to ensure data security, such as setting up a login function, using security verification technology to guide conditional users to the specified page, and allowing non-conditional users to stay on the login page. Unable to access the system.

3.3systemflow analysis 

The idea of ​​software development and design always runs through this system, and its development process is shown in the figure below. In the early stage, functional analysis, functional design, and the design of the system's backend support database are required. The designed system is implemented using coding technology, and then tested and improved.

Figure 3.1 System development flow chart

The main reason why a visitor can access the shopping mall website is that its database has the visitor's record information. This record is the data written through registration. The registration process is shown below. Whenever a visitor registers on a shopping mall website, each record registered will be judged one by one in the system background. This judgment rule is set in advance. Once the visitor's registration information is saved in the database, it means that the visitor becomes a member of the shopping mall website.

Figure 3.2 Registration flow chart

The visitor operating system requires identity verification, and the setting of the login function is to guide users of this system into the background operation area and exclude users who are not from this system. The process is shown in the figure below.

Figure 3.3 Login flow chart

3.4System function analysis

After clarifying the purpose of the system and the target user group of the system, the functions of the system can be set, the functional requirements of the surveyed users can be obtained, and similar systems on the market can also be analyzed and summarized to derive the functions of the system.

The shopping mall website has administrator rights set up, and its use case diagram is shown in the figure below. After the administrator logs in to his backend, he manages products and users, performs inbound and outbound operations on products, and manages orders in different statuses.

Figure 3.4 Administrator use case diagram

The shopping mall website has set user permissions, and its use case diagram is shown in the figure below. Users view product information, collect products, comment on products, purchase products, and view orders with different statuses.

Figure 3.5 User use case diagram


4 System design

Currently, there are many types of systems. Judging from the content presented by the system, the types of systems include social, business, government, news, etc. Then, among the many system types, the first task of system design is to first clarify the type of system to be designed, and then on this basis, clarify the user group, functions, etc. of the system, and design a system with unique experience and vision based on this information. . Only in this way can the system be more distinctive and leave a deep impression on users among many similar systems.

4.1System title

The function formulation of this system strictly refers to the user's requirements, but when designing this system, it must also meet the design requirements of easy operation and convenient use. Therefore, to design a system that is standardized and meets user needs, the following system goals must be achieved.

The first system goal: The operation mode between the user and the system is based on human-computer dialogue. The design of the visual interface is not only beautiful but also friendly. The various types of information provided by the visual interface meet the requirements of accuracy and reliability, and can be easily viewed by users flexibly.

The second system goal: the data generated by the interaction between users and the system must be stored in the database in a strict and standardized manner. Whether it is searched and managed by later managers, data security must be ensured.

The third system goal: realize the functions required by users. Based on the functional requirements derived from user surveys, complete the design and implementation of the shopping mall website.

The fourth system goal: In necessary links, check the data registered by users, including checking the data length, data input type, etc., provide timely feedback when errors are found, and guide users to standardize registration data. Common data verification includes password modification, registration and login, filling in user information and other aspects.

The fifth system goal: The design and development of this system requires the greatest efforts. In addition to the easy operation of the system, it is also required that the system be easy to maintain during later use, so that the system can be easy to maintain.

The sixth system goal: When this system is delivered to users, it can achieve the goal of stable operation. In addition, the system is safe and meets the conditions of reliability, so users can use it with confidence.

4.2functional structuredesign

The functional analysis done above is only a general function of this system. This part requires detailed design of each module on this basis.

The detailed functions of the designed administrator are shown in the figure below. After the administrator logs in and enters his backend, he can manage products and users, perform inbound and outbound operations on products, and manage orders in different statuses.

Figure 4.1 Administrator function structure diagram

The detailed functions of the designed user are shown in the figure below. Users can view product information, collect products, comment on products, purchase products, and view orders with different statuses.

Figure 4.2 User function structure diagram

4.3Number setting design

Compared with non-relational databases, the most commonly used and easy-to-maintain databases on the market today are relational databases. This database is mainly based on the relational model to organize data information. That is the common two-dimensional table model. It can be said that the relationship between two-dimensional tables and two-dimensional tables constitutes a relational database.

4.3.1 number installationE-R 图

In order to better save the data generated by the shopping mall website, it is necessary to establish the E-R model during the design phase of the database and complete the creation of the table structure in the database. The main reasons why it is necessary to complete the database design separately are as follows:

The first point: prevent code redundancy;

Second point: Prevent occupying too much memory;

The third point: Improve the overall performance of the database to facilitate program development and data updates;

Point 4: Ensure data integrity;

This part of the content is mainly about establishing the E-R model of this system. It is necessary to collect data first, and then analyze the user needs according to the idea of ​​​​database implementation. During this period, entities, attributes, and relationships need to be identified to prepare for drawing the E-R model. So well prepared. At the same time, when drawing, you should also pay attention to the drawing specifications and the correct use of each symbol.

(1) The designed order entity has attributes as shown in the figure below.

Figure 4.4 Order entity attribute diagram

(2) The designed product entity has attributes as shown in the figure below.

Figure 4.5 Product entity attribute diagram

(3) The designed user entity has attributes as shown in the figure below.

Figure 4.6 User entity attribute diagram

(4) The designed shopping cart entity has attributes as shown in the figure below.

Figure 4.7 Shopping cart entity attribute diagram

(5) The relationship between the designed entities is shown in the figure below.

Figure 4.8 E-R diagram of the relationship between entities

4.3.2 Number of tablesTableConclusion< /span>

In order to design a database with reasonable structure and excellent performance, three major paradigms need to be followed when designing the database:

First normal form: ensure that the field values ​​represented by each column in the data table cannot be decomposed any longer;

Second normal form: On the basis of satisfying the first normal form, let each column in the data table be related to the primary key;

Third normal form: On the basis of satisfying the second normal form, ensure that each column of data is directly related to the primary key, not indirectly related.

As can be seen from the above description, these three paradigms are still differentiated in terms of levels. The lowest level is the first paradigm, the highest level is the third paradigm, and the one in the middle is the second paradigm. In short, database design according to these three paradigms can simplify the design process, reduce data redundancy, and improve data retrieval efficiency.

Table 4.1 Shopping cart information table

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

tablename

varchar(200)

yes

shangpinxinxi

Product table name

userid

bigint(20)

no

user id

goodid

bigint(20)

no

Product id

goodname

varchar(200)

yes

NULL

product name

picture

varchar(200)

yes

NULL

picture

buynumber

int(11)

no

Purchase quantity

price

float

yes

NULL

unit price

discountprice

float

yes

NULL

member price

Table 4.2 Product information information table

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

title

varchar(200)

no

title

introduction

longtext

yes

NULL

Introduction

picture

varchar(200)

no

picture

content

longtext

no

content

Table 4.3 Order information table

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

warrants

varchar(200)

no

order number

tablename

varchar(200)

yes

shangpinxinxi

Product table name

userid

bigint(20)

no

user id

goodid

bigint(20)

no

Product id

goodname

varchar(200)

yes

NULL

product name

picture

varchar(200)

yes

NULL

product picture

buynumber

int(11)

no

Purchase quantity

price

float

no

0

Price/Points

discountprice

float

yes

0

discount price

total

float

no

0

Total price/total points

discounttotal

float

yes

0

Discounted total price

type

int(11)

yes

1

Payment Types

status

varchar(200)

yes

NULL

state

address

varchar(200)

yes

NULL

address

Table 4.4 Product shipment information table

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

shangpinmingcheng

varchar(200)

yes

NULL

product name

shangpinfenlei

varchar(200)

yes

NULL

Categories

shuliang

int(11)

yes

NULL

quantity

dengjishijian

date

yes

NULL

check-in time

beizhu

varchar(200)

yes

NULL

Remark

Table 4.5 Product classification information table

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

shangpinfenlei

varchar(200)

no

Categories

Table 4.6 Product warehousing information table

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

shangpinmingcheng

varchar(200)

yes

NULL

product name

shangpinfenlei

varchar(200)

yes

NULL

Categories

shuliang

int(11)

yes

NULL

quantity

dengjishijian

date

yes

NULL

check-in time

beizhu

varchar(200)

yes

NULL

Remark

Table 4.7 Product information table

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

shangpinmingcheng

varchar(200)

no

product name

shangpinfenlei

varchar(200)

no

Categories

tupian

varchar(200)

yes

NULL

picture

chima

varchar(200)

yes

NULL

Specification

yanshe

varchar(200)

yes

NULL

color

shangpinyongtu

varchar(200)

yes

NULL

Product use

zengsongduixiang

varchar(200)

yes

NULL

Gift object

shuliang

int(11)

yes

NULL

quantity

shangpinxiangqing

longtext

yes

NULL

product details

clicktime

datetime

yes

NULL

Last click time

clicknum

int(11)

yes

0

The number of clicks

price

float

no

price

Table 4.8 Administrator information table

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

username

varchar(100)

no

username

password

varchar(100)

no

password

role

varchar(100)

yes

administrator

Role

addtime

timestamp

no

CURRENT_TIMESTAMP

Add time

Table 4.9 User information table

Field

type

null

default

Comment

id (primary key)

bigint(20)

no

primary key

addtime

timestamp

no

CURRENT_TIMESTAMP

creation time

yonghuming

varchar(200)

no

username

mima

varchar(200)

no

password

xingming

varchar(200)

yes

NULL

Name

xingbie

varchar(200)

yes

NULL

gender

touxiang

varchar(200)

yes

NULL

avatar

lianxidianhua

varchar(200)

yes

NULL

contact number

dizhi

varchar(200)

yes

NULL

address

money

float

yes

0

Balance


5 system implementation

In this part, the final results of the previous design are mainly displayed through the operation renderings of the system functions. System implementation has high requirements on the technical ability of programmers, because they need to use programming to implement system design solutions.

5.1 Administrator function implementation

5.1.1 Product information management

The operating effect of product information management in administrator rights is shown in the figure below. The administrator can add, delete, modify and check product information on the current page, and can store or remove products from the warehouse. At the same time, the administrator can also view the comment information corresponding to each product.

Figure 5.1 Product information management page

5.1.2 Fleet management

The operation effect of user management in administrator rights is shown in the figure below. The administrator is responsible for adding, deleting, modifying, and checking user information in the background.

Figure 5.2 User management page

5.1.3 Product receipt management

The operation effect of product warehousing management in the administrator's rights is shown in the figure below. After the administrator puts the product into storage, its information will be displayed on this page, and the administrator can modify or delete the storage information of the product.

Figure 5.3 Product warehousing management page

5.1.4 Commodity outbound management

The operation effect of product outbound management in the administrator's rights is shown in the figure below. The administrator can modify, delete, query and other operations on the goods' out-of-warehouse information.

Figure 5.4 Product shipment management page

5.1.5 Paid Order

管理员权限中的已支付订单管理,其运行效果见下图。用户购买并支付商品之后,管理员需要在当前页面对订单商品进行发货。

图5.5 已支付订单页面

5.2 用户功能实现

5.2.1 商品信息

用户权限中的商品信息,其运行效果见下图。用户在本页面可以操作的功能比较多,可以收藏,评论本页面显示的商品,可以直接购买,也能暂时加入购物车保存商品。

图5.6 商品信息页面

5.2.2 购物车

用户权限中的购物车,其运行效果见下图。购物车帮助用户暂时保存购买的商品,方便用户一次性下单购买多种商品。

图5.7 购物车页面

5.2.3 提交订单

用户权限中的提交订单,其运行效果见下图。用户下单支付前,收货地址和购买的商品需要再次核对清楚,最后支付订单。

图5.8 提交订单页面

5.2.4 已支付订单

用户权限中的已支付订单,其运行效果见下图。用户对订单明细进行查看,可以选择对某些误购买的商品进行退款。

图5.9 已支付订单页面

5.2.5 联系客服

用户权限中的联系客服,其运行效果见下图。用户在操作购物商城网站过程中,遇到任何问题可以咨询客服,客服就负责回答用户咨询的问题。

图5.10 联系客服页面


6系统测试

这部分内容主要是把前期编码完成的系统,当成是计算机系统的一部分,并结合一些数据,计算机硬件和支持的软件进行集成测试和确认测试。之所以要进行最后的测试步骤,原因在于检查制作的系统与需求说明书的比较中,存在的差异问题。进一步确认制作的系统在功能与性能上跟需求说明书当中的要求相符。

6.1 系统测试的类型

检测系统是否合格,需要用到很多的测试类型。接下来就对这部分内容进行描述。

功能测试:这是系统测试中,首先进行的测试内容,其属于黑盒测试。主要检验制作的系统与需求说明文档的相符程度,还有它们之间存在的差异问题。

性能测试:主要测试制作的系统,在同时面对很多的用户请求时,该系统的应对能力。同时也是检查制作的系统跟事先预定的系统性能存在的差距问题。这样的方法通常在实时系统中,或者是嵌入式系统中运用得比较多。

容量测试:这种方法针对数据。检查正常运行的系统对数据处理的容量值。

安全性测试:这种方法常用于检验系统中设置的安全保护机制对来自非法用户的攻击时是否有效。而检测系统中的信息保护机制就需要使用常见安全测试中的保护测试来验证。

健壮性测试:这种测试还有一个别称是容错测试,通常运用故障插入法来检测系统的容错能力,看系统是否可以忽略故障保持继续运行,或者是检测系统应对故障时的自动恢复能力。

兼容性测试:面对计算机的各种软硬件环境,检测本系统是否可以兼容。

易用性测试:这种方法主要是面向用户,检测用户是否很容易理解和使用系统。

6.2 功能测试

购物商城网站在经历最后的测试环节,需要检验本系统的功能安全性,功能适用性等内容,最终得出测试结论。

表6.1 功能测试数据表

测试内容

测试结果

系统功能的适用性

符合要求

系统功能的依从性

符合要求

系统功能的安全性

符合要求

系统功能的准确性

符合要求

系统功能的可操作性

符合要求

6.3 可用性测试

通常来说,一个布局合理,显示的内容无错别字,并具备合理正常的操作逻辑的系统往往很受欢迎,而且可以提升访问者的使用时间以及访问率。

表6.2 可用性测试数据表

测试内容

测试结果

检查系统的操作逻辑合不合理

合理

检查系统的功能布局合不合理

合理

检查系统能否支持鼠标和键盘

检查系统反馈的提示有无错别字

检查系统功能有无友好性

检查系统页面能否正常关闭

检查系统各数据项有无错误

检查系统有无提供帮助信息

6.4 测试结果分析

购物商城网站经过了编码阶段的单元测试,和最后的系统整体测试等测试后,对于用户要求的功能,本系统都进行了实现,各个模块都运行正常。在面对一些故障性问题时,本系统也有相应的应对办法,并且本系统可以保持24小时正常运转。因此,购物商城网站可以交付用户使用。


结  论

购物商城网站的开发设计并不是一件轻松事,因为毕设制作都是依照一定流程进行的。最开始是选择题目,然后通过各种方式查阅资料,以及对使用用户的需求进行调研,确定本系统的功能,为了降低系统编码的出错率,在设计阶段也需要下功夫,认真设计功能模块,使用大学所学的数据库知识,设计数据库。这样一来,对系统编码时,就会根据设计方案进行。编码完成,进行测试就能对合格的系统进行验收了。

借助身边同学还有导师提供的帮助,本人也顺利完成本系统的制作工作。对购物商城网站的分析与总结,发现购物商城网站具有如下特点:

(1)购物商城网站有着详细的功能设计,所以编码时,基本依照设计的功能进行开发,因此具备较完善的功能;

(2)购物商城网站在界面设计与布局时,参考了很多系统的界面设计风格,也从图书馆查阅了关于系统界面设计方面的资料,并把对本系统有用的知识做好笔记,有了这些知识积累,所以我在开发系统时,注重页面文字的排版,以及精确定位各页面元素,合理使用颜色搭配技巧,让本系统在不影响浏览效果的同时,让访问者产生一种简洁干净的视觉效果;

(3)购物商城网站为了让用户易于使用,在能够直观表达系统内容的同时,也把页面的导航放在了页面中最关键的位置,这个位置也是充分考虑了用户的浏览习惯。所以用户操作系统,可以在短时间内找到需要的内容。

由于本人并不是专门从事开发工作的技术人员,目前在校学习的开发类知识处于初级阶段,只是对开发类技术有着简单了解和使用,加上日常完成的作业,也只是局限在某个系统的某个功能模块上,因此,完成一个功能完善的整个系统,对于我来说,还是有一定的压力。所以这也确定了我开发的系统具有缺陷。

(1)对于购物商城网站的编码并没有完全依照编码规范,整个系统存在代码冗余的缺陷;

(2)购物商城网站在数据输入上,对数据有效性检测还不够严格;

(3)对购物商城网站的误操作提示,只是对部分功能进行了设计,还有很多功能都没有设计报错提示。

综上所述,本人仍需花费时间去学习编程知识,在后期,我将会学习代码模块化,将一些通用的函数,变量等进行单独设置,然后直接在需要的页面上进行调用,这样可以降低代码冗余率,同时也会多学习针对程序易出错地方的解决方案等知识。学习这些知识除了完善本系统之外,也是弥补自身编程能力不足的缺陷。


参考文献

[1]陈猛.基于Java的购物网站设计与开发[J].农家参谋,2020(08):200.

[2]焦灵.基于Web的购物网站系统设计[J].电脑编程技巧与维护,2018(12):131-133+139.

[3]袁馨,段华琼.购物网站的设计与实现[J].福建电脑,2018,34(10):148-149.

[4]王子虎,胡丽珍.基于计算机软件安全开发的Java编程语言研究[J].数字技术与应用,2019,37(12):133-134.

[5]谢懿.计算机软件Java编程特点及其技术分析[J].农家参谋,2020(01):166.

[6]欧阳桂秀.Java语言存取文本文件的研究[J].科技传播,2019,11(24):128-129+162.

[7]左兆丰.Java嵌入式数据库程序的开发[J].电脑编程技巧与维护,2020(01):101-103.

[8]黄守涛.基于Java语言的异常处理探讨分析[J].自动化技术与应用,2020,39(02):30-32+107.

[9]邹红霆.基于SSM框架的Web系统研究与应用[J].湖南理工学院学报(自然科学版),2017,30(01):39-43.

[10]汪维,胡帅.MySQL数据库有关数据的备份方法分析[J].信息技术与信息化,2020(07):36-37.

[11]丁佳.基于JSP+MySQL的用户登录系统SQL注入实例及防范[J].网络安全技术与应用,2020(09):49-51.

[12]廖家莉,曹俊.web前端主流框架分析与对比[J].科技视界,2020(28):121-122.

[13]蔡泽铭,王文华.基于Vue.js的信息管理系统前端架构[J].电子技术与软件工程,2020(18):142-144.

[14]耿庆阳. 基于Spring Boot与Vue的电子商城设计与实现[D].西安石油大学,2020.

[15]曾志明.网站开发技术的比较研究[J].电脑知识与技术,2015,6(05):1075-1078.

[16]卫红春.信息系统分析与设计[M].北京:清华大学出版社,2015.

[17]Oscar Rodriguez-Prieto,Francisco Ortin,Donna O’Shea. Efficient runtime aspect weaving for Java applications[J]. Information and Software Technology,2018,100.

[18]Raffi Khatchadourian. Automated refactoring of legacy Java software to enumerated types[J]. Automated Software Engineering,2017,24(4).


  

伴随着毕设项目的制作完成,也就意味着我们即将离开校园。回想几年的大学时光,不由得想起身边常伴的同学,授课的老师,还有毕设指导的老师们。

大学这几年,身边的同学为我提供了很多的帮助,不管是生活上,还是学习上,每次遇到问题,这些同学们都会耐心解答,有时为了避免我再次犯错,他们也会时不时提醒我。本次毕设制作期间,这些老同学也是互相分享开发经验,还有文档编写的技巧,从开题报告,还有任务书以及最后的论文等文档上,大家都是互相提出建议,互相参考一些编写经验和技巧。如此,我们才会进展得比较顺利。此刻,真心感谢这些老同学!

唯一不能忘记的是导师,平均每个导师都带了很多个毕业生,所以能够想象他们非常忙,因为一到毕业季,他们需要指导学生们毕业,还需要正常授课。作为本届毕业生,我也能够体会导师的辛苦和不容易。毕设制作的环节有很多,但是我的导师在进行的每个环节都严格要求我认真努力对待本项目,也对我编程技术上提出了很多至关重要的建议,还对一些比较细微但是也比较关键的部分向我进行了多次强调,让我少走弯路,可以如期实现本系统。此刻,真心感谢导师!

校园里的授课老师不仅有本专业的老师,也有其他专业的老师们,他们都教过我们课程,向我们传授知识,有了这些知识积累,我在本次毕设制作中,才知道有些问题该如何运用知识处理,此刻,感谢那些授课老师。

最后时刻,我要感谢校园,祝愿校园更加强大!

Guess you like

Origin blog.csdn.net/licongzhuo/article/details/130029850