Chapter 21. DESIGN

Topics in This Chapter

  • Writing Requirements Specifications

  • Writing Design Documents

  • Using CVS

  • Modularization Using include

  • FreeEnergy

  • FastTemplate

  • Midgard

  • Ariadne

  • Preserving State and Providing Security

  • Cloaking

  • URLs Friendly to Search Engines

  • Running a Script Regularly

Building a Web site with PHP is not the same as building a static Web site. If you choose simply to sprinkle PHP code occasionally throughout the site, the effect may be minimal, of course. If you choose to use PHP to generate every page, you will find many opportunities for transforming patterns into functions. As I wrote in Chapter 20, "Integration with HTML," elements such as opening and closing body tags can be put into a function or an included file. The consequence ...

Get Core PHP Programming: Using PHP to Build Dynamic Web Sites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.