Updated: 07/26/2005

Building Modular XHTML Web Pages with PHP

Learn how to use PHP to separate the different elements that make up a well designed and valid Web page into its component parts and have these parts adapt in certain powerful ways. These components correlate almost exactly with the modular design of XHTML itself. Covers the key differences between HTML and XHTML, the HTTP protocol, content negotiation and MIME types, returning the correct DOCTYPE declaration, building custom metadata in the &<head&> section of each document, extracting navigation elements and content from a MySQL database, markup functions, and finally closing page elements. The series concludes with a sample page that demonstrates all the key aspects. Full annotated source code is provided throughout.
  • Categories
  • Platforms
    • Linux,
    • FreeBSD,
    • Mac OSX
  • Licenses
    • Other Free / Open Source License
  • Author
    • Douglas Clifton