|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
jausions Smarty Rookie
Joined: 06 Nov 2003 Posts: 10
|
Posted: Wed Jun 09, 2004 10:13 pm Post subject: Interface proposal for template engine |
|
|
Hi,
I'm trying to defining a common minimal template engine API for content-generating packages written in PHP.
Please have a look at http://www.11abacus.com/dev/pear/HTML_Template_Interface.phps for the interface definition,
http://www.11abacus.com/dev/pear/SmartyInterfaced.phps for the Smarty implementation of the interface and http://www.11abacus.com/dev/pear/ for implementation of other template engines.
The idea is to have as many as possible template engines implementing this interface, so template engines can be substitute for each other in applications.
Again, this is a minimal API, meaning that some of the features of the particular template engines will be left out. However his is not a restrictive API, the users can still use the full-blown API of the template engine if they want to.
Let me know,
-Philippe |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|