Sei sulla pagina 1di 63

Genetic Singapore - Hanoi University Of

Technology
Joint Training Program
HIGHER DIPLOMA IN COMPUTER STUDIES
PROIECT 2010
(TEAM PROJECT)

ONLINE PC PRODUCT ORDER SYSTEM

GROUP : 18
GROUP : 18

Advisor : Prof.Dr.NGUYEN VIET HUONG

Participants Reg No
MAI THANH HUNG 0701-023-0281
TRAN VAN MANH 0701-023-0289
NGUYEN THI THOA 0701-023-0304
LUU THI HONG THUY 0701-023-0307
Presentation Schedule

MAI THANH HUNG


Present about Introduction, Function Diagram.
TRAN VAN MANH
Present about Data Flow Diagram
NGUYEN THI THOA
Present about Database Design
LUU THI HONG THUY
Present about Flowchart, Conclusion.
Introduction
Presented by MAI THANH HUNG
Introduction
 Internet is one of the new breakthrough of the world to provide quickly the latest
information and to help people to reach any kind of information.

 Especially, Online Shopping have contributed indispensable for Vietnam market.

 Thien Hoang Limitted Company is a trading company specializing in the field of


computer and computer components.

 Every day the company offer many products so demand about management and
advertising products is really important.

 Because of the above problems, we have built an online website of computer


business to solve the demand of the company.
Programming Tool
• Visual Basic.Net is designed
to be easiest and most
productive tool for
creating.Net application.
• Allow optional use of new
language feature.
• Fully intergrated with the .Net
framework and the common
language runtime.
• In Visual Basic.Net, we use
C# and ASP.Net to build the
website.
Programming Tool
 SQL Server 2005 is an
RDBMS that uses Transact-
SQL to send requests
between a client computer
and a SQL Server 2005
computer
 Benefits of SQL Server
2005:
 Business continuance
 Manage ability
 Advanced business intelligence
 Security
 Flexibility
 SQL server integration service.
Function Diagram
(FD)
Presented by MAI THANH HUNG
Function Diagram of Online PC Product Order System
Online PC Product Order System

1 2
System Administration Customer Function

1.1 2.1
Login /Logout Order
2.1.1 2.1.2 2.1.3
Registering Login Ordering
1.2
Members
1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 2.2
Management
Members Showing Members Adding Members Editing Members Searching Members Deleting Contact

1.3
Orders 2.3
Management 1.3.1 1.3.2 1.3.3 Products
Orders Showing Orders Searching Orders Deleting
Searching 2.3.1
1.4 By Product Type 2.3.2
Product By Product ID
ID
Categories 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5
Management 2.4
Product Categories Product Categories Product Categories Product Categories Product Categories Download
Showing Adding Editing Searching Deleting
1.5
Product Types 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5
Management Product Types Product Types Product Types Product Types Product Types
Categories Adding Editing Searching Deleting

1.6
Products 1.6.4
Management 1.6.1 1.6.2 1.6.3 1.6.5
Products
Products Showing Products Adding Products Editing Products Deleting
Searching

1.7
Menu
Management 1.7.1 1.7.2 1.7.3 1.7.4
Menu Showing Menu Adding Menu Editing Menu Deleting

1.8
News Categories 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5
Management News Categories News Categories News Categories News Categories News Categories
Showing Adding Editing Searching Deleting

1.9
News 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5
Management News Showing News Adding News Editing News Searching News Deleting

1.10
Contacts
Management 1.10.1 1.10 .2 1.10.3
Contacts Showing Contacts Searching Contacts Deleting

1.11
Download 1.11.1 1.11.4 1.11.5
Management 1.11.2 1.11.3
Download Download Adding Download Download
Download Editing
Showing Searching Deleting

1.12
Banners 1.12.4
Management 1.12.1 1.12.2 1.12.3 1.12.5
Banners Banners Deleting
Banners Showing Banners Adding Banners Editing
Searching
Thank for
listening!
Data Flow Diagram

