Re: My template idea...

From: Date: Tue, 15 Feb 2000 18:55:58 +0000
Subject: Re: My template idea...
References: 1 2 3  Groups: php.template 
Request: Send a blank email to php-template+get-33@lists.php.net to get a copy of this message
> > Yes You can say that. All the content is in the database. When the > > system sees a content is in memory, it triggers some loops. It's an easy > > and efficient way to do it 8) > > It probably is, I don't understand the system completely yet, but I > don't think that would be the right approach for the built-in template > engine. But it may be worthwhile to have the template system independent of files - to allow it to also start from strings: resource tpl_load_from_string(string string [, string path_to_configs]) - loads a template from a string and performs initial parsing which includes replacing the config variables with their values, stripping comments, and printing out {%..} constructs. -Tobias

« previous php.template (#33) next »