Once you have mastered the basics of the workflow event handlers shown in this chapter, you can customize just about any part of the publishing process.
This chapter has demonstrated how a simple e-mail notification system can be built into the workflow. When authors submit a posting for approval, an e-mail is immediately sent out to a list of approvers. Similarly, when the posting has been approved or declined, an e-mail is sent to the relevant people in the workflow.
We went on to show how operations can be canceled when certain conditions have not been met, for example, when the posting's name is not unique, or when you need to prevent users from performing certain operations such as deleting postings.
Finally, we looked at generic event handlers. While it is possible to use generic handlers instead of specific event handlers, they incur slightly higher overheads and inappropriate use is to be avoided.