simple and very powerfull php template system

Discussion about the creation of websites in general, HTML, PHP, Java.

simple and very powerfull php template system

Postby thoriumbr on Tue Aug 23, 2005 2:04 pm

Hi everyone,

I developed an engine for creating websites... I just change the interface and sell, change interface, sell again, and so... But it was taking time to change all php code inside html code, and I was searching for a template system.
I found TBS, a small, simple and very powerfull template engine.
How simple? It has only 8 methods, but with only 2 you can do almost everything... You create html without any php code inside, and the template parses the html and renders the page...
thoriumbr
Contributer
Contributer
 
Posts: 26
Joined: Tue Aug 23, 2005 1:49 pm
Location: Limeira, SP, Brazil

Postby DeeBG on Wed Aug 24, 2005 3:16 am

TBS does provide a nice framework, although I haven't had any experience with it (I used to use Smarty though, and it's still a very popular solution although it's not always so easy to use). For you or anyone else looking for templating scripts or php scripts for just about anything else, my favourite scripting database site is http://www.hotscripts.com. They also have scripts for many other languages such as perl, asp, and python.
DeeBG
Contributer
Contributer
 
Posts: 46
Joined: Wed Aug 10, 2005 3:10 am

Postby mikey1090 on Mon Nov 28, 2005 6:19 pm

hotscripts are good, but some times you dont want to doqnload a script, you just need the snippet

anyway, for php phpfreakes is good. just look on google, the link will be there. i dont really know....

but it sounds very nice the service you are providing, it could be quite popular
mikey1090
Newbie
Newbie
 
Posts: 14
Joined: Sat Nov 26, 2005 12:00 pm

Postby dexxa9 on Thu Dec 15, 2005 10:31 am

I really like it, great I will be using it again in the future
i will use it again and again
dexxa9
Newbie
Newbie
 
Posts: 14
Joined: Wed Dec 14, 2005 5:45 pm

Postby mini on Fri Dec 16, 2005 5:20 pm

TBS looks pretty decent, but for my own personal needs, I don't need anything to powerful. I just use my own little snippet-based template class. It simply loads a snippet, then I set some vars, and it replaces them when neccescary. It takes global (all snippets), and local (only that snippet) variables.

If I ever do need something a bit more powerful, TBS seems like a good solution, thanks! Smile
mini
Contributer
Contributer
 
Posts: 24
Joined: Sat Dec 03, 2005 9:33 pm


Return to General Webmastering

Who is online

Users browsing this forum: No registered users and 1 guest

cron