Presented by TRAN VAN MANH


Symbol of DFD

Process: The process shows a


part of the system that
transforms inputs into output.

Data flow: The flow is used to


describe the movement of
information from one part of the
system to another.

Data store: the store is used to


model a collection of data
packets at rest.

Factors: can be a person, a


group of person or an
organization.
Context Diagram

Information requirement
Administrator

Online PC Product Information requirement

Information feedback
Order system

Customer
Information feedback
D1 tblMember

D2 tblOder

DFD Level 0
D3 tblProductCategories

Information Requirement D5 tblProductTypes

Information
Updating
D7 tblProducts

D16 tblContact

Information Requirement
D18 tblDownload

Response 2
Customer
Function
Requirement

Feedback
Administrator Customer

Feedback

Management
System

Replying
D1 tblMember

D2 tblOder
1
System D3 tblProductCategories
Administration
Replying D4 tblOder_ProductCategories

D5 tblProductTypes

D6 tblOder_ProductCategories_ProductTypes

D7 tblProducts

D8 tblOder_ProductCategories_ProductTypes_Products

Information Updating D9 tblMenu

D10 tblMenuTpye_Menu

D11 tblMenuTpye

D12 tblNewsCategories

D13 tblMenuType_Menu_NewsCategories

D14 tblMenuType_Menu_NewsCategories_News

D15 tblNews

D16 tblContact

D17 tblMenuTpye_Menu_Contacts

D18 tblDownload

D19 tblMenuType_Menu_Download

D20 tblMenuType_Menu_Banner

D21 tblBanners
DFD Level 1 for System Administration
D1 tblMember
D2 tblOrder D3 D3 tblProductCategories
D1 tblMember D1 tblMember D7 tblProducts tblProductCategories D5 tblProductTypes

Checking

Replying
Replying

Checking

Replying

Checking
Replying
Checking

Checking

Replying
1.1 1.2 1.3 1.4 1.5
Login/ Manage Manage Manage Manage
Logout Members Orders Product Product

Requirement Feedback
Categories Types

Requirement
Requirement

Feedback
Requirement
Feedback

Feedback
Requirement

Requirement

Requirement

Requirement
Requirement
Checking

Checking

Requirement Requirement
1.12 Feedback Feedback 1.6 D3 tblProductCategories
D21 tblBanners Manage Administrator Manage D5 tblProducttypes
D7 tblProducts
Banners Requirement Requirement Products

Replying
Replying
Requirement

Requirement
Requirement
Requirement

Requirement

Requirement
Feedback

Requirement

Requirement

Feedback
Feedback
Requirement

Feedback

1.11 1.10 1.9 1.8 1.7


Manage Manage Manage Manage Manage
Download Contact News News Menu
Categories
Checking

Checking
Checking

Checking
Checking
Replying

Replying
Replying
Replying

Replying
D18 tblDownload D16 tblContacts D12 tblNewCategories D12 tbl NewCategories D9 tblMenu
D15 tblNews D11 tblMenuType
DFD Level 1 for Customer Function
D1 tblMember
D2 tblOrder D16 tblContact
D7 tblProducts

Checking

Replying
Replying

Checking
Requirement Requirement
2.1 Feedback Feedback 2.2
Order Contact

Requirement Requirement

Customer
Requirement Requirement
Feedback Feedback

2.4 Requirement Requirement 2.3


Download Search

Checking
Checking

Replying

Replying
D3 tblProductCategories
D18 tblDownload D5 tblProductTypes
D7 tblProducts
DFD Level 2 for Member Management
D1 tblMember D1 tblMember

Checking

Checking

Replying
Replying
1.2.2
1.2.1
Add New
Show Members
Members

Requirement Feedback

Requirement Feedback
Requirement

Requirement
Requirement
Administrator Requirement
Feedback Feedback

Requirement Feedback

Requirement
1.2.5 Requirement Requirement
1.2.3
Delete
Edit Members
Members

Checking
Checking

Replying
1.2.4
Replying

