A Template Engine, such as Smarty, is useful when you're about to share your templates among people. For example, suppose that you're creating a new Blog-Provider system, where users can edit their blog templates. You can't allow these people to insert php codes directly into their templates. How can you avoid this? By using a template engine. Smarty, PHPTAL, etc.
On Sat, Jul 19, 2008 at 1:47 AM, Jani Hartikainen < [EMAIL PROTECTED]> wrote: > I'm having a hard time seeing how a template engine was made obsolete > by a pattern that existed even before it, or by a stylesheet language.. > > > On Sat, 19 Jul 2008 00:56:42 +0300, Karol Grecki <[EMAIL PROTECTED]> > wrote: > > >> Smarty was made obsolete by MVC and proper use of CSS. You can cache pages >> using Zend_Cache. There no point using Smarty anymore. Some people have >> legacy projects and still need to use it but I'd say it has no future in >> modern web development. >> >> Karol >> >> -- Kind regards, -behzad
