You are here: Re: php/html editing help « PHP Programming Language « IT news, forums, messages
Re: php/html editing help

Posted by William Gill on 06/27/07 16:07

james.gauth@googlemail.com wrote:
>>
>> I'm not trying to be difficult, but coding in a text editor only doesn't
>> do the job for me. I need to switch back and forth, and my present
>> tools don't let me do that with an all PHP page, I need to run it
>> through a development server to see what my visitors will see, or am I
>> wrong?
>>
>> This seems to be the ongoing argument between the "designers" and the
>> "programmers", unfortunately I'm them :)
>
> I'd recommend using Smarty:
> http://smarty.php.net
>
> From: http://smarty.php.net/whyuse.php
> One of Smarty's primary design goals is to facilitate the separation
> of application code from presentation. Typically, the application code
> contains the business logic of your application, written and
> maintained in PHP code. This code is maintained by programmers. The
> presentation is the way your content is presented to the end user,
> which is written and maintained in template files. The templates are
> maintained by template designers.
>
> When using Smarty correctly you'll have HTML free PHP code and PHP
> free HTML code.
>

Thanks, I will look into it.

 

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

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