Specifically, we??™ve covered the following:
??? Modifications to the TShirtShop application to enable our own pipeline processing
??? The basic framework for our order pipeline
??? The database additions for auditing data and storing additional required data in the
orders table
In the next chapter, we??™ll go on to fully implement the order pipeline.
CHAPTER 18 ?– IMPLEMENTING THE ORDER PIPELINE: PART 1 592
Implementing the Order
Pipeline: Part 2
In the previous chapter, we completed the basic functionality of the OrderProcessor class,
which is responsible for moving orders through the pipeline stages. You saw a quick demonstration
of this using a dummy pipeline section, but we haven??™t yet implemented the pipeline
discussed at the beginning of the previous chapter.
In this chapter, we??™ll add the required pipeline sections so that we can process orders
from start to finish, although we 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 administration
pages added earlier in the book to take into account the new order-processing system.
Implementing the Pipeline Sections
In the previous chapter, we completed the OrderProcessor class, except for one important
section??”the pipeline stage selection. Rather than forcing the processor to use PsDummy (the
class we used instead of the real pipeline section classes that we??™ll build in this chapter), we
want to actually select one of the pipeline stages, outlined in Chapter 18, depending on the
status of the order.
Pages:
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711