TAILIEUCHUNG - Beginning ASP.NET 2.0 E-Commerce in C# 2005 From Novice to Professional PHẦN 9

Bạn đã bắt đầu để xây dựng xương sống của ứng dụng và chuẩn bị cho chia sẻ của sư tử của chức năng để xử lý đường ống, mà bạn sẽ thực hiện trong Chương 15. Cụ thể, chúng tôi đã được bảo hiểm như sau: • Các khuôn khổ cơ bản cho đường ống dẫn đặt hàng của bạn • | CHAPTER 14 ORDER PIPELINE 539 public void SetAuthCodeAndReference string authCode string reference call static method OrderID authCode reference update fields AuthCode authCode Reference reference public void SetDateShipped call static method OrderID update field DateShipped Summary You ve started to build the backbone of the application and prepared it for the lion s share of the order pipeline processing functionality which you ll implement in Chapter 15. Specifically we ve covered the following The basic framework for your order pipeline The database additions for auditing data and storing additional required data in the Orders table How to put orders into the pipeline when they are placed in BalloonShop In the next chapter you ll go on to implement the order pipeline. CHAPTER 15 Implementing the Pipeline In the last chapter you completed the basic functionality of the OrderProcessor component which is responsible for moving orders through pipeline stages. You ve seen a quick demonstration of this using a dummy pipeline section but you haven t yet implemented the pipeline discussed at the beginning of the last chapter. In this chapter you ll add the required pipeline sections so that you can process orders from start to finish although you won t be adding full credit card transaction functionality until the next chapter. We ll also look at the web administration of orders by modifying the order admin pages added earlier in the book to take into account the new order-processing system. Considering the Code for the Pipeline Sections The OrderProcessor code is complete except for one important section the pipeline stage selection. Rather than forcing the processor to use PSDummy you actually want to select one of the pipeline stages outlined in Chapter 14 depending on the status of the order. Before you do this let s run through the code for each of the .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.