In this section, you learned how to manage
cache lifetimes on a per-page basis and execute parts of the logical layer based on a
particular cache??™s validity. Be sure to take these features under consideration for each
template.
Summary
Smarty is a powerful solution to a nagging problem that developers face on a regular
basis. Even if you don??™t choose it as your templating engine, hopefully the concepts
set forth in this chapter at least convince you that some templating solution is necessary.
In the next chapter, the fun continues, as we turn our attention to PHP??™s abilities
as applied to one of the newer forces to hit the IT industry in recent years: Web Services.
You??™ll learn about several interesting Web Services features, some built into PHP and
others made available via third-party extensions.
503
?– ?– ?–
C H A P T E R 2 0
Web Services
This chapter discusses some of the more applicable implementations of Web Services
technologies and shows you how to use PHP to start incorporating them into your
Web application development strategy right now. To accomplish this goal without
actually turning this chapter into a book unto itself, the discussion that follows isn??™t
intended to offer an in-depth introduction to the general concept, and advantages, of
Web Services.
Even if you have no prior experience with or knowledge of Web Services, hopefully
you??™ll find this chapter quite easy to comprehend.
Pages:
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583