Cover image for Sams teach yourself e-commerce programming with ASP in 21 days
Title:
Sams teach yourself e-commerce programming with ASP in 21 days
Author:
Walther, Stephen.
Personal Author:
Publication Information:
Indianapolis, Ind. : Sams, [2000]

©2000
Physical Description:
xiii, 603 pages : illustrations ; 24 cm + 1 computer optical disc (4 3/4 in.)
General Note:
Includes index.
Language:
English
Title Subject:
Added Author:
ISBN:
9780672318986
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Central Library TK5105.8885.A26 W35 2000 Book and Software Set Central Closed Stacks
Searching...

On Order

Summary

Summary

The friendly, tutorial style of Sams Teach Yourself E-Commerce Programming with ASP in 21 Days empowers you to create your own online stores quickly and easily.


Table of Contents

Introductionp. 1
Week 1 At A Glancep. 5
Day 1 Introduction to E-Commercep. 7
What Is E-Commerce?p. 8
Microsoft Technologies for E-Commercep. 9
Microsoft Personal Web Serverp. 10
Microsoft Internet Information Serverp. 10
Microsoft Accessp. 11
Microsoft SQL Serverp. 11
Microsoft Visual InterDevp. 12
What Is an ASP Page?p. 13
Active Server Pages Contain Scriptsp. 14
Active Server Pages Contain Objects and Componentsp. 15
Active Server Pages and Database Accessp. 17
Summaryp. 17
QandAp. 18
Workshopp. 18
Quizp. 18
Day 2 Interacting with the Customerp. 21
Working with the Response Objectp. 22
Outputting Long Stringsp. 23
Displaying Special Charactersp. 23
Displaying Quotation Marksp. 24
Using the [%= and %] Output Delimitersp. 26
Ending Script Execution with the Response Objectp. 26
Working with the Request Objectp. 27
Using Query Stringsp. 28
Using the Form Collectionp. 31
Retrieving Query String and Form Variablesp. 38
Working with Server Variablesp. 39
Retrieving the Customer's Internet Addressp. 41
Summaryp. 43
QandAp. 43
Workshopp. 44
Quizp. 44
Exercisep. 45
Day 3 Using Application and Session Objects in E-Commerce Applicationsp. 47
Tracking Customers with Cookiesp. 48
Adding a Cookie to a Customer's Browserp. 50
Reading Cookies from a Customer's Browserp. 51
Tracking Customers with Session Variablesp. 52
Storing Arrays in Session Variablesp. 54
Tracking a Session with a SessionIDp. 56
Ending a User Sessionp. 56
Using Application Variablesp. 57
Storing Arrays in Application Variablesp. 60
Removing Application Variables From Memoryp. 61
Using the Global.asa Filep. 62
Summaryp. 65
QandAp. 66
Workshopp. 67
Quizp. 67
Exercisep. 68
Day 4 Working with Files in Your E-Commerce Applicationp. 69
Including Files in an ASP Pagep. 69
Dynamically Including Filesp. 73
Using File Redirectionp. 75
Using the File Access Componentp. 77
Managing Text Filesp. 81
Displaying the Contents of a Folderp. 83
Sample Application: Recording Marketing Datap. 84
Summaryp. 85
QandAp. 86
Workshopp. 86
Quizp. 87
Exercisep. 87
Day 5 Building Your Product Catalogp. 89
Creating the Store Databasep. 89
Creating the Products Tablep. 91
Connecting to a Databasep. 93
Adding Products to the Products Tablep. 95
Creating the AddProducts Formp. 97
A Problem with Databases and Quotation Marksp. 102
Updating Product Information in the Products Tablep. 104
Displaying the List of Products to Updatep. 106
Creating the updateProduct Formp. 109
A Problem with HTML Forms and Quotation Marksp. 112
Updating a Database Recordp. 113
Summaryp. 117
QandAp. 117
Workshopp. 118
Quizp. 118
Exercisesp. 118
Day 6 Displaying Your Productsp. 119
Using Recordsetsp. 119
Using the SQL SELECT Statementp. 121
Recordset Cursor Typesp. 122
Displaying Productsp. 123
Selecting Product Categoriesp. 125
Displaying the List of Productsp. 126
Creating the Main Store Pagep. 128
Displaying Product Detailsp. 130
Paging Through A Recordsetp. 134
Making Your Store More Scalablep. 137
Summaryp. 140
QandAp. 140
Workshopp. 140
Quizp. 140
Exercisep. 141
Day 7 Searching for Productsp. 143
Displaying a Rotating List of Featured Productsp. 143
Selecting the List of Featured Productsp. 144
Retrieving the List of Featured Productsp. 146
Optimizing the Display of Featured Productsp. 149
Creating a Search Pagep. 152
Optimizing the Search Pagep. 157
Creating Indexable Web Pagesp. 158
Summaryp. 160
QandAp. 160
Workshopp. 160
Quizp. 160
Exercisep. 161
In Reviewp. 163
Bonus Projectp. 163
Creating a Customer Feedback Formp. 163
Week 2 At A Glancep. 167
Day 8 Building the Transaction Databasesp. 169
The Transaction Database Tablesp. 170
Creating the Users Database Tablep. 171
Registering Usersp. 172
Creating the cart. asp Pagep. 172
Creating the register.asp Pagep. 174
The Registration Functionsp. 176
Gracefully Handling Form Errorsp. 181
Using the Secure Sockets Layerp. 183
Enabling SSL on Your Web Serverp. 185
Applying for a Server Certificatep. 186
Installing Your Server Certificatep. 187
Using SSL in an ASP Pagep. 187
Summaryp. 188
QandAp. 189
Workshopp. 189
Quizp. 189
Exercisep. 190
Day 9 Building the Shopping Cartp. 191
Using Session Variables to Create a Shopping Cartp. 191
Creating the SessionCart.asp Pagep. 193
Using Native ADO Methodsp. 200
Creating Updateable Recordsetsp. 200
Adding New Records with AddNewp. 201
Updating Existing Recordsp. 202
Deleting Records with Deletep. 203
Using a Database Table to Create a Shopping Cartp. 204
Creating the addCart.asp Pagep. 206
Summaryp. 211
QandAp. 211
Workshopp. 212
Quizp. 212
Exercisep. 212
Day 10 Checking Outp. 213
Understanding Transactionsp. 213
ASP Page Transactionsp. 214
ADO Transactionsp. 218
Database Transactionsp. 219
Completing the Orderp. 219
Retrieving Address and Payment Informationp. 220
Updating Address and Payment Informationp. 221
Transferring the Shopping Cartp. 224
Processing Ordersp. 226
Summaryp. 234
QandAp. 234
Workshopp. 235
Quizp. 235
Exercisesp. 235
Day 11 Working with Credit Cardsp. 237
Methods of Processing Credit Cardsp. 237
Offsite Payment Processorsp. 238
Payment Terminal Solutionsp. 239
Component-Based Solutionsp. 239
Choosing a Method of Processing Credit Cardsp. 240
Preparing for CyberCashp. 240
Opening a Credit Card Merchant Accountp. 241
Registering at CyberCashp. 242
Installing the CyberCash Softwarep. 243
Authorizing a Credit Card Transactionp. 245
Integrating the Authorization Script into Your Storep. 248
Settling Credit Card Transactionsp. 254
Summaryp. 256
QandAp. 256
Workshopp. 257
Quizp. 257
Day 12 Letting Customers Track Their Ordersp. 259
Enabling Customers to Track Orders with a Web Pagep. 260
Calculating Shipping Costsp. 264
Installing the iisCARTship Componentp. 265
iisCARTship Properties and Methodsp. 265
iisCARTship Component Sample Applicationp. 269
Summaryp. 271
QandAp. 272
Workshopp. 272
Quizp. 272
Day 13 Creating a Subscription-Based Sitep. 273
Using HTTP Authenticationp. 274
Enabling HTTP Authenticationp. 275
When You Should Use HTTP Authenticationp. 276
Using Database Authenticationp. 276
Passing Security Information From Page to Pagep. 285
Using Hybrid Authenticationp. 287
Understanding How Basic Authentication Worksp. 288
Forcing a Password Dialog to Appearp. 288
Decoding the Authorization Headerp. 290
Summaryp. 294
QandAp. 295
Workshopp. 295
Quizp. 295
Day 14 Customizing the Shopping Experiencep. 297
Retrieving the Existing User Settingsp. 297
Creating mypage.aspp. 298
Showing Past Purchasesp. 302
Advertising Items Your Customers Would Likep. 307
Updating the Users Table for Favoritesp. 307
Building the favorites.asp Pagep. 308
Building the savefavorites.asp Pagep. 311
Updating the featured.asp Pagep. 313
Updating the default.asp Pagep. 315
Summaryp. 316
QandAp. 316
Workshopp. 317
Quizp. 317
Exercisep. 317
In Reviewp. 319
Bonus Projectp. 320
Creating a Transactional Customer Feedback Formp. 320
Week 3 At A Glancep. 323
Day 15 Securing Your Storep. 325
Registering Your Own Domainp. 326
Domain Names and Marketingp. 326
Registering Your Domain Name Yourselfp. 327
Making Your Server More Securep. 329
Use NT Server or Windows 2000 Server, not NT Workstation or Windows 2000 Professionalp. 329
Make Sure That the Latest Service Packs and Hotfixes Are Applied to Your Systemp. 330
Change the Name and Password of Your System's Administrator Accountp. 331
Use NTFSp. 332
Use a Firewallp. 334
Keep Your Server Locked Upp. 334
Keep Your Server Runningp. 335
Protecting Your Users' Private Information with SSLp. 335
Protecting Your Databasep. 337
Registering with the Better Business Bureau Reliability Programp. 338
Establishing a Privacy Policy and Joining a Privacy Seal Programp. 339
The Better Business Bureau's Children's Advertising Review Unit Guidelinesp. 341
Summaryp. 342
QandAp. 343
Workshopp. 343
Quizp. 343
Exercisep. 343
Day 16 Debugging Your E-Commerce Applicationsp. 345
Keeping Your Development and Production Systems Separatep. 346
Creating a Second IP Addressp. 347
Creating a Second Web Sitep. 349
Deploying Your Application Using Visual InterDevp. 350
Debugging Your Application Using Visual InterDev's Integrated Debuggerp. 354
Getting Ready to Debugp. 355
Debugging a Sitep. 357
Debugging Your Application on a Production Serverp. 361
Creating and Maintaining a Session Variable for Debuggingp. 362
Using the Session-level Debugging Variablep. 364
Creating a Debug Libraryp. 366
Recovering from and Capturing Errorsp. 366
Capturing Errors into a Log Filep. 369
Testing for Scalabilityp. 372
Summaryp. 373
QandAp. 374
Workshopp. 375
Quizp. 375
Exercisep. 375
Day 17 Administering Your Store Remotely with ASPsp. 377
The IIS Administration Pagesp. 378
Installing the Administration Pagesp. 378
Securing the Administration Pagesp. 379
Using the Administration Pagesp. 384
Installing and Administering the IIS FTP Servicep. 385
Uploading Files to Your Site Using FTPp. 387
Advanced Web-Based Product Catalog Maintenancep. 389
How the Posting Acceptor Makes it Easier for the User and the Programmerp. 391
Uploading Pictures from addProduct. asp and updateProduct.aspp. 396
Moving Form Processing Logic from manageProducts. asp to the New donePost.aspp. 401
Integrating the Pages into the Administration Webp. 405
Summaryp. 407
QandAp. 408
Workshopp. 408
Quizp. 408
Day 18 Using Email from Active Server Pagesp. 409
The Basics of Internet Mailp. 410
Configuring the SMTP Servicep. 411
The Collaboration Data Objects for NT Server (CDONTS)p. 414
Sending Email from an ASP Pagep. 415
The CDONTS Constantsp. 417
Send Yourself Email on Errorsp. 419
Sending New Users Emailp. 421
Sending HTML Mailp. 423
Sending Batches of Emailp. 428
Selecting Customersp. 429
Composing the Messagep. 432
Sending the Messagesp. 435
Doing Email Marketingp. 438
Summaryp. 438
QandAp. 438
Workshopp. 439
Quizp. 439
Day 19 Generating Store Reportsp. 441
Reporting on Site Usagep. 441
Site Usage Logsp. 443
Analyzing Your Logsp. 455
Other Ways to Analyze Logsp. 464
Summaryp. 465
QandAp. 465
Workshopp. 465
Quizp. 465
Day 20 Working with Walletsp. 467
Physical Commerce Versus Electronic Commercep. 468
Electronic Walletsp. 469
Client-Side Walletsp. 469
Server-Side Walletsp. 471
General Server-Side Walletsp. 472
Wallet Standardsp. 475
Your Own Store Walletp. 476
Accepting Information from Walletsp. 492
Summaryp. 492
QandAp. 493
Workshopp. 493
Quizp. 493
Exercisesp. 493
Day 21 Promoting Your Site and Managing Banner Advertisingp. 495
Search Enginesp. 496
How Do They Work?p. 496
What's the Best Way to Get Listed?p. 496
Web Ringsp. 508
Try It Out!p. 508
Banner Adsp. 510
Link Exchangesp. 510
Paying for Banner Adsp. 513
Participating in Reward Programsp. 513
Other Ways to Increase Revenuep. 514
Affiliate Programsp. 514
Running Your Own Advertisingp. 514
Summaryp. 517
QandAp. 517
Workshopp. 517
Quizp. 518
Exercisesp. 518
In Reviewp. 519
Bonus Projectp. 520
Sending Customer Feedback Acknowledgement Emailsp. 520
Appendixes
Appendix A Quiz Answersp. 523
Appendix B Frequently Asked Questions About Active server Pagesp. 545
Appendix C SQL Referencep. 559
Indexp. 571

Google Preview