Re: IT, or templates in general - another approach

From: Date: Wed, 22 May 2002 07:02:54 +0000
Subject: Re: IT, or templates in general - another approach
References: 1 2 3 4 5  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6313@lists.php.net to get a copy of this message
Hello, Pierre-Alain Joye! > On Tue, 21 May 2002 17:49:15 +0100 > "Richard Heyes" <richard@phpguru.org> wrote: > > If there are only developers/technical people why use template engines > > at all? > > Keep the html in seperate files for the template effect and use short > > snippets of > > embedded php to do the dynamic parts. Using short tags, <?= and > > alternative control > > syntax makes it look pretty much like a template language anyway. > Note that, imho, templates do not have to contain any logic. But there > is different points of views, and every one got their own needs ;)). Right. IMO we must have solution to divide logic(php code) and presentation (html code). I think - it must be general idea of template using, and using template-engine. Designers doesn't like logic - where are designers (art people), and we are programmers. And tell me one thing, why I need to use template-language to create block? It's looking like programmer want get out from his own job, and give this job to designer. I mean job - is creating logic in web-page.. Thanks. -- Best regards, KVN. PHP4You (<http://php4you.kiev.ua/>) PEAR [ru] (<http://pear.php.net/manual/ru/>) mailto:kvn@php.net

« previous php.pear.dev (#6313) next »