Re: Using templates (Code & User Interface)

From: Date: Sat, 24 Jan 2004 14:05:40 +0000
Subject: Re: Using templates (Code & User Interface)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-175631@lists.php.net to get a copy of this message
"Hamid Hossain" <hamidhossain@hotmail.com> wrote in message news:Law11-F838r6beUzmRf0000002d@hotmail.com... > Always I have a problem that I don't know how to make my code away from the > user interface files. > > I tried to use some template classes, but I did'nt like what I tired because > some if statments are used inside the template. Maybe you could try to use TemplateTamer. With TT there are no statements inside the template (like if loops etc), in template file there are only begin i end markers which show where some template starts and palceholders for variables, and that is all. All program logic is stored in separate php file, and programed in standard php. Aside from that TemplateTamer commes with IDE to develop in which shows you structure of the templates in tree like view, lets you conviniently edit template and coresponding php file, keeps account of all files in the project, and even has some rudimentary vizards that can offer you some code that fits your template. So if this sounds interesting please try it, and also do not hesitate to mail me if you have some questions, or need some advice. rush -- http://www.templatetamer.com/

« previous php.general (#175631) next »