Tải bản đầy đủ (.doc) (98 trang)

Online shopping cart

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (6.94 MB, 98 trang )

Bach Khoa – Aptech Computer Education Online Shopping Cart
TABLE OF CONTENTS
1. Problem Definition 03
2. Customer Requirement Specification (CRS) 04
3. Scope of the Work (in brief) 05
4. Architecture and Design of the Project 06
5. Data Flow Diagram 07
6. Entity Relationship (ER) Diagram 15
7. Entity and Properties 16
8. Database Design / Structure 21
9. Task Sheet 28
10. Checklist of Validations 29
11. Submission Checklist 30
12. User Guide 31
13. Setup Guide 84
08/21/2009 1
Bach Khoa – Aptech Computer Education Online Shopping Cart
WEBSITE ONLINE SHOPPING CART
I. PROBLEM DEFINITION
After reading the project specification, the developer states the scope of the project
very briefly. This is referred to as the problem definition. Queries related to the
system can be one or more of the following:
1. How will a customer search for products?
2. How will multiple buyers purchase the same product?
3. How to validate a purchase request?
4. How can the payment process be made secure?
5. How to implement approval of requests?
6. What kind of reports can be generated for the management?
7. How is the promotion service for buyers?
8. How can the customers contact with the manufacturer?
9. How to offer a suggestion?


10. How to have an account for the customers?
08/21/2009 2
Bach Khoa – Aptech Computer Education Online Shopping Cart
II. CUSTOMER REQUIREMENT SPECIFICATION (CRS)
Client: Web site User
Business/ Project Objective:
(can address organization/ business overview, products, concerns, and expectation
from the system)
Create a Web site named www.anqshop.com using ASP.NET and MS SQL Server
2005. The Web site authenticates the existing user by his user name and password.
The Web site has a registration page where a new user can enter his personal details
in the given fields. The user details get stored in the database and the database
containing details of existing users gets updated.
After the user is authenticated, the list of available products along with the
manufacturer’s standard is displayed. The user can select any product to see the
detail of it. The Web site contains a form that allows the user to purchase the
selected product by placing an order. For any queries or suggestions, the user can
interact with the Web site coordinator through the feed back.
Inputs provided by the Client:
• Inputs for the Web-based application
• Outputs from the Web-based application
• Process involved in the Web-based application
• Expected delivery dates
• List of deliverables
• Data Constraints/ Triggers/ Validation Tables
Hardware and OS Requirements:
• Pentium IV CPU 2.80 GHz
• 512 MB of RAM or higher
• Hard disk requirement: Minimum 4 GB
• Windows XP or higher

Software Requirements:
• IIS 4.0 or higher
• Internet Explorer 6.0 or higher
• SQL Server 2005
• Visual Studio 2005
• ASP.NET 2.0
• Microsoft .Net Framework 2.0 or higher
• Window Installer 3.1 or higher
08/21/2009 3
Bach Khoa – Aptech Computer Education Online Shopping Cart
Scope of the Work (in brief):
Depending on the decision taken by the company or firm, following are the
requirements based on which the Web site needs to be developed:
* Customer:
• Registration of new users and log into the website.
• Manage account oneself: change password, change personal information.
• View orders oneself.
• View products, categories and detail of them.
• Place an order through the web.
• Search the products, make payments and choose shipping method.
• Send feedback to ask or make opinions.
• Add product to shopping cart.
• Know statistics of the website.
* Administrator:
• Manage website such as: order, employee, customer, products, categories,
Shipping and payment, FAQs,…
• View, Update, Insert, Delete and Search.
08/21/2009 4
Bach Khoa – Aptech Computer Education Online Shopping Cart
III. ARCHITECTURE AND DESIGN OF THE PROJECT

The application will be made of a Web-based distributed three-tier architecture to
support multiple user transactions at the same time.
08/21/2009 5
Bach Khoa – Aptech Computer Education Online Shopping Cart
08/21/2009 6
User interface with
HTML and ASPX
pages
C# (Code-behind)
files containing
business logic
Web - Tier
Middle - Tier
Database - Tier
SQL Server 2005
Web-Based Distributed 3-Tier Architecture of the Project
Bach Khoa – Aptech Computer Education Online Shopping Cart
08/21/2009 7
Bach Khoa – Aptech Computer Education Online Shopping Cart
IV. DATA FLOW DIAGRAM
The flow of data in the application is shown by the various data flow diagrams. The
most basic data flow diagram is the Context diagram. It shows the basic flow of
data in to and out of the system.
08/21/2009 8
Employee
Customer
Bach Khoa – Aptech Computer Education Online Shopping Cart
08/21/2009 9
Context Diagram – anqshop.com
Bach Khoa – Aptech Computer Education Online Shopping Cart