Search
Members

D1 tblMember D1 tblMember
Checking

Replying

D1 tblMember
DFD Level 2 for Orders Management
D1 tblMemer D1 tblMemer
D2 tblOrder D2 tblOrder
D7 tblProducts D7 tblProducts

Checking

Checking

Replying
Replying
1.3.1 1.3.2
Show Orders Search Orders

Requirement Feedback
Requirement Feedback
Requirement

Requirement
Administrator

Requirement
Requirement
Feedback
1.3.3
Delete Orders
Checking

Replying

D1 tblMemer
D2 tblOrder
D7 tblProducts
DFD Level 2 for Product Categories Management
D3 tblProductCategories D3 tblProductCategories

Checking

Checking

Replying
Replying
1.4.2
1.4.1
Add New
Show Product
Product
Categories

Requirement Feedback

Requirement Feedback
Categories

Requirement

Requirement
Requirement Administrator Requirement
Feedback Feedback

Requirement Feedback

Requirement
1.4.5 Requirement Requirement 1.4.3
Delete Product Edit Product
Categories Categories

Checking
Checking

Replying
Replying

1.4.4
Search Product
Categories
Checking

D3 tblProductCategories
Replying

D3 tblProductCategories
DFD Level 2 for Product Types Management
D3 tblProductCategories D3 tblProductCategories
D5 tblProductTypes D5 tblProductTypes

Checking

Checking

Replying
Replying
1.5.1 1.5.2
Show Product Add New
Types Product Types

Requirement Feedback

Requirement Feedback
Requirement

Requirement
Requirement Administrator Requirement
Feedback Feedback

Requirement Feedback

Requirement
1.5.5 Requirement Requirement 1.5.3
Delete Product Edit Product
Types Types

Checking
Checking

Replying
Replying

1.5.4
Search Product
Types

D3 tblProductCategories D3 tblProductCategories
Checking

Replying
D5 tblProductTypes D5 tblProductTypes

D3 tblProductCategories
D5 tblProductTypes
DFD level 2 for Products Management

D3 tblProductCategories D3 tblProductCategories
D5 tblProducttypes D5 tblProducttypes
D7 tblProducts D7 tblProducts

Checking

Checking

Replying
Replying
1.6.2
1.6.1
Add New
Show Products
Products

Requirement Feedback

Requirement Feedback
Requirement

Requirement
Requirement Administrator Requirement
Feedback Feedback

Requirement Feedback

Requirement
Requirement Requirement
1.6.5 1.6.3
Delete Products Edit Products

Checking
Checking

Replying
Replying

1.6.4
Search
Products

D3 tblProductCategories D3 tblProductCategories
Checking

D5 tblProducttypes D5 tblProducttypes
Replying

D7 tblProducts D7 tblProducts

D3 tblProductCategories
D5 tblProducttypes
D7 tblProducts
DFD level 2 for Menu Management
D9 tblMenu D9 tblMenu
D11 tblMenuType D11 tblMenuType

Checking

Checking

Replying
Replying

1.7.1 1.7.2
Show Menu Add New Menu

Requirement Feedback

Requirement Feedback
Requirement

Requirement
Requirement
Administrator Requirement
Feedback Feedback

1.7.4 Requirement Requirement 1.7.3


Delete Menu Edit Menu

Checking
Checking

Replying
Replying

D9 tblMenu D9 tblMenu
D11 tblMenuType D11 tblMenuType
DFD level 2 for News Categories Management
D12 tbl NewCategories D12 tbl NewCategories

Checking

Checking

Replying
Replying
1.8.1 1.8.2
Show News Add New News
Categories Categories

Requirement Feedback

Requirement Feedback
Requirement

Requirement
Requirement
Administrator
Requirement
Feedback Feedback

Requirement Feedback

Requirement
1.8.5 Requirement Requirement 1.8.3
Delete News Edit News
Categories Categories

Checking
Checking

Replying
1.8.4
Replying

Search News
Categories

