Project 1 SELLING COMPUTER COMPONENTS WEBSITE

26 10 0
Project 1 SELLING COMPUTER COMPONENTS WEBSITE

Đ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

Hanoi University of Science and Technology Project SELLING COMPUTER COMPONENTS WEBSITE BIT01-K63 – Group Person made Instructor NGO VAN HUY NGUYEN MINH HANG Mr KIEU DUC HANH s - Hanoi, 12 /2019 – Selling Computer Components download by : skknchat@gmail.com Page of 25 Hanoi University of Science and Technology CONTENT 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 Customer Requirements Specification 2.1 Users of the System 2.2 System functions 3.System Designs 3.1 Database Design 3.2 Entity Relationship Diagram 3.3 Website structure 3.4 Algorithms Checklists 4.1 Check List of Validation 4.2 Submission Checklist Selling Computer Components Page of 25 download by : skknchat@gmail.com Hanoi University of Science and Technology 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 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 mus find 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 of aesthetics leading to not attracting many customers Selling Computer Components download by : skknchat@gmail.com Page of 25 Hanoi University of Science and Technology 1.3 The Proposed System The website for selling computer components built and deployed by my tea can 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 cart conveniently Selling Computer Components download by : skknchat@gmail.com Page of 25 Hanoi University of Science and Technology 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 Selling Computer Components download by : skknchat@gmail.com Page of 25 Hanoi University of Science and Technology Hardware Software 1.5.2 Recommended Requirements Hardware Software * SQL Server 2000 * ISS CUSTOMER REQUIREMENTS SPECIFICATION 2.1 Users of the System Objects of the system include: GUEST (Current customers) MEMBERS (MEMBERS) ADMIN (SYSTEM MANAGEMENT) Selling Computer Components download by : skknchat@gmail.com Page of 25 Hanoi University of Science and Technology 2.2 System functions GUEST (Current customer) a sign up Description Allow customers to register for membership of the system Input Registration form i Show: Full name Account password Email phone number Registration button Login button Handling Customers see the login of personal information in the registration form Click the register button The system updates customers' information to the member list Registration is complete enough a customer back to home page Customers become members of the system Enter complete information to fill out Output Note b View product information Description Input Handling Allow members to view product information in the store Extracting information from Database Data Selling Computer Components download by : skknchat@gmail.com Page of 25 Hanoi University of Science and Technology Database connection The system shows product information: Product code, product name, photo, price, description Close database connection Members see details about the selected product Display information on the product just clicked Output Note c Search product Description Guests h n g entering information into the search bar to search for products Input Handling The product name that customers want to search Show search bar Get information from the database Database connection If the result is received, the search results will be returned to the user If the product can not be found , the system will send a message: "No results found" Close database connection Redirecting to products that users have just searched for Notify, display results from the system Need to keep the product name are looking for Output Note d ) Add to cart Description Allow members to click on add to cart Input Handling Get information from the database Database connection Selling Computer Components download by : skknchat@gmail.com Page of 25 Hanoi University of Science and Technology Table showing product information: Output Product name, photo, price, order button Close database connection Display products and order buttons and then convert to shopping cart Note MEMBERS Has full functions like Guest There are also functions: a) Log in: Members use their existing account to access the site Description Input Handling Output Note b) Order: Allow members to select items and save items to buy in the cart Description Save item and item code to cart Selling Computer Components download by : skknchat@gmail.com Page of 25 Hanoi University of Science and Technology 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 connection Bring members back to the personal information form Display personal information that has been successfully corrected Output User must login account Note e) Payment: Description Input Handling Allow members to create orders to proceed with product payment Members press payment to create orders Get information from the Database Selling Computer Components download by : skknchat@gmail.com Page 11 of 25 Hanoi University of Science and Technology Database connection The system shows product information: Output Note 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 connection The system will notify successful purchase When paying the invoice will be saved to the database f ) Order history: Description Input Handling Output Note Allow members to review purchase history Retrieve information from the database Database connection The system shows the purchase history: Bill Code, Product code, Price, Order date , Quantity Close database connection Show order history table from database 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: Selling Computer Components download by : skknchat@gmail.com Page 12 of 25 Hanoi University of Science and Technology Description Allow Admin to view and update customer related information Input Customer Code, Customer Name, Email, Password, Address, Phone Number, Address Database connection The system displays Admin information Close database connection Administrators have choices: Edit, delete If the Administrator enters the edit, the message "Repair successful" If the Administrator enters the delete, the message "Successful modification" Handling Output Show customer information after update b) Admin management module Description Input Handling Allow Admin to manage information of every Admin Admin Name, Email, Password, Phone Number, Permissions code, Add, Edit, Delete Database connection The system displays Admin information Selling Computer Components download by : skknchat@gmail.com Page 13 of 25 Hanoi University of Science and Technology Output Close database connection Administrators have choices: Insert, edit, delete If the Administrator enters an insert, the message "Add success" If the Administrator enters the edit, the message "Repair successful" If the Administrator enters the delete, the message "Successful modification" Admin will be saved to database c) Product management module: Description Input Allow Admin to change product information Product code, Product name , quantity, photo, price, description, order status, insert, edit, delete Handling Database connection The system displays the order information Close database connection Administrators have choices: Insert, edit, delete Output If the Administrator enters an insert, the message "Add success" If the Administrator enters the edit, the message "Repair successful" If the Administrator enters the delete, the message "Successful modification" Products will be changed on database d) Manufacturer management module: Description Input Allows Admin to manage manufacturer information Manufacturer code, Manufacturer name, insert, edit, delete Selling Computer Components download by : skknchat@gmail.com Page 14 of 25 Hanoi University of Science and Technology Handling Output Database connection The system displays customer information Close database connection Administrators have choices: Insert, edit, delete If the Administrator enters an insert, the message "Add success" If the Administrator enters the edit, the message "Repair successful" If the Administrator enters the delete, the message "Successful modification" Manufacturer information will be changed on the database e) Order management module: Description Input Handling Output Allow Admin to check and confirm order information Bill Code, Customer code, Booking time, Recipient's phone number, Recipient's address, Order status, delete Database connection The system displays the order information Close database connection Administrators have a choice: Delete If you click delete, the message "Successfully deleted" Orders will be saved on database System Designs 3.1 Database Design Selling Computer Components download by : skknchat@gmail.com Page 15 of 25 Hanoi University of Science and Technology C Customer C s Address Customer code Customer password Email Admin code Hav e Admin Admin name phone number ber maHD N Email Addres s password maKH Bill TenNguoiNhan Phone Manufa ĐCNhanHang Number tenNSX Name SĐTNguoiNhan Manufac Code maNSX Manufacturer Have N maSP Product maLoai maNSX tenSP Mô tả Giá Selling Computer Components download by : skknchat@gmail.com Ảnh Page 16 of 25 de Hanoi University of Science and Technology 3.2 DATA BASIS DESIGN Admin panel (To store admin information) Table members (To store member information) Manufacturer table (For storing manufacturer information) Key Primary key Foreign key Key Primary key Key Primary key Selling Computer Components download by : skknchat@gmail.com Page 17 of 25 Hanoi University of Science and Technology Product table (For storing product information) School's name Key Primary key Foreign key Key Datatypes ma_san_pham int Product code ten_san_pham Varchar(50) Product name mo_ta Text Describe gia Float Product price anh Varchar(50) Photo ma_nha_san_xuat Int Product code Bill table (To store orders) School's name Primary key Description Bill Code int Customer's code Datetime Booking time ten_nguoi_nhan Varchar (50) Recipient's name sdt_nguoi_nhan Char(20) Phone number dia_chi_nguoi_nhan Text Receiver's address tinh_trang_don_hang int Status ma_khach_hang thoi_ gian_dat Datatypes int ma_hoa_don Foreign key Description Detailed bill (To store information products in order) Key Primary key Foreign key 3.2 Entity Relationship Diagrams Selling Computer Components download by : skknchat@gmail.com Page 18 of 25 Hanoi University of Science and Technology Selling Computer Components download by : skknchat@gmail.com Page 19 of 25 Hanoi University of Science and Technology 3.3 WEBSITE STRUCTURE Website Selling Computer Components Admin Members Guest Admin Search Registration See the product Customer Search Product See the product Cart Log in Personal information Cart Manufacturer Order Selling Computer Components Page 20 of 25 download by : skknchat@gmail.com Hanoi University of Science and Technology 3.4 Algorithm Login Start Import username, password Retrieve database Đ Check the validity of the information Error message, request re-enter False True Notice of successful login Close Selling Computer Components download by : skknchat@gmail.com Page 21 of 25 Hanoi University of Science and Technology Start Registration Enter the information in the form available Error message, request re-enter Check the validity of the information False True Save information to database Notice of successful Close Selling Computer Components download by : skknchat@gmail.com Page 22 of 25 Hanoi University of Science and Technology Search Start Enter the product to search Notice not found Retrieve database products Check if the Đ imported product exists True Displaying search results Close Selling Computer Components download by : skknchat@gmail.com Page 23 of 25 Hanoi University of Science and Technology Add product Start Enter information in the form available Error message, request re-enter Check the validity of the data False True Save information to database Notice of added new success Close Selling Computer Components download by : skknchat@gmail.com Page 24 of 25 ... 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... 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. .. customers Selling Computer Components download by : skknchat@gmail.com Page of 25 Hanoi University of Science and Technology 1. 3 The Proposed System The website for selling computer components

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

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan