The author writes "PHPLIB templates can grant you an amazing ability to abstract the manipulation of data (in the database as well as in PHP) from its final format, whether that format is HTML, XML, WML, or a formatted e-mail, and some of these ways will be explored here."
Throughout two separate parts in this series, the author demonstrates step by step the fundamental principles of PHP in an original real-world Web site example. The Part 1 offers the basics of PHP and features a Webzine that includes an author's page where content providers can enter the text of articles, as well as a front end for presenting this content to the world. In Part 2 of this series, you'll be shown the delivery module presents a menu of stories to the reader, and how the authoring module permits authors to submit stories to a Webzine.
Templates can bring order and structure to a web site. This article describes how templates can be used to control the page layout for a site that is currently composed of many pages of static HTML, using a popular template class and a new feature of PHP4.
Ever needed to get back to a previous version of a C include file, or a PHP script, because the customer changed his mind and decided that he liked "that previous thing" better? Find out how to reduce stress levels - and hair loss - by handing your code over to CVS, the powerful open-source version control system.
Isn't it great to go to a web site and it appears as though it was designed just for you. This 3-page article will help you design a web site which makes visitors feel like it was designed just for them using PHP and MySQL.
Templates let you completely separate your PHP code from the HTML, which makes the HTML graphic designers very happy and keeps them from messing up your precious programming. This tutorial explains how to use PHPLIB Template in your PHP scripts. Main topics include: Using PHPLIB Template, Nested Templates, and Appending Template Text.
One of the most powerful features of PHP is its ability to reduce the amount of site maintenance you need to do. By setting up a consistent site template, you can reduce the effort needed to create new pages, and you can also make it much easier to change the design of your entire site. This tutorial takes you through a simple example of how to set up and access a site template.
When you run a database-driven website, it makes sense to generate pages on the fly. PHP, MySQL, and Apache let you do just that. But they don't make it pretty. How many times have you had to create a URL that looks like this: http://schmoop.com/snurk.php3?snurk=123, when what you wanted was a URL like http://schmoop.com/snurk/123. The PHP Snurk lets you make such search-engine friendly URLs for dynamically-generated pages. All you need is the ability to run custom CGI scripts, an .htaccess file, and a little bit of time and effort.
Simple tutorial showing how to use the function include for simplifying your Web page authoring. Useful for header and footer insertion for multiple pages.