DFD Level 1 – anqshop.com
08/21/2009 10
Bach Khoa – Aptech Computer Education Online Shopping Cart
DFD Level 1 – anqshop.com
08/21/2009 11
Bach Khoa – Aptech Computer Education Online Shopping Cart
DFD Level 2 – anqshop.com
08/21/2009 12
Bach Khoa – Aptech Computer Education Online Shopping Cart
DFD Level 2 – anqshop.com
08/21/2009 13
Bach Khoa – Aptech Computer Education Online Shopping Cart
DFD Level 2 – anqshop.com
DFD Level 2 – anqshop.com
08/21/2009 14
Bach Khoa – Aptech Computer Education Online Shopping Cart
DFD Level 2 – anqshop.com
08/21/2009 15
Bach Khoa – Aptech Computer Education Online Shopping Cart
V. ENTITY RELATIONSHIP DIAGRAM (ERD)
Entity Relationship Diagram (ERD)
ERD – anqshop.com
08/21/2009 16
Bach Khoa – Aptech Computer Education Online Shopping Cart
Entities and Properties
08/21/2009 17
Bach Khoa – Aptech Computer Education Online Shopping Cart
08/21/2009 18
Bach Khoa – Aptech Computer Education Online Shopping Cart
08/21/2009 19

Bach Khoa – Aptech Computer Education Online Shopping Cart
08/21/2009 20
Bach Khoa – Aptech Computer Education Online Shopping Cart
08/21/2009 21
Bach Khoa – Aptech Computer Education Online Shopping Cart
VI. DATABASE DESIGN/STRUCTURE
TABLE DESIGN
08/21/2009 22
TABLE PRODUCTS
Field Name Data Type Null Key Description
ProductID Varchar(20) No PK
Store the ID of the
product
ManufactureID Int No FK
Store the ID of the
manufacturer
ProductName nvarchar(100) No
Store the name of
the product
CategoryID varchar(10) No FK
Store the ID of the
category
UnitPrice money No
Store the price of
each unit product in
the same category
Image nvarchar(50) No
Store the image of
the product
Description nvarchar(Max) Yes

Store the
description of the
product
Discount narchar(50) Yes
Store the discount
of the product
UnitInStock Int No
Store the number of
the unit product in
stock
QuantityPerUnit varchar(50) No
Store the quantity
of each unit product
IsShow Bit No
The product is
showed or not
TimeAdd Datetime Yes
Store the date when
the product is
added.
Bach Khoa – Aptech Computer Education Online Shopping Cart
TABLE SHIPPING
Field Name Data Type Null Key Description
ShipingID varchr(20) No PK
Store the ID of
the shipping
ShippingNam
e
nvarchar(50) No
Store the name

of the shipping
Price money No
Store the price of
each type of the
shipping
TABLE ORDERDETAIL
Field Name Data Type Null Key Description
OrderID varchar(20) No PK
Store the ID of the
order
ProductID varchar(20) No PK
Store the ID of the
product
Price money No
Store the price of each
order
Quantity int No
Store the quantity of
each product which
the customer buys
Discount Int Yes
Store the discount of
the order.
08/21/2009 23
TABLE PAYMENTMETHOD
Field Name Data Type Null Key Description
PaymentID Int No PK
Store the ID of
the payment
method

MethodsName varchar(50) No
Store the name
of the method
Bach Khoa – Aptech Computer Education Online Shopping Cart
08/21/2009 24
TABLE MANUFACTURERS
Field Name Data Type Null Key Description
ManufactureID Int No PK
Store the ID of the
manufacturer
ManufactureNam
e
nvarchar(100) No
Store the name of
the manufacturer
Address nvarchar(100) No
Store the address of
the manufacturer
Email varchar(50) No
Store the email of
the manufacturer
Phone varchar(50) No
Store the phone
number of the
manufacturer
TABLE CATEGORIES
Field Name Data Type Null Key Description
CategoryID varchar(10) No PK
Store the ID of
the category

CategoryName nvarchar(50) No
Store the name
of the category
Image nvarchar(50) No
Store the image
of the category
Description varchar(MAX) No
Store the
description of
the category
IsShow Bit Yes
Store the
category is
showed or not
Bach Khoa – Aptech Computer Education Online Shopping Cart
08/21/2009 25
TABLE FEEDBACKS
Field Name Data Type Null Key Description
FeedbackID Int No PK
Store the ID of
the feedback
NickName nvarchar(50) No
Store the
nickname of the
user who offers
a suggestion
DatePost datetime No
Store the date
when the user
sends a

feedback
FeedbackContent nvarchar(MAX) No
Store the
content of the
feedback
Email nvarchar(50) No
Store the email
of the user who
sends a
feedback
Reply Nvarchar(MAX) Yes
Store the
content of the
reply

Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×