• Stars
    star
    117
  • Rank 300,011 (Top 6 %)
  • Language
    PHP
  • License
    MIT License
  • Created almost 15 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PHP Template Inheritance (in straight PHP)

NOTE: This project is no longer maintained! more info

PHP Template Inheritance (PHPTI)

Template Inheritance is an extremely useful technique for making reusable HTML layouts for a site. It is much more flexible than alternative techniques, such as "including" common elements of a page (like a header and footer file).

The concept has been around for a while, most notably in the Django template engine. Unlike other libraries, PHP Template Inheritance lets you write everything in straight PHP. There is no need to learn another template language.

Links

Released under the MIT License (license.txt)