[PHP] Re: Using templates (Code User Interface)

2004-01-27 Thread Skrol29
Hi,

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.

I have to react to this.
TinyButStrong is a PHP Template Engine that does truly separate code and
user interface.
It is so true that you can make your templates 100% with Visual (WYSIWYG)
Html Editors (Dreamweaver, Frontpage, .. what you wish).

Of course, when coding template, you often need conditional display in
some ways.

To do so, TinyButStrong has two features:
- Php event functions that you can define on a TBS tag/block and which
enables the tag's contents to be managed in the Php side.
- Parameters If/then/else on TBS tags/blocks just to simplify the
template.

---
Skrol 29
www.tinybutstrong.com
---

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



[PHP] Re: Using templates (Code User Interface)

2004-01-24 Thread rush
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