Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Interface proposal for template engine

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
jausions
Smarty Rookie


Joined: 06 Nov 2003
Posts: 10

PostPosted: Wed Jun 09, 2004 10:13 pm    Post subject: Interface proposal for template engine Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP