1. Trang chủ
  2. » Giáo Dục - Đào Tạo

Project 1 SELLING COMPUTER COMPONENTS WEBSITE

26 10 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 26
Dung lượng 406,33 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

View product information Description Allow members to view product information in the storeInput Handling Extracting information from Database Data... Search product Description Guests h

Trang 1

Project 1

SELLING COMPUTER COMPONENTS WEBSITE

BIT01-K63 – Group 8

NGO VAN HUY

Person made

NGUYEN MINH HANG

Instructor Mr KIEU DUC HANH

s - Hanoi, 12 /2019 –

Trang 2

1 Problem Definition

1.1 Problem Abstraction

1.2 The Current System

1.3 The Proposed System

1.4 Boundaries of the System

1.5 Hardware and Software Requirements

1.5.1 Minimum Requirements 1.5.2 Recommended Requirements

2 Customer Requirements Specification 2.1 Users of the System

Trang 3

1.Problem Definition

1.1 Problem Abstraction

Today, when the demand for exchanging and searching information of

people is increasing, almost everyone needs to equip themselves with a computer

to be able to serve the individual needs of each person Therefore, this website

was born to serve the needs of each person rising to offering customers quality

products and know how to protect and use in a way that results.

Sales website is an exchange tool between seller and buyer Where sellers

can introduce products to buyers in need and fulfill their needs online So just a

few clicks, users were able to complete the task buyer's products.

Facing the needs of individuals and businesses website design as well as the

passion for web application programming We chose the topic: "Website Selling

computer Components" to be the subject of Project I.

1.2 The Current System

The idea of a selling computer components online website is not new, for those who surf the web with just one click can find many websites selling computer components For example, when you need to buy a computer

components, you can go to many websites and some big websites are:

https://www.hanoicomputer.vn/ , https://www.anphatpc.com.vn/… However, through thoroughresearch, we found that the above systems have the following disadvantages:

Firstly, manufacturers and authorized dealers only introduce their owncosmetics When a customer wants to see a company's product, they musfind out through its website or go to its authorized agent, which makes itvery difficult for customers to compare their products with together

Finally, most online shopping websites have a simple interface and lack

Trang 4

1.3 The Proposed System

The website for selling computer components built and deployed by my teacan be described as an online electric supermarket In that online supermarket,

w will let component companies rent places and business methods In short, we are not the direct suppliers of the product, we only create an intermediary

environment between phone companies and customers, then each order or question will be directed directly to the corresponding carrier requested by that customer

This new system will have the following functions:

For consumers: Creating favorable conditions for consumers to be able to evaluate and search for cosmetics of the same manufacturer

or different brands, so that they can choose for themselves the right product

For manufacturers: the website helps promote the image of the manufacturer More important than the website is where it can sell its products in the fastest and most effective way In addition, the focus o many firms enables each firm to capture the needs of customers for it products with other firms devising new sales strategies to compete with other brands

Compared to the old system, this new system has overcome and added the following new functions:

Eye-catching interface, suitable for the aesthetic of many different social classes

Search function by cosmetic type, cosmetic name, manufacturer, quick search by price

Function allows customers to manage accounts and shopping cartconveniently

Trang 5

1.4 Boundaries of the System

Currently, due to objective conditions, the system still has no payment function Search function by product name is still difficult and not real accurate

The scope of the project is to deploy in large cities, where information systems are relatively developed Users are those who access the network In addition, due to weak resources, limited time and inexperience, some features such as security, database design and interaction between website and users are limited

1.5 Hardware and Software Requirements

1.5.1 Minimum Requirements

Trang 6

* Connect Internet or *Connect Internet or

2.1. Users of the System

Objects of the system include:

GUEST (Current customers)

MEMBERS (MEMBERS)

ADMIN (SYSTEM MANAGEMENT)

Trang 7

Full nameAccountpasswordEmailphone numberRegistration buttonLogin button

Handling Customers see the login of personal information in

the registration formClick the register buttonThe system updates customers' information to themember list

Registration is complete enough a customer back tohome page

Output Customers become members of the system

Note Enter complete information to fill out

b View product information

Description Allow members to view product information in the

storeInput

Handling Extracting information from Database Data

Trang 8

Database connectionThe system shows product information:

Product code, product name, photo, price,description

Close database connectionMembers see details about the selected productOutput Display information on the product just clicked

Note

c Search product

Description Guests h à n g entering information into the search

bar to search for productsInput

Handling The product name that customers want to search

Show search barGet information from the databaseDatabase connection

If the result is received, the search results will

be returned to the user

If the product can not be found , the system willsend a message: "No results found"

Close database connectionRedirecting to products that users have just searchedfor

Output Notify, display results from the system

Note Need to keep the product name are looking for

Trang 9

Table showing product information:

Product name, photo, price, orderbutton

Close database connectionOutput Display products and order buttons and then

convert to shopping cartNote

MEMBERS

Has full functions like Guest There are also functions:

a) Log in: Members use their existing account to access the site.

Description Allow members to log into the system

Input For m login display:

AccountpasswordLogin buttonRegistration button

Handling Enter your account and password into the login form

Account checking system, password

If the login is successful, return to the home page

