You are here: Re: Embedding the entire HTML within PHP « All PHP « IT news, forums, messages
Re: Embedding the entire HTML within PHP

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация