Reply to Re: Separation of logic, design and data

Your name:

Reply:


Posted by Ian M Robertson on 01/24/07 10:38

Erwin Moller wrote:

> Frank van Wensveen wrote:
>
>> Friend, coders, fellow wage slaves, lend my your ears.
>>
>> I believe that in a perfect world the design of a website (or feature
>> on a website) should be totally separated from its design and the data
>> it serves up. I'd like some suggestions on good ways to do this,
>> because in the real world it can be quite difficult.
---SNIP
>
> Hi Frank,
>
> Toby gave a nice response + examplecode.
> I just want to add a fairly simple way to achieve the same: includefiles.
--- SNIP
> Disclaimer: I am not claiming this approach is better than some
> template/parsing engine. It is just another way to approach the subject.

One template engine worth a look is smarty ( http://smarty.php.net ) gives
good separation of source php and markup html

IanR

--
homepage http://narian.org.uk

[Back to original 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

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