How to implement Template Inheritance (like Django?) in PHP5
Posted
by anonymous coward
on Stack Overflow
See other posts from Stack Overflow
or by anonymous coward
Published on 2009-06-03T19:20:55Z
Indexed on
2010/03/29
1:13 UTC
Read the original article
Hit count: 404
Is there an existing good example, or how should one approach creating a basic Template system (thinking MVC) that supports "Template Inheritance" in PHP5?
For an example of what I define as Template Inheritance, refer to the Django (a Python framework for web development) Templates documentation: http://docs.djangoproject.com/en/dev/topics/templates/#id1
I especially like the idea of PHP itself being the "template language", though it's not necessarily a requirement.
If listing existing solutions that implement "Template Inheritance", please try to form answers as individual systems, for the benefit of 'popular vote'.
© Stack Overflow or respective owner