Database connectionThe system shows product information: Product code, product name, photo, price, description Close database connectionMembers see details about the selected product N
Trang 1NGUYEN MINH HANG
s - Hanoi, 12 /2019 –
Trang 21 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 31.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 thorough research, we found that the above systems have the following disadvantages:
Firstly, manufacturers and authorized dealers only introduce their own cosmetics When a customer wants to see a company's product, they musfind out through its website or go to its authorized agent, which makes it very difficult for customers to compare their products with together
Finally, most online shopping websites have a simple interface and lack ofaesthetics leading to not attracting many customers
Trang 41.3 The Proposed System
The website for selling computer components built and deployed by my teamcan be described as an online electric supermarket In that online supermarket, wwill let component companies rent places and business methods In short, we arenot 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 itsproducts in the fastest and most effective way In addition, the focus omany firms enables each firm to capture the needs of customers for itproducts 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, quicksearch by price
Function allows customers to manage accounts and shopping cart
conveniently
Trang 51.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 realaccurate
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* Ram 128 Mb
* CPU 800 MHz
*Connect Internet or LAN
Software * Windows Server
2.1 Users of the System
Objects of the system include:
GUEST (Current customers)
MEMBERS (MEMBERS)
ADMIN (SYSTEM MANAGEMENT)
Trang 7the registration formClick the register buttonThe system updates customers' information to the member list
Registration is complete enough a customer back to home page
b View product information
storeInput
Trang 8Database connectionThe system shows product information:
Product code, product name, photo, price, description
Close database connectionMembers see details about the selected product
Note
c Search product
bar to search for productsInput
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
Trang 9Table showing product information:
Product name, photo, price, order button
Close database connection
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.
Account checking system, password
If the login is successful, return to the home page
If the login is incorrect, the system will switch to the registration form
functions provided by the system
b) Order: Allow members to select items and save items to buy in the cart.
Trang 10to the database.
and total value.
c) Logout: The member exits from logging in to the website
Input
Disable user sessionReturn to the system's login page
d) Change personal information:
Input
Get information from the DatabaseDatabase connection
Trang 11Existing 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 form
Get information from the Database
Trang 12Database connectionThe system shows product information:
product code, product name, photo , quantity, unit price, purchase, continue purchases
Association of Israel continue to enter information:
Customer code, Customer name, Phone number,Email, Address
Select the purchase confirmation function
Close database connectionThe system will notify successful purchase
Bill Code, Product code, Price, Order date , Quantity
Close database connection
Admin (SYSTEM MANAGEMENT)
Admin has all the functions like Member (member) :
In addition, Admin also has the following functions:
a) Module customer management:
Trang 13Description Allow Admin to view and update customer related
information.
Address, Phone Number, Address
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"
b) Admin management module
Permissions code, Add, Edit, Delete
The system displays Admin information
Trang 14Close database connectionAdministrators have 3 choices: Insert, edit, delete
If the Administrator enters an insert, the message
c) Product management module:
description, order status, insert, edit, delete
The system displays the order informationClose database connection
Administrators have 3 choices: Insert, edit, delete
If the Administrator enters an insert, the message
d) Manufacturer management module:
delete
Trang 15Handling 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:
phone number, Recipient's address, Order status, delete
The system displays the order informationClose database connection
Administrators have a choice: Delete
If you click delete, the message "Successfully deleted"
Trang 16Hav e
Phone Number
password
Trang 173.2 DATA BASIS DESIGN
1 Admin panel (To store admin information)
sdt Char(20) Phone Number
2 Table members (To store member information)
Ten_khach_hang Varchar (50) Member name
dia_chi
3 Manufacturer table (For storing manufacturer information)
ten_nha_san_xuat Varchar (50) Manufacturer Name
Trang 184 Product table (For storing product information)
ten_san_pham Varchar(50) Product name
5 Bill table (To store orders)
dia_chi_nguoi_nhan Text Receiver's address
6 Detailed bill (To store information products in order)
3.2 Entity Relationship Diagrams
Trang 21Check the validity
of the information
Retrieve database
Import username, password
Error message, request re-enter
Đ
Trang 22True
False
Close Notice of successful Save information to database
Error message, request re-enter
Check the validity
of the information
Enter the information
in the form available
Start
Trang 23Displaying search results
Close
Retrieve database
Đ Enter the product to search
Trang 24True
Save information to database
Notice of added new success
Close
Trang 254 Checklist
4.1 Check the validity of the data
The fields in the form must not be empty Yes
Topic name, cave type, product, are unique Yes
All pages have links to other pages Yes
All have links to the homepage, and the previous page to it Yes
There is a constraint on goods, goods and products Yes
colors
Have