dcsimg
Linux Today: Linux News On Internet Time.





Linuxphile: PHP and Template Functions

Jun 05, 2006, 01:00 (8 Talkback[s])
(Other stories by Daniel McCarthy)

[ Thanks to Daniel McCarthy for this link. ]

"There is a debate going on in the world of PHP development of whether to use additional templating engines such as Smarty. While I've not really participated much in the debates myself I do understand both sides of the argument.

"The primary arguments for using a templating engine is faster time to market, and removal of business logic from within the HTML or presentation layer. The primary arguments against using such an engine are PHP is already a lightweight scripting language, why bother with the overhead of a templating language; invetibly, even with templating engines, some business logic is stored in the template..."

Complete Story

Related Stories: