Professional Documents
Culture Documents
SKhodali Thesis
SKhodali Thesis
By
Swapna Kodali
Committee Members:
iii
Abstract
This project deals with developing an e-commerce website for Online Book Sale.
It provides the user with a catalog of different books available for purchase in the store.
In order to facilitate online purchase a shopping cart is provided to the user. The system
is implemented using a 3-tier approach, with a backend databa se, a middle tier of
Microsoft Internet Information Services (IIS) and ASP.NET, and a web browser as the
front end client.
This is a project with the objective to develop a basic website where a consumer
is provided with a shopping cart application and also to know about the technologies used
to develop such an application.
This document will discuss each of the underlying technologies to create and
implement an e-commerce website.
iv
ACKNOWLEDGMENTS
In completing this graduate project I have been fortunate to have help, support
and encouragement from many people. I would like to acknowledge them for their
cooperation.
I would also like to thank Dr.Shafii Mousavi and Dr.Dana Vrajitoru, my project
committee members, who showed immense patience and understanding throughout the
project and provided suggestions.
Finally, I would like to dedicate this project to my parents, my husband Ram and
my friends Kumar and Soumya, for their love, encouragement and help throughout the
project.
v
TABLE OF CONTENTS
1. INTRODUCTION......................................................................................................... 1
2. LITERATURE REVIEW ............................................................................................ 1
3. PROJECT DESIGN...................................................................................................... 3
3.1 DATA MODEL............................................................................................................ 4
3.1.1 Database Design................................................................................................ 6
3.2. PROCESS MODEL ................................................................................................... 10
3.2.1. Functional Decomposition Diagram............................................................. 10
3.2.2 Data Flow Diagram (DFD) ............................................................................ 12
3.3 USER INTERFACE D ESIGN ...................................................................................... 19
4. IMPLEMENTATION TECHNOLOGIES ............................................................... 23
4.1. INTERNET INFORMATION S ERVICES (IIS) ............................................................ 24
4.2 ASP.NET ................................................................................................................ 25
4.2.1. Authentication in ASP.NET .......................................................................... 26
4.3. MYSQL DATABASE ............................................................................................... 27
4.4. INTEGRATING IIS AND ASP.NET ......................................................................... 28
4.5. INTEGRATING THE WEBSITE AND DATABASE....................................................... 29
5. WEB PAGE PROGRAMMING OPTIONS............................................................. 30
5.1. S ERVER -SIDE PROCESSING. ................................................................................... 31
5.2. CLIENT-SIDE PROCESSING. ................................................................................... 35
6. WEB BASED APPLICATION DEVELOPMENT.................................................. 36
7. DATABASE CONNECTIVITY ................................................................................ 38
7.1 ADO.NET............................................................................................................... 38
7.2 CONNECTING ASP.NET APPLICATION TO A DATABASE ....................................... 45
8. THE SHOPPING CART APPLICATION .............................................................. 46
8.1. S EARCH FOR BOOKS .............................................................................................. 48
8.2. REGISTRATION....................................................................................................... 49
8.3. USER D ETAILS ....................................................................................................... 50
8.4. SHOPPING CART .................................................................................................... 51
8.5. PLACE AN ORDER .................................................................................................. 52
8.6. CHECK OUT ........................................................................................................... 54
8.7. PURCHASE HISTORY .............................................................................................. 56
8.8. TRANSACTIONS IN THE APPLICATION ................................................................... 61
9. LIMITATIONS AND FUTURE DEVELOPMENT................................................ 65
10. CONCLUSION ......................................................................................................... 65
11. BIBLIOGRAPHY ..................................................................................................... 67
vi
LIST OF FIGURES
FIGURE 1 ENTITY RELATIONSHIP DIAGRAM (ERD) ............................................................. 4
FIGURE 2 FUNCTIONAL DECOMPOSITION DIAGRAM........................................................... 11
FIGURE 3 CUSTOMER - BROWSE CONTEXT DFD................................................................ 13
FIGURE 4 CUSTOMER - BROWSE DETAILED DFD............................................................... 13
FIGURE 5 CUSTOMER – SHOPPING CART CONTEXT DFD ................................................... 14
FIGURE 6 CUSTOMER - SHOPPING CART DETAILED DFD................................................... 14
FIGURE 7 CUSTOMER - SHOPPING CART DETAILED DFD................................................... 15
FIGURE 8 CUSTOMER - SHOPPING CART DETAILED DFD................................................... 15
FIGURE 9 CUSTOMER – AUTHENTICATIO N – USERPROFILE DFD....................................... 16
FIGURE 10 AUTHENTICATED USER-PURCHASE CONTEXT DFD ......................................... 16
FIGURE 11 CUSTOMER - AUTHENTICATIO N - PURCHASE DFD ........................................... 17
FIGURE 12 CUSTOMER - NEW USERREGISTRATION DFD ................................................... 18
FIGURE 13 ADMINSTRATOR CONTEXT DFD ...................................................................... 18
FIGURE 14 ADMINISTRATOR DETAILED DFD .................................................................... 18
FIGURE 15 MENU ............................................................................................................... 19
FIGURE 16 DISPLAY OF BOOKS PRESENT IN THE STORE ..................................................... 19
FIGURE 17 FOR SEARCHING THE BOOKS IN THE STORE ....................................................... 20
FIGURE 18 SHOPPING CART FOR THE USE R......................................................................... 20
FIGURE 19 REGISTRATION OF THE N EW USER ..................................................................... 21
FIGURE 20 AUTHENTICATION OF THE USER ........................................................................ 22
FIGURE 21 RELATION BETWEE N IIS AND ASP.NET........................................................... 23
FIGURE 22 WEB PAGE PROGRAMMING OPTIONS ................................................................. 30
FIGURE 23 COMPILED SERVER PROGRAMS FLOWCHART ..................................................... 31
FIGURE 24 ADO.NET ARCHITECTURE .............................................................................. 43
FIGURE 25 BOOK DETAILS ................................................................................................. 47
FIGURE 26 S ERACH FOR BOOK S.......................................................................................... 48
FIGURE 27 NEW USER REGISTRATION ................................................................................. 49
FIGURE 28 USER DETAILS .................................................................................................. 50
FIGURE 29 SHOPPING CART ................................................................................................ 51
FIGURE 30 ORDER DETAILS ............................................................................................... 52
FIGURE 31SHIPPING DETAIL S ............................................................................................. 53
FIGURE 32CHECK OUT ....................................................................................................... 54
FIGURE 33 ORDER CONFIRMATION ..................................................................................... 55
FIGURE 34 UPDATED INVENTORY AFTER ORDER PLACEMENT ............................................ 55
FIGURE 35 PURCHASE HISTORY.......................................................................................... 56
FIGURE 36 BOOK DETAILS .................................................................................................. 57
FIGURE 37 ADMINISTRATOR - MODIFY BOOKS................................................................... 58
FIGURE 38 DETAILS ABOUT NEW BOO K .............................................................................. 59
FIGURE 39 UPDATED INVENTORY ...................................................................................... 60
LIST OF TABLES
TABLE 1PROCESSING TECHNOLOGY FOR DIFFERENT FILE EXTENSIONS ............................. 33
TABLE 2 TRANSACTION ATTRIBUTES ................................................................................. 64
vii
Thank you for trying Solid Converter PDF.
The trial version of this product only converts 10% of your document, with a 10 page
maximum.
For this conversion, Solid Converter PDF converted 7 of 75 pages.
Please register Solid Converter PDF at http://www.solidpdf.com/buy.htm to
remove this restriction.