Re: Re[2]: [SMARTY] new link

From: Date: Fri, 06 Dec 2002 13:58:53 +0000
Subject: Re: Re[2]: [SMARTY] new link
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6673@lists.php.net to get a copy of this message
> Just to be clear on what I mean, I think it would be better to speak of, > indeed, > presentational logic and business logic, or something equivalent. > > I think many get, not confused, but bothered by getting classified as the > one or the other role (designer or developer with what one may put in these > words). However it's only a point on effective, or better, friendly > communication approach. No differences about the value and the advantages of > smarty. > Interestingly I think there is some value to feeling that there are the two roles. Although I work on my own when designing templates and code to run them, I try to forget everything that my developer-self knows when designing then page, and so I hope to get a way from thinking "oh I could just sneak a bit of php in here", and use HTML with simple Smarty tags (usually just simple variable replacement or single user defined function calls) to get the layout and then go back with my smarty developer hat on and put in the more complex (loops/branches) smarty parts. I don't know if it really helps me get a better separation, but I do think it helps to consider that there are at least two stages to the creation of a template, and two Hats to be worn. Nick(c)

« previous php.smarty.general (#6673) next »