You are here: Re: [SMARTY] Seperation of Logic and Presentation « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] Seperation of Logic and Presentation

Posted by "Jonathan Villa" on 07/29/05 21:26

<quote who="Vicente Werner">
> I take a completely different approach. My applications work mostly
> like real gui applications, so each page the user sees is composed by
> a group of components and small templates rendered ina hierarchical
> way. Each template includes all the presentation logic for it, so the
> only effort from the php side is to pass all the data the template may
> need. Also I isolate myself as much as possible from the environment,
> so I get the data always trough functions or specially prepared arrays
> already filtered and secured.
>

whatever works best for you... but "Each template includes all the presentation
logic for it" concerns me...

what if you had to change shell/template? wouldn't you have to then redit the
every single page?

 

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

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