Tải bản đầy đủ (.pdf) (18 trang)

SalesOnlineDesign.pdf

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 (802.83 KB, 18 trang )

October 1, 2007
Sales Online Sub-System

1 Nguyễn Tiến Mạnh, Đào Xuân Dương, Phạm Hồng Hân, Vũ Đức Đông
K55B-CNTT Đại Học Sư Phạm Hà Nội

III- SYSTEM DESIGN
1-Application Architecture
Ngày nay các hệ thống hiện đại đều là các hệ phân tán, nó giúp phân phối dữ liệu và các
dịch vụ đến gần người dùng cuối hơn, cắt giảm sự phức tạp và đầu tư bảo trì. công nghệ Web là
một trong những công nghệ mang những đặc điểm rõ nét nhất của những hệ phân tán, hoạt động
dựa trên kiến trúc Client/Server.

Hệ thống bán hàng trực tuyến sẽ được phát triển theo mô hình trên và được cài đặt trên nền .Net
Framework cụ thể là ASP.Net.



October 1, 2007
Sales Online Sub-System

2 Nguyễn Tiến Mạnh, Đào Xuân Dương, Phạm Hồng Hân, Vũ Đức Đông
K55B-CNTT Đại Học Sư Phạm Hà Nội

2-Physiscal Data Flows Diagram
Biểu đồ luồng dữ liệu vật lý đối với chức năng của khách hàng


1.1
Process
registration


1.2
Process logon
1.4
Search
Ms SQL:
Member table
Ms SQL:
Products table
Ms SQL:
shopping cart
table
Customer
1.5
Change
profile
1.7
Select
products
1.9
order
Ms SQL:
Orders
customer account informations
Customer account informations
username & password
Result registration
username & pass
Result logon
Modify custommer acc
New custommer infor

Old custommer infor
1.8
Update
shopping cart
Keywords for search
Products information
Result of search
Select product
Products infor
Products infor
Update cart
New infor
Old infor
orders
Products, price, quantity
Order infor






October 1, 2007
Sales Online Sub-System

3 Nguyễn Tiến Mạnh, Đào Xuân Dương, Phạm Hồng Hân, Vũ Đức Đông
K55B-CNTT Đại Học Sư Phạm Hà Nội

Biểu đồ luồng dữ liệu vật lý đối với chức năng của admin





Admin
Ms SQL:
members table
1.1
Process logon
1.2
Create user
1.3
Delete user
Uername & pass
Result logon
Add user
User’s account informations
Delete user
Delete user’s account
User’s account infor
Edit User
Edit User
Role,Activation
User Account Info


October 1, 2007
Sales Online Sub-System

4 Nguyễn Tiến Mạnh, Đào Xuân Dương, Phạm Hồng Hân, Vũ Đức Đông
K55B-CNTT Đại Học Sư Phạm Hà Nội


Biểu đồ luồng dữ liệu vật lý đối với chức năng của nhân viên

Employee
3.1
Process logon
3.2
Update
categories
3.3
Update
products
3.4
Update order
status
3.6
Report
products
MS SQL:
Categories
table
Ms SQL:
members
table
Ms SQL:
Products table
Username & password
Username & password
Result of logon
Update categories

Old infor
New infor
Update products
Old infor
New infor
3.5
Delete orders
3.7
Report sales
Ms SQL:
orders
Update order status
Order status
Order infor
Delete order
Order infor
Delete order
Report sales
Send report
director
Report sale of products
Order infor
Oder infor
Send report







October 1, 2007
Sales Online Sub-System

5 Nguyễn Tiến Mạnh, Đào Xuân Dương, Phạm Hồng Hân, Vũ Đức Đông
K55B-CNTT Đại Học Sư Phạm Hà Nội

3- Database Design
Database được cài đật trên hệ quản trị cơ sở dữ liệu MS SQL Server
Các bảng dữ liệu chi tiết
 Table.dbo.Products







Column Data Type Description
ProductID int Prinmary key for Product identification
CategoryID int Foreign key to Products table
ProductName nvarchar(100)
Description text
Image nvarchar(50)
UnitPrice money

 Table.dbo.Categories






Column Data Type Description
CategoryID int Prinmary key for product category identification
CategoryName nvachar(50)
Description text


October 1, 2007
Sales Online Sub-System

6 Nguyễn Tiến Mạnh, Đào Xuân Dương, Phạm Hồng Hân, Vũ Đức Đông
K55B-CNTT Đại Học Sư Phạm Hà Nội

 Table.dbo.Members









Column Data Type Description
MemberID int Prinamry key for Member indentification
UserName nvarchar(20) Account name for Member
Password varchar(15) Security code for Member Account
FirstName varchar(30)
LastName varchar(30)
Address vvarchar(100)

Email narchar(30)
Role char(15) Role of Member (administrator or friend)
Activation Bit Status Member Account activation

 Table.dbo.Orders







Column Data Type Description
OrderID int Prinmary key for Orders identification
MemberID int Foreign key to Members table
OrderDate smalldatetime
RequiredDate smalldatetime
ReceivedName nvarchar(50)
ReceivedAddress nvarchar(100)




October 1, 2007
Sales Online Sub-System

7 Nguyễn Tiến Mạnh, Đào Xuân Dương, Phạm Hồng Hân, Vũ Đức Đông
K55B-CNTT Đại Học Sư Phạm Hà Nội

 Table.dbo.OrderDetail




Column Data Type Description
OrderID int
Prinmary key for OrderDetail indentification
ProductID int
UnitPrice money
Quantity int
Stutus char(10)

 Table.dbo.ShoppimgCart




Column Data Type Description
MemberID Int
Prinmary key for ShoppingCart indentification
ProductID int
UnitPrice Money
Quantity int
Total Money Total money per one kind of product


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

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