is coding a generic template engine realistic?

From: Date: Wed, 02 Jan 2002 06:56:57 +0000
Subject: is coding a generic template engine realistic?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2462@lists.php.net to get a copy of this message
Hi, I would like to know if creating a generic template engine is realistic? What do I mean by a generic template engine? A generic template engine is an engine that would hold in a class, and that would use metainformation located in a configuration file. This metainformation would contain the number of levels to nest tables, container tables, content tables, content text, etc... The generic template engine would know how to throw the appropriate html tags, resolve dynamically through inclusion the nesting of tables. I suppose a conf file to be transferred in an array this array would be drilled down until the dynamic template has displayed totally. The real question is: are there limitations in the structure of Smarty that prevents this, or will it be tough, or what does it involve? Thanks

« previous php.smarty.general (#2462) next »