8 Creating Web Applications
The chapters to this point cover the fundamentals of programming with PHP; now it’s time to begin tying it all together into actual Web applications. In this chapter, you’ll learn about a number of functions and techniques that you can utilize to make your Web sites more professional, more feature-rich, and easier to maintain.
First, you’ll begin learning how to use external files to break your Web pages into individual pieces (allowing you to separate the logic from the formatting, to a degree). Then you’ll tinker with constants, a special data type in PHP. After that, you’ll be introduced to some of the date- and time-related functions built into PHP.
Two of the chapter’s topics discuss useful techniques: ...