|
Posted by robert on 05/19/06 00:22
"Drakazz" <vykintas.narmontas@googlemail.com> wrote in message
news:1147985628.008285.155920@i40g2000cwc.googlegroups.com...
|> Smarty is an interesting solution to the problem of separating code from
| presentation (HTML), but IMO it doesn't make code look nicer or
| increase
| flexibility.
| :)))))))
| LOL
| Templating engines are used to separate the actual application code
| from the output. This allows greater deal of flexibility as well as if
| OOP is added.
|
| If you're wasting time makign a redesign, then it's your skills,
| showing that your site is not flexible.
|
| Using a template engine i can quiackly redesign the HTML code and CSS
| without any problems.
| In order for you to do anything, you'll need to edit yoru PHP scripts.
|
| Smarty is a big advantage over others because it is much faster and
| caching can be enabled too.
| More info @ http://smarty.php.net/
you can cache in php too. they're called headers. ;^)
also, the html is SOMEWHERE...whether alongside php or in smarty, it's
SOMEWHERE. OOP gives flexibility not SMARTY. glad ur a fan though.
Navigation:
[Reply to this message]
|