"Hamid Hossain" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to