RE: Official plan for template?

k-fish <[email protected]>
Newsgroups gmane.comp.web.oscommerce.devel
Message-ID <fac236b1f1eb4733e5874038724ffb0c@osCommerce-Forums>
This message was sent from: Development
http://forums.oscommerce.com/viewtopic.php?p=179143#179143
----------------------------------------------------------------

[quote="mCity"]But I would like [b]NOT[/b] to use template for it has [b]overhead[/b] to the server. ... Because whatever I want to change in template, I could do in php for osc also.[/quote]

One of the strongest points of Smarty is performance. It actually creates a compiled version of a template once, making it a plain php file. Thus overhead is minimized. And I doubt creating such a system from scratch again makes sense.

Bot since the template system needs to fit into the existing code, a custom system might be the best bet in this case. Just don't make it use regular expressions for every page call :)

Just my 2 cents.
Karsten
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.