If the login is incorrect, the system will switch to theregistration form

Output Members login successfully and can use the

functions provided by the systemNote Enter the correct account registered

b) Order: Allow members to select items and save items to buy in the cart.

Description Save item and item code to cart

Trang 10

Handling Retrieve the database and save the cart that member chooses

to the database.

Output Display detail items in cart like product code, quantity, price,

and total value.

c) Logout: The member exits from logging in to the website

Description Sign out of your account

Input

Handling Open session

Disable user sessionReturn to the system's login pageOutput Display the homepage

d) Change personal information:

Description Allow members to change the registration informationInput

Handling Members choose to edit personal information

Get information from the DatabaseDatabase connection

Trang 11

Existing system of current member information:

Customer name, email, password , phone number,address, correction information

Click the edit information button

If successful will notify "successful repair"

Close database connectionBring members back to the personal information formOutput Display personal information that has been successfully

Handling Members press payment to create orders

Get information from the Database

Trang 12

Database connectionThe system shows product information:

product code, product name, photo , quantity,unit price, purchase, continue purchasesAssociation of Israel continue to enterinformation:

Customer code, Customer name, Phone number,Email, Address

Select the purchase confirmation functionClose database connection

The system will notify successful purchaseOutput When paying the invoice will be saved to the databaseNote

Bill Code, Product code, Price, Order date ,Quantity

Close database connectionOutput Show order history table from database

Note Need to purchase product to show

Admin (SYSTEM MANAGEMENT)

Admin has all the functions like Member (member) :

In addition, Admin also has the following functions:

a) Module customer management:

Trang 13

Description Allow Admin to view and update customer related

information.

Input Customer Code, Customer Name, Email, Password,

Address, Phone Number, AddressHandling Database connection

The system displays Admin informationClose database connection

Administrators have 2 choices: Edit, delete

If the Administrator enters the edit, the message

"Repair successful"

If the Administrator enters the delete, the message

"Successful modification"

Output Show customer information after update.

b) Admin management module

Description Allow Admin to manage information of every AdminInput Admin Name, Email, Password, Phone Number,

Permissions code, Add, Edit, DeleteHandling Database connection

Trang 14

Close database connectionAdministrators have 3 choices: Insert, edit, delete

If the Administrator enters an insert, the message

Output Admin will be saved to database

c) Product management module:

Description Allow Admin to change product information

Input Product code, Product name , quantity, photo, price,

description, order status, insert, edit, delete

Handling Database connection

The system displays the order informationClose database connection

Administrators have 3 choices: Insert, edit, delete

If the Administrator enters an insert, the message

Output Products will be changed on database

d) Manufacturer management module:

Description Allows Admin to manage manufacturer informationInput Manufacturer code, Manufacturer name, insert, edit,

delete

Trang 15

Handling Database connection

The system displays customer informationClose database connection

Administrators have 3 choices: Insert, edit, delete

If the Administrator enters an insert, the message

e) Order management module:

Description Allow Admin to check and confirm order informationInput Bill Code, Customer code, Booking time, Recipient's

phone number, Recipient's address, Order status,delete

Handling Database connection

The system displays the order informationClose database connection

Administrators have a choice: Delete

If you click delete, the message "Successfully deleted"Output Orders will be saved on database

3.1 Database Design

Trang 16

Admin name

Bill

Addres s

password

Email

phone ber

number maHD

Trang 17

3.2 DATA BASIS DESIGN

1 Admin panel (To store admin information)

Key School's name Datatypes Description

sdt Char(20) Phone Number

2 Table members (To store member information)

Key School's name Datatypes Description

dia_chi

3 Manufacturer table (For storing manufacturer information)

Key School's name Datatypes Description

ten_nha_san_xuat Varchar (50) Manufacturer Name

Trang 18

4 Product table (For storing product information)

Bill table (To store orders)

School's name

ma_hoa_don ma_khach_hang thoi_ gian_dat

ten_nguoi_nhan

sdt_nguoi_nhan dia_chi_nguoi_nhan tinh_trang_don_hang

Datatypes Description

Varchar(50) Product name

Varchar (50) Recipient's name

6 Detailed bill (To store information products in order)

Key School's name Datatypes Description

3.2 Entity Relationship Diagrams

Trang 20

Search

See the product

Cart

Log in

Personal information

Order

Trang 21

3.4 Algorithm

Login

Start

Import username, password

Retrieve database

Đ Check the validity

of the information

True

Notice of successful login

Close

Error message, request re-enter

False

Trang 23

Registration Start

Enter the information

in the form available

Check the validity

of the information

Error message, request re-enter

Trang 24

Close

Trang 25

Save information to database

Notice of added new success

Close

Error message, request re-enter

False

Trang 26

4 Checklist

4.1 Check the validity of the data

All have links to the homepage, and the previous page to it Yes

4.2 Submission Checklist

<System user checks : Does the link work, is the input incorrect , >

feedback

4 The colors used in the page are all common Have

colors

5 The components that make up the site all work Have

6 Website is compatible with the browser? Have IE.4.0 and above

7 The effects are used to exist with the platform Have

Ngày đăng: 25/04/2022, 08:52

TỪ KHÓA LIÊN QUAN

w