TinyButStrong - the PHP Template Engine
Categories > TBS free chat >

TBS & Smarty

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: TBS & Smarty
Date: 2006-07-06
Time: 17:23

TBS & Smarty

i just come here recently .
who can tell you Which one is the best and Why ? or you testimonials?
By: Skrol29
Date: 2006-07-06
Time: 18:20

Re: TBS & Smarty

http://www.tinybutstrong.com/article_3rd_kind.html
By: Brandon Sussman
Date: 2006-11-28
Time: 15:14

Re: TBS & Smarty

I suggest you do a test:

This is based on the point that tbs is smaller and simpler than smarty.  I am prepared to defend that point as are many others.  If so, then the only question is 'Does it do what you need?'.

So, develop an app using tbs and switch to smarty only if tbs cannot do what you need.

I bet you are still using tbs when the app goes live.

And the app will go live in only a fraction of the time simply based on how long smarty takes to learn and use.

Other advantages:

1. Smaller codebase to maintain, load, run, upgrade and understand.
2. Templates are more straightforward to comprehend for debugging and maintenance.

In fact, the problem with tbs is that it is hard in the beginning to trust that a class so small can do the job.  The sense of meaning of 'strong' is important - in english, 'strong' has a narrow meaning that includes a sense of the extreme.  But 'strong' in this case really means more - it includes a notion of 'capable'.
By: sheepy
Date: 2006-12-14
Time: 11:15

Re: TBS & Smarty

What is best depends on what is most important to you.

For runtime performance (compiled), functionality (plugin), community, and syntax highlighting, Smarty is better, but not as good as PHP itself IMHO.

For development speed, compatibility with web editor, flexbility, smaller code size, and easier learning curve, TBS will gives you a much better experience.

I use TBS so I may be biased, just so you know.  Personally I'd rather use straight PHP then Smarty