Welcome to WebmasterWorld Guest from 35.172.195.49

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Using Templates in PHP!

any preferences?

     
6:35 pm on Sep 15, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member dreamcatcher is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 30, 2003
posts:3719
votes: 0


Hi,

I`m going to write a script that uses templates. I haven`t used them before, so it will be a good learning curve for me.

Now I see some people use FastTemplates, while others use PHPLIB Templates. Whilst it seems lots of people use the FastTemplates, I`ve seen comments by other people say that FastTemplates are mainly for the Perl language and are no good with PHP.

I`ve also found something called UltraTemplates too.

So, what I was wondering was is which method you guys prefer? Is one better than the other and if so why? From a learning point of view, which is the best one for me to go with. I was thinking maybe PHPLIB is the best one for me to learn. But maybe there is something better?

Thanks for the help!

:)

7:01 pm on Sept 15, 2003 (gmt 0)

Administrator

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
posts:15756
votes: 0


another option is
[smarty.php.net...]
7:23 pm on Sept 15, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member dreamcatcher is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 30, 2003
posts:3719
votes: 0


Thanks jatar_k. They do all seem pretty much the same, so I suppose as long as one works it doesn`t matter which one you use?

Do you have any preferences as to which one you use?

8:23 pm on Sept 15, 2003 (gmt 0)

Administrator

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
posts:15756
votes: 0


As long as it does what you need it to and you like the way it works then that's all that matters.

I know Nick_W loves smarty so I would recommend that. I myself am all custom for templating.

8:44 pm on Sept 15, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member dreamcatcher is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 30, 2003
posts:3719
votes: 0


Well, I`ve downloaded the Smarty files and I`ve been looking at the .pdf manual. Looks good, I`ll print that out for reference as I hate reading too much on a computer screen. :)

Thanks again!

8:56 pm on Sept 15, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 8, 2002
posts:65
votes: 0


I'm another vote for smarty, great product - better price. =)