中文名: asp.net 2.0电子商务开发实战
英文名: Beginning ASP.NET 2.0 E-commerce in C# 2005
版本: PDF
发行时间: 2005年
地区: 美国
对白语言: 英语
文字语言: 英文
简介:
中文书名:asp.net 2.0电子商务开发实战
英文书名:Beginning ASP.NET 2.0 E-Commerce In C# 2005
作者:Cristian Darie , Karli Watson
出版社:Apress
ISBN10: 1-59059-468-1
ISBN13: 978-1-59059-468-1
页 数:661
图书内容简介:本书通过一个贯穿全书的案例,为读者提供了实用的电子商务建站指南。首先,尽可能快、低成本地设立网站并使其运转起来;其次,改进购物体验,通过开发商品推荐系统鼓励顾客购买更多的商品,从而使其成为一个能够投入运行的、功能完整的网站;最后,通过使订单处理和后台管理更加自动化和顺畅,自处理信用卡交易,从而降低成本,提高利润率。通过上述3个阶段,本书讲述了设计和开发过程的每个方面,使你能够快速、便捷地构建高质量、可扩展的电子商务网站。
本书适合于具有使用C#开发ASPNET 2.0应用编程经验的Web应用开发人员。
目录
■CHAPTER 1 Starting an E-Commerce Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Deciding Whether to Go Online . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Getting More Customers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Making Customers Spend More . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Reducing the Costs of Fulfilling Orders . . . . . . . . . . . . . . . . . . . . . . . . 3
Making Money . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Considering the Risks and Threats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Designing for Business . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Phase I: Getting a Site Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Phase II: Creating Your Own Shopping Cart. . . . . . . . . . . . . . . . . . . . . 6
Phase III: Processing Orders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
The Balloon Shop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
■CHAPTER 2 Laying Out the Foundations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Designing for Growth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Meeting Long-Term Requirements with Minimal Effort . . . . . . . . . . 12
The Magic of the Three-Tier Architecture . . . . . . . . . . . . . . . . . . . . . . . . . 13
Choosing Technologies and Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Using ASP.NET 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Using C# and VB .NET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Using Visual Studio 2005 and Visual Web Developer 2005
Express Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Using SQL Server 2005 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Following Coding Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Creating the Visual Web Developer Project . . . . . . . . . . . . . . . . . . . . . . . . 27
Implementing the Site Skeleton . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Building the First Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Adding the Header to the Main Page . . . . . . . . . . . . . . . . . . . . . . . . . 38
Creating the SQL Server Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Downloading the Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
■CHAPTER 3 Creating the Product Catalog: Part I . . . . . . . . . . . . . . . . . . . . . 45
Showing Your Visitor What You’ve Got . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
What Does a Product Catalog Look Like? . . . . . . . . . . . . . . . . . . . . . 46
Previewing the Product Catalog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Roadmap for This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Storing Catalog Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Understanding Data Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Creating the Department Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Communicating with the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Speaking the Database Language . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Creating Stored Procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Adding Logic to the Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Connecting to SQL Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Issuing Commands and Executing Stored Procedures. . . . . . . . . . . 74
Implementing Generic Data Access Code . . . . . . . . . . . . . . . . . . . . . 76
Catching and Handling Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Sending Emails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Writing the Business Tier Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Displaying the List of Departments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Preparing the Field: Themes, Skins, and Styles . . . . . . . . . . . . . . . . 90
Displaying the Departments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Adding a Custom Error Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
■CHAPTER 4 Creating the Product Catalog: Part II . . . . . . . . . . . . . . . . . . . . 105
Storing the New Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
What Makes a Relational Database . . . . . . . . . . . . . . . . . . . . . . . . . 106
Enforcing Table Relationships with the
FOREIGN KEY Constraint. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Adding Categories. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Adding Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Querying the New Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Retrieving Short Product Descriptions . . . . . . . . . . . . . . . . . . . . . . . 122
Joining Data Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Showing Products Page by Page . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Writing the New Stored Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Using ADO.NET with Parameterized Stored Procedures . . . . . . . . . . . . 135
Using Input Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Using Output Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Stored Procedure Parameters Are Not Strongly Typed. . . . . . . . . . 136
Getting the Results Back from Output Parameters . . . . . . . . . . . . . 136
Completing the Business Tier Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Implementing the Presentation Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Displaying the List of Categories. . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Displaying Department and Category Details . . . . . . . . . . . . . . . . . 153
Displaying Product Lists. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Displaying Product Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
■CHAPTER 5 Searching the Catalog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Choosing How to Search the Catalog . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Teaching the Database to Search Itself . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Implementing a Custom Search Engine . . . . . . . . . . . . . . . . . . . . . . 171
Introducing the SearchCatalog Stored Procedure . . . . . . . . . . . . . . 175
Implementing Paging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Writing the Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Implementing the Business Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Implementing the Presentation Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Creating the Search Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Displaying the Search Results. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Searching Smarter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
■CHAPTER 6 Improving Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
Handling Postback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
Managing ViewState . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Using Output Cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
■CHAPTER 7 Receiving Payments Using PayPal . . . . . . . . . . . . . . . . . . . . . . 209
Considering Internet Payment Service Providers . . . . . . . . . . . . . . . . . . 210
Getting Started with PayPal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Integrating the PayPal Shopping Cart and Checkout . . . . . . . . . . . . . . . 212
Using the PayPal Single Item Purchases Feature . . . . . . . . . . . . . . . . . . 218
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
■CHAPTER 8 Catalog Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Preparing to Create the Catalog Administration Page . . . . . . . . . . . . . . 221
Authenticating Administrators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
ASP.NET 2.0 and Using Declarative Security . . . . . . . . . . . . . . . . . 229
Implementing Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
Administering Departments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Stored Procedures for Departments Administration . . . . . . . . . . . . 244
Middle-Tier Methods for Departments Administration . . . . . . . . . . 244
The DepartmentsAdmin User Control . . . . . . . . . . . . . . . . . . . . . . . . 249
Customizing the GridView with Template Columns . . . . . . . . . . . . 263
Administering Categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
Stored Procedures for Categories Administration . . . . . . . . . . . . . . 266
Middle-Tier Methods for Categories Administration . . . . . . . . . . . . 267
The CategoriesAdmin Web User Control . . . . . . . . . . . . . . . . . . . . . 270
Administering Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
Stored Procedures for Products Administration . . . . . . . . . . . . . . . 278
Middle-Tier Methods for Products Administration . . . . . . . . . . . . . 280
The ProductsAdmin Web User Control . . . . . . . . . . . . . . . . . . . . . . . 284
Administering Product Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
Stored Procedures for Product Details Admin . . . . . . . . . . . . . . . . . 295
Middle-Tier Methods for Product Details Admin . . . . . . . . . . . . . . . 298
The ProductDetailsAdmin Web User Control . . . . . . . . . . . . . . . . . . 302
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
■CHAPTER 9 Creating a Custom Shopping Cart . . . . . . . . . . . . . . . . . . . . . . . 311
Designing the Shopping Cart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Storing Shopping Cart Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Implementing the Data Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
Implementing the Business Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
Generating Shopping Cart IDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
What If the Visitor Doesn’t Like Cookies? . . . . . . . . . . . . . . . . . . . . 325
Implementing the Shopping Cart Access Functionality . . . . . . . . . 325
Implementing the Presentation Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
Creating the Add to Cart Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
Showing the Shopping Cart Summary . . . . . . . . . . . . . . . . . . . . . . . 331
Displaying the Shopping Cart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
Editing Product Quantities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Adding “Continue Shopping” Functionality . . . . . . . . . . . . . . . . . . . 343
Administering the Shopping Cart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
Deleting Products that Exist in Shopping Carts . . . . . . . . . . . . . . . . 346
Removing Old Shopping Carts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
■CHAPTER 10 Dealing with Customer Orders . . . . . . . . . . . . . . . . . . . . . . . . . . 353
Implementing an Order-Placing System . . . . . . . . . . . . . . . . . . . . . . . . . 353
Storing Orders in the Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
Updating the Business Layer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
Adding the Checkout Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
Administering Orders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Creating the OrdersAdmin Web Form. . . . . . . . . . . . . . . . . . . . . . . . 365
Displaying Existing Orders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
Administering Order Details. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
■CHAPTER 11 Making Product Recommendations . . . . . . . . . . . . . . . . . . . . . 401
Increasing Sales with Dynamic Recommendations . . . . . . . . . . . . . . . . 402
Implementing the Data Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Adding Product Recommendations. . . . . . . . . . . . . . . . . . . . . . . . . . 407
Adding Shopping Cart Recommendations . . . . . . . . . . . . . . . . . . . . 409
Implementing the Business Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
Implementing the Presentation Tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
■CHAPTER 12 Adding Customer Accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Handling Customer Accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Creating a BalloonShop Customer Account Scheme . . . . . . . . . . . . . . . 418
The SecurityLib Classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
Customer Logins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448
Customer Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
The Checkout Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
Setting Up Secure Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
Obtaining an SSL Certificate from VeriSign . . . . . . . . . . . . . . . . . . . 480
Enforcing SSL Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
Including Redirections to Enforce Required SSL Connections. . . . 482
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
■CHAPTER 13 Advanced Customer Orders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
Implementing Customer Order Functionality . . . . . . . . . . . . . . . . . . . . . . 485
Placing Customer Orders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
Accessing Customer Orders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 490
Tax and Shipping Charges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
Tax Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
Shipping Issues. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
Implementing Tax and Shipping Charges . . . . . . . . . . . . . . . . . . . . 502
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 515
■CHAPTER 14 Order Pipeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
Defining an Order Pipeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
Understanding the BalloonShop Order Pipeline . . . . . . . . . . . . . . . . . . . . 518
Building the Order Pipeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 522
The Basic Order Pipeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 522
Adding More Functionality to OrderProcessor . . . . . . . . . . . . . . . . . 535
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539
■CHAPTER 15 Implementing the Pipeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541
Considering the Code for the Pipeline Sections . . . . . . . . . . . . . . . . . . . 541
Business Tier Modifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 541
Presentation Tier Modifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554
Administering BalloonShop Orders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 561
Database Modifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 561
Business Tier Modifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565
Presentation Tier Modifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575
Testing the Order Administration Page . . . . . . . . . . . . . . . . . . . . . . 589
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
■CHAPTER 16 Credit Card Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593
Learning the Credit Card Transaction Fundamentals . . . . . . . . . . . . . . . 593
Working with Credit Card Payment Gateways. . . . . . . . . . . . . . . . . 594
Understanding Credit Card Transactions . . . . . . . . . . . . . . . . . . . . . 595
Implementing Credit Card Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . 596
Considering the DataCash XML API . . . . . . . . . . . . . . . . . . . . . . . . . 596
Integrating DataCash with BalloonShop . . . . . . . . . . . . . . . . . . . . . . . . . . 615
Business Tier Modifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 616
Testing the Pipeline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 621
Going Live . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 621
Using the PayFlow Pro API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 621
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624
■CHAPTER 17 Integrating Amazon Web Services . . . . . . . . . . . . . . . . . . . . . . 625
Accessing the Amazon E-Commerce Service . . . . . . . . . . . . . . . . . . . . . 626
Creating Your Amazon E-Commerce Service Account . . . . . . . . . . 627
Getting an Amazon Associate ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627
Accessing Amazon Web Services Using REST . . . . . . . . . . . . . . . . 628
Accessing Amazon Web Services Using SOAP . . . . . . . . . . . . . . . . 631
Integrating the Amazon E-Commerce Service with BalloonShop . . . . . 631
Writing the Amazon Access Code . . . . . . . . . . . . . . . . . . . . . . . . . . . 632
Implementing the Presentation Tier . . . . . . . . . . . . . . . . . . . . . . . . . 639
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 642
■APPENDIX A Installing the Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643
What Do These Programs Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643
Installing Visual Web Developer 2005 Express Edition
and SQL Server 2005 Express Edition . . . . . . . . . . . . . . . . . . . . . . . . . . 644
Installing SQL Server 2005 Express Manager . . . . . . . . . . . . . . . . . . . . . 645
Installing the IIS 5.x Web Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 646
Installing IIS 5.x on a Web Server Machine . . . . . . . . . . . . . . . . . . . 647
Working with IIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 649
■APPENDIX B Project Management Considerations . . . . . . . . . . . . . . . . . . . 651
Developing Software Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651
Considering the Theory Behind Project Management . . . . . . . . . . . . . . 652
The Waterfall (or Traditional) Method . . . . . . . . . . . . . . . . . . . . . . . . 652
The Spiral Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 654
The Rapid Application Development (RAD) Method . . . . . . . . . . . . 656
Extreme Programming (XP) Methodology . . . . . . . . . . . . . . . . . . . . 657
Picking a Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657
Understanding the E-Commerce Project Cycle . . . . . . . . . . . . . . . . . . . 658
Maintaining Relationships with Your Customers . . . . . . . . . . . . . . . . . . . 659
■INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 661