D12 tbl NewCategories D12 tbl NewCategories


Checking

Replying

D12 tbl NewCategories


DFD level 2 for News Management
D12 tblNewCategories D12 tblNewCategories
D15 tblNews D15 tblNews

Checking

Checking

Replying
Replying
1.9.1 1.9.2
Show News Add New News

Requirement Feedback

Requirement Feedback
Requirement

Requirement
Requirement
Administrator Requirement
Feedback Feedback

Requirement Feedback

Requirement
Requirement Requirement
1.9.5 1.9.3
Delete News Edit News

Checking
Checking

Replying
Replying

1.9.4
Search News

D12 tblNewCategories D12 tblNewCategories


Checking

D15 tblNews D15 tblNews


Replying

D12 tblNewCategories
D15 tblNews
DFD level 2 for Download Management
D18 tblDownload D18 tblDownload

Checking

Checking

Replying
Replying
1.11.1 1.11.2
Show Add New
Download Download

Requirement Feedback

Requirement Feedback
Requirement

Requirement
Requirement Administrator Requirement
Feedback Feedback

Requirement Feedback

Requirement
1.11.5 Requirement Requirement
1.11.3
Delete
Edit Download
Download

Checking
Checking

Replying
Replying

1.11.4
Search
Download
Checking

D18 tblDownload Replying D18 tblDownload

D18 tblDownload
DFD level 2 for Banner Management
D21 tblBanners D21 tblBanners

Checking

Checking

Replying
Replying
1.12.2
1.12.1
Add New
Show Banner
Banner

Requirement Feedback

Requirement Feedback
Requirement

Requirement
Requirement Administrator Requirement
Feedback Feedback

Requirement Feedback

Requirement
Requirement Requirement
1.12.5 1.12.3
Delete Banner Edit Banner

Checking
Checking

Replying
Replying

1.12.4
Search Banner

D21 tblBanners D21 tblBanners


Checking

Replying

D21 tblBanners
DFD level 2 for Ordering
D1 tblMember D1 tblMember

Checking

Checking

Replying
Replying 2.1.1
2.1.2
Register
Login
Member

Requirement Feedback
Requirement Feedback
Requirement

Requirement
Customer

Requirement
Requirement
Feedback

2.1.3
Order
Checking

Replying

D1 tblMember
D2 tblOrder
D7 tblProducts
DFD level 2 for Products Searching

D3 tblProductCategories D3 tblProductCategories
D5 tblProductTypes D5 tblProductTypes
D7 tblProducts D7 tblProducts

Checking

Checking

Replying
Replying

2.3.1
2.3.2
Search By
Search By
Product Type
Product ID
Requirement Feedback

Requirement Feedback
ID

Requirement
Requirement

Customer
Thank for
listening!
Database Design
Presented by NGUYEN THI THOA
Normalization
Normalization is a process by which you identify and correct
inherent problems and complexities in your record design.
Normalization process involves 3 types of normal form:

First Normal Form (1NF)


Second Normal Form (2NF)
Third Normal Form (3NF)
Normalization process

Un-Normal Form

Remove repeating groups

1st Normal Form

Remove partial dependencies

2nd Normal Form

Remove transitive dependencies

3rd Normal Form


UnNormal Form (UNF)
Normalizing table “tblOrder”
(Figure 4.1)

Figure 4.1:Table “tblOrder” (UNF)


After normalizing table “tblOrder” (figure 4.1) :

Figure 4.2: Table “tblOrder”


(2NF)

Figure 4.3: Table “tblOrder_ProCate”(UNF)


After normalizing table “tblOrder”(figure 4.2):

Figure 4.4: Table “tblOrder”(3NF) Figure 4.5: Table “tblMember”(3NF)


After normalizing table “tblOrder_ProCate” (figure 4.3):

Figure 4.7: Table “tblOrder_ProCate”(1NF)

Figure 4.8: Table “tblOrder_ProCate_ProType”(UNF)


After normalizing table “tblOrder_ProCate” (figure 4.7):

