Chapter 10 Developing a Web-Based Online Shopping Application (I)

11
Chapter 10 Developing a Web-Based Online Shopping Application (I)

Transcript of Chapter 10 Developing a Web-Based Online Shopping Application (I)

Page 1: Chapter 10 Developing a Web-Based Online Shopping Application (I)

Chapter 10

Developing a Web-Based Online Shopping Application (I)

Page 2: Chapter 10 Developing a Web-Based Online Shopping Application (I)

Chapter ObjectivesAfter learning this chapter you will be able

to:– Design a database-empowered E-

commerce site.– Develop an online shopping database.– Create user DSN and system DSN on

your Web server.– Write a Web-based client/server

application with HTML and DHTML.– Test and manage the E-commerce site.

Page 3: Chapter 10 Developing a Web-Based Online Shopping Application (I)

Design a Web-Based Online Shopping Application• Analyze customer needs

– Product information– Payment and shipment security– After-purchase service– Navigation convenience

Page 4: Chapter 10 Developing a Web-Based Online Shopping Application (I)

OnlineBuyer

1. Keys in order info &credit card #.

Web Merchant

= SSL encrypted data transmission over the Internet

2. Transferscredit card # and order information.

PaymentProcessing

Service

FinancialProcessing

Center Buyer’sCredit

Company /Bank

Web Merchant’s

Bank

3. Routes card& transactioninfo to FPC& buyer’s bank.

4. Requestspaymentauthorizationfrom buyer’sbank.

5. Authorizespayment &notifies FPC.

6. Forwardsthe information to PPS.

7. Authorizesthe orderfulfillment.

8. Acceptsbuyer’s order,ships the order to the buyer, and requests itsbank to makecollection.

9. Receives& signs the shipment. 11. Requests

& Collectsmoney frombuyer’s bank.

10. Forwardsthe request tobuyer’s andmerchant’sbanks.

Flowchart of Payment Processing on the Internet

Page 5: Chapter 10 Developing a Web-Based Online Shopping Application (I)

Design a Web-Based Online Shopping Application (cont.)• Analyze E-commerce management needs

– Information posting speed – Information management convenience– Payment security– Shipment tracking – Online after-sales service– Low management cost

Page 6: Chapter 10 Developing a Web-Based Online Shopping Application (I)

Design a Web-Based Online Shopping Application (cont.)• Conduct a cost/benefit analysis

• Design a Web-based Client/Server Application (Part I: Customer Side)– Home page with product categories

and links– Product pages with product pictures,

specifications, and purchase links

Page 7: Chapter 10 Developing a Web-Based Online Shopping Application (I)

Homepage

ProductsPage

Product BPage

Product APage

Product BPage

Order APage

Get_order AASP Page

IntranetPage

Database

LoginPage

OrderInformation

Page

LinksPage

Figure 1Architecture of an

Online StoreApplication

Page 8: Chapter 10 Developing a Web-Based Online Shopping Application (I)

Design a Web-Based Online Shopping Application (cont.)• Purchase request pages (HTML form files)

– Quantity to buy– Billing Information

• First Name• Last Name• Shipping Address• Phone Number• E-mail Address• Credit Card Number and Expiration Date• Purchase confirmation page (ASP file)

Page 9: Chapter 10 Developing a Web-Based Online Shopping Application (I)

Design a Web-Based Online Shopping Application (cont.)Design a Web-based database

– Determine the field names and data types• Last Name• First Name• Shipping Address• Phone Number• E-mail Address

Page 10: Chapter 10 Developing a Web-Based Online Shopping Application (I)

Design a Web-Based Online Shopping Application (cont.)

– Credit Card Number– Expiration Date– Product Name– Quantity– Total $ Amount – Order Date– Order Time

• Create user DSN and system DSN on the server computer

Page 11: Chapter 10 Developing a Web-Based Online Shopping Application (I)

Learning by Doing

Develop a Web-Based Online Shopping Application