Summary

In this chapter, you learned about communicating with your users, not just through a Web browser but through that most vital of modern media, electronic mail.

We weaned you off PHP's mail() function early on by showing you how communications with users can be represented in an elegant class hierarchy. We took this further by creating EmailRecipient and EmailCommunication classes as part of that hierarchy, robust and stable enough for everyday use.

We also showed you how Smarty can play a big part in letting you produce template-driven e-mails, and we hinted at some of the more advanced possibilities for the class framework we discussed.

In the next chapter, you meet some of the most important concepts in building enterprise PHP application sessions and authentication.



Professional PHP5 (Programmer to Programmer Series)
Professional PHP5 (Programmer to Programmer Series)
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 182

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net