Figure 4.9” Table “tblOrder_ProCate”(3NF)

Figure 4.10: Table “tblProCate”(3NF)


After normalizing table “tblOrder_ProCate_ProType”(figure 4.8):

Figure 4.12: Table “tblOrder_ProCate_ProType”(1NF)

Figure 4.13: Table “tblOrder_ProCate_ProType_Product”(1NF)


After normalizing table “tblOrder_ProCate_ProType”(figure 4.12):

Figure 4.14: Table “tblOrder_ProCate_ProType” (3NF)

Figure 4.15: Table “tblProType” (3NF)


After normalizing table “tblOrder_ProCate_ProType_Product”(figure 4.13):

Figure 4.17: Table “tblOrder_ProCate_ProType_Product” (3NF)

Figure 4.18: Table “tblProduct”(3NF)


Normalizing table “tblMenu”
(Figure 4.19)

Figure 4.19: Table “tblMenu” (UNF)


After normalizing table “tblMenu” (figure 4.19)

Figure 4.20: Table “tblMenuType”


(3NF)

Figure 4.21: Table “tblMenuType_Menu” (UNF)


After normalizing table “tblMenuType_Menu”(figure 4.21):

Figure 4.22: Table “tblMenuType_Menu” (1NF)

Figure 4.23: Table “tblMenuType_Menu_NewsType”


(UNF)

Figure 4.24: Table


“tblMenuType_Menu_Download” (1NF)

Figure 4.26: Table


“tblMenuType_Menu_Banner” (1NF)
Figure 4.25: Table “tblMenuType_Menu_Contact” (1NF)
After normalizing table “tblMenuType_Menu” (figure 4.22):

Figure 4.27: Table “tblMenuType_Menu” (3NF)

Figure 4.28: Table “tblMenu” (3NF)


After normalizing table “tblMenuType_Menu_NewsType”(figure 4.23):

Figure 4.29: Table “tblMenuType_Menu_NewsType” (1NF)

Figure 4.30: Table “tblMenuType_Menu_NewsType_News” (1NF)


After normalizing table “tblMenuType_Menu_NewsType” (figure 4.29):

Figure 4.31: Table “tblMenuType_Menu_NewsType” (3NF)

Figure 4.32: Table “tblNewsType” (3NF)


After normalizing table “tblMenuType_Menu_NewsType_News”(figure 4.30):

Figure 4.33: Table “tblMenuType_Menu_NewsType_News” (3NF)

Figure 4.34: Table “tblNews” (3NF)


After normalizing table “tblMenuType_Menu_Download” (figure 4.24):

Figure 4.35: Table “tblMenuType_Menu_Download” (3NF)

Figure 4.36: Table “tblDownload” (3NF)


After normalizing table “tblMenuType_Menu_Contact” (figure 4.25):

Figure 4.37: Table “tblMenuType_Menu_Contact” (3NF)

Figure 4.38:Table “tblContact” (3NF)


After normalizing table “tblMenuType_Menu_Banner”(figure 4.26):

Figure 4.39: Table “tblMenuType_Menu_Banner” (3NF)

Figure 4.40: Table “tblBanner” (3NF)


Entity Relationship Diagram
tblMenuType_ Menu_ NewsType tblMenuType_ Menu_ NewsType_ News
tblOrder tblMember tblProduct MenuType_ I D
MenuType_ I D
Order_ I D Member_ I D Product_ I D Menu_ I D
Menu_ I D
Order_ Code Group_ Name Product_ Code NewsType_ I D
NewsType_ I D
Order_ Date UserName Product_ Name News_ I D
Order_ Active Password Product_ I mage
Member_ I D Mem_ Email Product_ Description
Mem_ FullName Product_ Supplier
Mem_ Address Product_ Price tblNewsType tblMenuType_ Menu_ Contact
Mem_ Phone Product_ WarrantyTime NewsType_ I D MenuType_ I D

Mem_ Active New_ Product NewsType_ Title Menu_ I D


