In spite of the appearance of many websites about online fashion shopping, we believe that our system is an ideal place for people who like shopping but have no time to go shopping outsi
Trang 1We would like to give special thanks to Msc: BIEN VAN QUANG for his enthusiastic guidance to complete our Project He spent a lot of time on reviewing and editing our system analysis and design as well as system development process
We also wish to give thanks to Mr Kazi Shahidul Islam for his assistances and consulting to our documents, language, and presentation
We also will never forget the kind support of Dr Nguyen Minh Viet, Dr Nguyen Viet Huong and other teachers as well as the staffs of International Joints Training program – Hanoi University of Technology and Genetic Computer School
Finally, we would like to thank our parents and all of our friends who have sponsored and supported us to finish this project
Trang 2TABLE OF CONTENTS
2.1 PROGRAM IDENTIFICATION 26
2.2 PROGRAM DESCRIPTION 26
.27
2.3 PROGRAM OUTLINE 28
2.5 PROGRAM ESTIMATION 29
3.1 FILE SPECIFICATION 30
All of the database files are stored in MySQL\data\ots Each table corresponds to 3 files in the following format: 30
tablename.MYD 30
tablename.MYI 30
tablename.frm 30
All of the database files are stored in MySQL\data\ots Each table corresponds to 3 files in the following format: 32
tablename.MYD 32
tablename.MYI 32
tablename.frm 32
4.2 Record specification 32
8.1 OPERATING INSTRUCTIONS 56
8.2 HARDWARE REQUIREMENT 60
8.3 SOFTWARE REQUIREMENT 60
Apache HTTP server 60
MySql server 60
PHP module for Apache HTTP server 60
Windows XP Professional 60
Internet Explorer 4x or later 60
Chapter 9 LIMITATIONS 60
9.1 SCOPE AND LIMITATIONS 60
9.2 Conclusion 61
Trang 3Chapter 1: SYSTEM SPECIFICATION
Fashion is very important in this world rather it was important at all the times
We can't think about the world without fashion It runs in the blood of people these days And it is showing its importance by the passage of time Fashion has changed over the years but it all remains the same, giving people a chance to express themselves in the clothes that they like and what they want to wear
Most of people like shopping, especially fashion shopping They can go shopping all day without being satiating In order to satisfy people’s fashion shopping habits and hobbies, a number of fashion shops, large and small, are increasing day by day However, in the modern living style with full of hustle and bustle, people seem to have less and less time to go to fashion shops or supermarkets They also find it tired
to go from this place to others places but can not buy what they want
To meet the customers’ needs, with the help of information technology, we have had an idea of developing an Online Fashion Shopping System With this solution, people no longer need to go to shops, they only have to stay at home, open their PC, search the website and with some clicks, and they can enjoy seeing and buying a lot of fashion modes
In spite of the appearance of many websites about online fashion shopping, we believe that our system is an ideal place for people who like shopping but have no time
to go shopping outside There are a lot of fashion products, you can choose and order what you need and we will transfer them to you as soon as possible Moreover, It’s exactly which we will bring to u in this website
In addition to the above features, Online Fashion Shopping System offers
some other basic functions:
• Manage orders: allow administrator to fill or remove the customer’s orders
Trang 4• Manage customers: allow sys-admin to manage the profiles of customers
• Update products: allow sales managers to update, edit or remove products
• Login: allow customers to login the system
• Register: allow customers to register for logging the system if they have no accounts
• Update orders: allow customer to change the list of products they chose
• Order: allow customers to order products they chose
Question paper
Our Online Fashion Shopping System seeks the answer to the following
question:
1 What ideas originated from users?
2 What information of users must you input?
3 Any troubles arising from using it?
4 Who are allowed to modify input data?
5 How are forms represented?
6 How is data inputted?
7 How often is data exchanged?
Today with the explosion of information technology, the appearance of so many online shopping websites is considered as an E-commerce solution to meet people’s demand in shopping With online shopping websites, people can save much time for not having to go from places to others
Trang 5Our project aims to build Online Fashion Shopping System, which helps
alleviate the cumbersome activities concerned with shopping The project is also a graduate project for Higher Diploma Course
Online Fashion Shopping System which we have developed is one of online
shopping forms Thus, our online store is usually available 24 hours a day and many customers have Internet access both at work and at home The goal of our website is to make it convenient for people who like shopping or collecting fashion products, because searching or browsing an online catalog can be faster than browsing the aisles
of a physical store In addition, customers can find convenience in purchasing
“anytime, from anywhere to anywhere”
Online Fashion Shopping System was created using PHP under Windows
operating system but is also portable under UNIX operating system Databases were designed with MySQL, one of the most popular database engines which have a friendlier user interface and are widely popular among web developers and thoroughly tested
Due to the time, manpower limitation and requirements of a graduate project, our system is only developed for the above categories We hope to receive your comments so that we can make the system become more useful
Genetic Computer School has 5 computer labs with more than 200 networked PCs that hook up to the school intranet (LAN) These computers also have direct Internet access There are several servers run by system administrations and multiple workstations used by school instructors and students The advantage of the client/server architecture is that the client and server machines work together to accomplish the processing of the application being used The processing capacity is improved and efficiently utilized The clients are optimized for user interaction Meanwhile, centralized, multi-user functionalities are performed by the servers The database can be stored and backup in multiple servers for data safety
Trang 6Figure 1.2 Infrastructures for Online Fashion Shopping System
Figure 1.4 Context Diagram of Online Shopping System
Trang 71.5 FUNCTION HIERARCHY DIAGRAM
Figure 1.5 Function Hierarchy Diagram of Online Fashion Shopping System
Online Fashion Shopping
2.1.1 Add
2.1.2 Edit
2.1.3 Delete
3.1 Manage Customer
3.1.1 Register
3.1.2 Edit
3.1.3 Delete
4.1 Manage Order
4.1.1 Add
4.1.2 Edit
4.1.3 Delete
2.2 Manage Product
2.2.1 Add
2.2.2 Edit
2.2.3 Delete
Trang 81.6 DATA FLOW DIAGRAM
Figure 1.6 DFD Levels 0 of Online Fashion Shopping System
Trang 9
Figure 1.6.1 DFD level 1 for Manage System
Trang 10Figure 1.6.2 DFD Level 1 for Manage Product
Trang 11Figure 1.6.3 DFD Level 1 for Manage Customer
Trang 12Figure 1.6.4 DFD Level 1 for Manage Sale
Trang 13Figure 1.6.5 DFD Level 2 for Manage System – Manage User
Trang 14Figure 1.6.6 DFD Level 2 for Manage Product – Manage Category
Trang 15Figure 1.6.7 DFD Level 2 for Manage Product – Manage Product
Trang 16Figure 1.6.8 DFD Level 2 for Manage Customer – Manage Customer
Trang 17Figure 1.6.9 DFD Level 2 for Manage Sale – Manage Order
Trang 18In order to gather necessary information for the project, we carried out several methods of investigation to find out the shortcomings of the old system and justify the needs to introduce our new system This is done through a direct survey about comments of a number of people who often shopping online as well as about their demands for shopping In addition, we also investigated through some information about the needs of people for relaxing and shopping on Internet
Observe the following statistics about comments:
• The products are not plentiful: 22%
• The quality of products delivered are not what the customer expected: 33%
• The delivery of products can be delayed: 20%
• The other comments: 15%
Trang 191.9.1 Normalized Forms
Normalized database in Online Fashion Shopping System consists of three
tables in 1NF, three tables in 2NF and five tables in 3NF as the following:
Trang 20No DataItems Key
Trang 24Order Entry Table 3 NF
No DataItems Key
Trang 25Figure 1.9.2 Entity Relationship Diagram
Trang 26Chapter 2 PROGRAM SPECIFICATION
2.1 PROGRAM IDENTIFICATION
Institute of Post Telecommunication
Developers:
Project Group 63, Batch 8 of Genetic Computer School, Singapore
NGUYEN THI HAI VAN Reg No 0701 – 021 – 0286
NGO THI THU THUY Reg No 0701 – 021 – 0266
TRINH THI THU TRANG Reg No 0701 – 021 – 0277
Program Size:
2.2 PROGRAM DESCRIPTION
Overviews
Online Fashion Shopping System incorporates many new technologies with
the aim to solve problems in electronic commerce area In traditional commerce, a customer want to buy a fashion product, he/ she must go to stores, or fashion shops It takes them a lot of time for traveling Beside that if they can’t choose a product they like, this means they wasted of time for it Based on the needs of customers, the Online Fashion Shopping System was designed
With the Online Fashion Shopping System, customers can view all fashion
products of store and choose their favorite products for orderings To do that, firstly,
Trang 27the customer will access the website system through the URL of website They can view all products without registering an account, but if they want to order some
products they must have their own account The accounts are created for free
The other benefit of Online Fashion Shopping System is concerned with
electronic commerce The customers and seller contact each other through the website system The advantages of the customers are talked above On site of the seller, website is a place for they can introduce their products, expand their branches and take advantages of online advertising
The Online Fashion Shopping System makes use of several powerful features
of MySQL and PHP, which are:
• A multi-tier architecture
• MySQL for huge database and easy manipulation
• Universally easy to understand and code PHP language
• Minimal cost of open source soft wares
• Friendly GUI based on well-designed web form
• Role-based security using a fixed principal for role authorization
• Easy and safe Backup Utility
How the program works
The operation starts with a person accessing to the URL of the designated website In the website, categories and products are displayed in main page Each product is described in details, includes color, size, manufacturer…
When customers find the products they want, they can register a free account and order the products by adding to order In the order, details of product, quantity and total price will be shown The customers can add more products they want and delete the products they chose At the end, the customers confirm orderings to the manager
by enter their address in box and click confirm order button
Trang 282.3 PROGRAM OUTLINE
CategoryID, CategoryName, Description Add
Edit Delete Search Display
ProductID, ProductName, Description, Manufacturer, Size, Color, Image_Path
UserID, Username, Password, Full-name, Address, Email, Telephone, Role, Join_Date,
User.frm, user.MYI, user.MYD
Pro.frm, pro.MYI, pro.MYD
Help_category.frm, help.MYI, help.MYD
Db.frm, db.MYI, db.MYD
Event.frm, event.MYI, event.MYD
- Display product information
- Display category information
- Display user information
Trang 29This project started in January 2008 and ended on 16th May 2008, the project implementation is divided into 5 stages as shown in the following figure:
Trang 303.1 FILE SPECIFICATION
All of the database files are stored in MySQL\data\ots Each table corresponds
to 3 files in the following format:
Default Constraints Description
UserID Integer 13 0 4294967295 Unique value that
defines a user number
Full-name Varchar 255 All Full Name of the userAddresss Varchar 255 yyyy-mm-dd User’s date of birth
Role Enum ‘subadmin’,’manager’, ‘customer’ User’s phone numberJoin_date TimeStamp valid email User’s email
Login_time TimeStamp
Field Name Field
Type
Field Size
Default Constraints Description
4294967295
Unique/ auto-increment number that defines a Category
CategoryName Varchar 255 All Specify name of category
Description Varchar 255 All Description of category
Trang 31Order Table
Order Entry Table
Field Name Field
Type Field Size Default Constraints Description
ProductID Integer 0 4294967295 Unique value that defines a
productProductName Varchar 255 All Name of the product
Description Varchar 255 All Description of the productManufacturer Varchar 255 All Manufacturer of the product
Price Decimal Decimal(10,2) Price of the product
Image_path Varchar 255 All Link to image
Field Name Field
Type Field Size Default Constraints Description
4294967295
Unique value that defines
an orderUserID Integer 42949672950 Uniquie value that defines an userShipping_Address Varchar 255 All Address for shipping
Status Enum ‘unconfirm’, ‘confirm’,
‘cancelled’
Status of an order
Creation_time DateTime yyyy-mm-dd Creation time
Paid Boolean True/False Whether the order is paid
Delivered Boolean True/False Whether the order is
deliverdDelivery_date DateTime yyyy-mm-dd Date for delivering
Field Name Field
Type
Field Size
Default Constraints Description
Trang 32Chapter 4 OUTPUT SPECIFICATION
All of the database files are stored in MySQL\data\ots Each table corresponds
to 3 files in the following format:
Default Constraints Description
UserID Integer 13 0 4294967295 Unique value that
defines a user number
Full-name Varchar 255 All Full Name of the userAddresss Varchar 255 yyyy-mm-dd User’s date of birth
’, ‘customer’
User’s phone number
Join_date TimeStamp valid email User’s email
Login_time TimeStamp
Trang 33Category Table
Product_Table
Order Table
Field Name Field
Type Field Size Default Constraints Description
4294967295
Unique/ auto-increment number that defines a Category
CategoryName Varchar 255 All Specify name of category
Description Varchar 255 All Description of category
Field Name Field
Type
Field Size
Default Constraints Description
ProductID Integer 0 4294967295 Unique value that defines a
productProductName Varchar 255 All Name of the product
Description Varchar 255 All Description of the productManufacturer Varchar 255 All Manufacturer of the product
Price Decimal Decimal(10,2) Price of the product
Image_path Varchar 255 All Link to image
Field Name Field Type Field
Size Default Constraints Description
4294967295
Unique value that defines
an orderUserID Integer 42949672950 Uniquie value that defines an userShipping_Address Varchar 255 All Address for shipping
Status Enum ‘unconfirm’, ‘confirm’,
‘cancelled’
Status of an order
Creation_time DateTime yyyy-mm-dd Creation time
Paid Boolean True/False Whether the order is paid
Delivered Boolean True/False Whether the order is deliverdDelivery_date DateTime Yyyy-mm-dd Date for delivering