Jump to content

Templating in PHP


Recommended Posts

Guest LALING
I was wondering how do I go about on creating a template engine. Something like the XMB forum board templates (I really like how the templates are handled on the XMB forum board script). Something that will store the template in a database table and called out with the eval(). Please do not recommend smarty. For some reason, I'm not gonna go with smarty.
Link to comment
https://forums.phpfreaks.com/topic/9802-templating-in-php/
Share on other sites

Guest LALING
[!--quoteo(post=374602:date=May 17 2006, 01:46 AM:name=SemiApocalyptic)--][div class=\'quotetop\']QUOTE(SemiApocalyptic @ May 17 2006, 01:46 AM) [snapback]374602[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Is XMB open source, or do you have the source? If so, why not take a look at it and see how they have done it for some ideas...
[/quote]

i HAVE looked at it. but i'm fairly new to PHP and dont really understand the class and functions. people say its easy, but still, i havent found a goo tut to explain it well and more understanding.
Link to comment
https://forums.phpfreaks.com/topic/9802-templating-in-php/#findComment-36631
Share on other sites

[!--quoteo(post=374686:date=May 17 2006, 11:18 AM:name=LALING)--][div class=\'quotetop\']QUOTE(LALING @ May 17 2006, 11:18 AM) [snapback]374686[/snapback][/div][div class=\'quotemain\'][!--quotec--]
i HAVE looked at it. but i'm fairly new to PHP and dont really understand the class and functions. people say its easy, but still, i havent found a goo tut to explain it well and more understanding.
[/quote]

not to be harsh, but if you're new to PHP, why aren't you willing to try smarty? it's one of the better and more flexible templating systems out there, plus, it's free so you can customize it to whatever you want. i'm sure there are other good ones, too, but i guess i'm just curious to why you're not going to try something that tested and tried.
Link to comment
https://forums.phpfreaks.com/topic/9802-templating-in-php/#findComment-36633
Share on other sites

Guest LALING
[!--quoteo(post=374688:date=May 17 2006, 08:25 AM:name=obsidian)--][div class=\'quotetop\']QUOTE(obsidian @ May 17 2006, 08:25 AM) [snapback]374688[/snapback][/div][div class=\'quotemain\'][!--quotec--]
not to be harsh, but if you're new to PHP, why aren't you willing to try smarty? it's one of the better and more flexible templating systems out there, plus, it's free so you can customize it to whatever you want. i'm sure there are other good ones, too, but i guess i'm just curious to why you're not going to try something that tested and tried.
[/quote]


i did try smarty. i just didn't like it for some reason.
Link to comment
https://forums.phpfreaks.com/topic/9802-templating-in-php/#findComment-36634
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.