[PHP] Template class: Simple question

2007-04-23 Thread Micky Hulse
Hello, I have a couple classes that generate navigation and a few other dynamic xHTML template-based things... What is standard practice for calling your template classes? In other words: Is it good practice to create the class object for every page view, or is there a better way to cache

Re: [PHP] Template class: Simple question

2007-04-23 Thread Micky Hulse
Micky Hulse wrote: What is standard practice for calling your template classes? In other words: Is it good practice to create the class object for every page view, or is there a better way to cache the object? I am using PHP 4.x. Ack! Just found this great thread on Sitepoint: