|
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]
|