RE: Template System

Brenden <[email protected]> 30 Jul 2003 22:02:31 -0000
Newsgroups gmane.comp.web.oscommerce.devel
Message-ID <f36d1482119224fb4d8979376108984c@osCommerce-Forums>
This message was sent from: Development
http://forums.oscommerce.com/viewtopic.php?p=204717#204717
----------------------------------------------------------------

I just want to define some terms here:

[b]Template Engine[/b]: A template engine is a software module which is used to generate HTML pages (or other text files). The layout of a HTML page is defined within a template file, which can be designed by using a standard HTML editor like FrontPage. At run-time, the application program instructs the template engine to load the template, fill in variable values, repeat blocks and produce the final HTML page. (Thanks Google)

Examples of template engines: Smarty, Fast Template.

[b]Template Structure[/b]: This is a child>parent relationship where the parent contains HTML that affects files globally and the child holds HTML that affects files more specificly(content).

Examples of template structures: tep-docs, Basic Template Structure

[b]Template System[/b]: I would define this as an administrative way to control your templates. A way to open your files(from your web browser) and edit them.  Maybe even create new templates and delete some.


On the workboard, a template structure is being implemented. I dont think there will be any template engine or administrative template system.