tblContact
Hot_ Product NewsType_ Active Contact_ I D
Contact_ I D
tblOrder_ ProCate Highlight_ Product
Cont_ FullName
Order_ I D Promotion_ Product
Cont_ Phone
ProCate_ I D tblProCate Product_ PromotionContent
Cont_ Email
ProCate_ I D tblMenuType_ Menu_ Download
Product_ Active tblMenuType SenTo
ProCate_ Name MenuType_ I D
MenuType_ I D Cont_ Title
ProCate_ I mage Menu_ I D
MenuType_ Name Cont_ Content
ProCate_ Description Download_ I D
ProCate_ Active
tblOrder_ ProCate_ ProType
Order_ I D
tblDownload
ProCate_ I D
tblMenuType_ Menu * Download_ ID
ProType_ I D tblNews
MenuType_ I D Download_ Title
tblProType News_ I D
ProType_ I D Menu_ I D Download_ Link
News_ Title
ProType_ Name Download_ Active
News_ I ntro
ProType_ I mages News_ Content
ProType_ Description News_ I mage
ProType_ Active tblMenuType_ Menu_ Banner * News_ Date
MenuType_ I D
tblBanner *
News_ Active
Banner_ I D
Menu_ I D
Banner_ Name
Banner_ I D
tblOrder_ ProCate_ ProType_ Product Banner_ I mage
Order_ I D Banner_ Position
ProCate_ I D Banner_ Link
ProType_ I D Banner_ Type
Product_ I D tblMenu Banner_ Height
Menu_ I D Banner_ Width
Orderred_ Number
Menu_ Name Banner_ Active
Menu_ Parent
Thank for
listening!
Flowchart
Presented by LUU THI HONG THUY
Symbol of flowchart
Terminal/Interrupt: marks the begin, end, or a
point of interruption in a function diagram.

Input: Shows where a data is input from a storage


device into main memory.

Processing: Shows where a group of instruction is


located in order to perform a processing function.

Decision: Shows where the alternative Operations


are performed based on the existence on certain
conditions

Direction: Shows the direction of processing logic


flow
Flowchart for Login system:
Begin

Input user name and


password

Error
Message

No
Check valid?

Yes
Access system

End
Flowchart for Adding:

Begin

Input information for


adding

Show error message

Check valid ?
No

Yes

Add information into database

Show successful message

End
Flowchart for Editing:
Begin

Select record for editing

Edit
information of
selected record
Show error
message

No
Check valid?

Yes

Update edited information


into database

Show successful
message

End
Flowchart for Deleting:

Begin

Select record for deleting

Delete record

No
Confirm for deleting ?

Yes

Update database

End
Flowchart for Searching:
Begin

Input
information
for searching

Search information in
database

No Check existence ?

Yes

Display result

End
Conclusion
Presented by LUU THI HONG THUY
CONCLUSION

 EFFICIENCIES
 Helps customers can quickly update and select the PC products without having to get out of home.
 Customers can save a lot of time for shopping.
 Customer support services are always running 24/24. Customers may contact us at the address listed on the site at
any time.

 LIMITATIONS
In restricted period of the time we do not have enough time and human resource to complete all the
necessary features of this model. Because the limitation of the time, our Website also has many drawbacks:
 Payment system is not advanced. It still uses the transitional payment, such as: ATM, by cash when delivery
product. The main reason that causes this problem is that the Vietnamese used cash in payments.
 We don’t have a quantity is stock checking automatically. This feature will be developed later.
 One another problem is that security. The security of the system is relatively low because system does not update
the latest security software; the development firewall has had many difficulties.
 Further more, due to restricted schedule, project was not perfect, there are still bugs and unpredicted problems
which will be fixed in the product to give more convenient to user. There are major limitations of the system. We will
try to overcome these drawbacks as soon as possible.

 => In the future, the Online PC Product Order System will be upgraded a new version.
GROUP 18

Thank for your


listening!

Potrebbero piacerti anche