Do many people use smarty?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply

Smarty is a good choice

Yes
6
29%
No
13
62%
I occasionally use it
1
5%
Never heard of it
1
5%
 
Total votes: 21

User avatar
fwc
Forum Newbie
Posts: 23
Joined: Fri Jul 13, 2007 4:55 am

Do many people use smarty?

Post by fwc »

I am playing around with a website, and designing various features. I realized you have to copy the same HTML over and over again if you want multiple pages until my friend guided me to Smarty. Is smarty a good system? Is it easy to use and is it popular? Please vote in my poll.
thiscatis
Forum Contributor
Posts: 434
Joined: Thu Jul 20, 2006 11:00 am

Post by thiscatis »

There has been previous topics about this matter in General Chat
User avatar
fwc
Forum Newbie
Posts: 23
Joined: Fri Jul 13, 2007 4:55 am

Post by fwc »

thiscatis wrote:There has been previous topics about this matter in General Chat
Thanks I'll search there
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

Or you could use my Smarty compatible Template Lite, link in sig. I should have a new version out this week with a number of new features. :)
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Yeah, Smarty was way too complex for me. I wrote my own which, originally, I though was going to be simple. Then, I started adding loops which worked okay until Igot nested loops, and then ifs which worked okay until I got nested ifs and ackk.

I rewrote the whole thing today and it's faster AND actually works perfectly (I even programmed in some parser errors and such for myself ^_^). In hindsight, I probably should have used Template Lite, but I was so excited to write my own, and then didn't wanna waste the effort... :-p
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Template Lite.

(I didn't know you were the author AKA Panama Jack, but that is tight!)

Smarty is much too slow and bloated compared to template lite. Template lite claims to be a stripped down version of smarty, but really, every feature you'd need is in there. I love it.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

Of course if you are an XML lover there's always XSLT. You need XSL PHP extension though.
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

scottayy wrote:Template Lite.

(I didn't know you were the author AKA Panama Jack, but that is tight!)

Smarty is much too slow and bloated compared to template lite. Template lite claims to be a stripped down version of smarty, but really, every feature you'd need is in there. I love it.
Thanks :)

It's written from the ground up without Smarty code except for a few of the plugins. The main focus was on small memory footprint, speed while containing most of the features of Smarty. Plus there are a number of things TL can do that Smarty can't. :D
User avatar
The Phoenix
Forum Contributor
Posts: 294
Joined: Fri Oct 06, 2006 8:12 pm

Post by The Phoenix »

scottayy wrote:Template lite claims to be a stripped down version of smarty, but really, every feature you'd need is in there.
Save one: Security mode.
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

The Phoenix wrote:
scottayy wrote:Template lite claims to be a stripped down version of smarty, but really, every feature you'd need is in there.
Save one: Security mode.
Which really isn't needed by most people using Smarty or any template engine. :)
User avatar
The Phoenix
Forum Contributor
Posts: 294
Joined: Fri Oct 06, 2006 8:12 pm

Post by The Phoenix »

AKA Panama Jack wrote:
The Phoenix wrote:
scottayy wrote:Template lite claims to be a stripped down version of smarty, but really, every feature you'd need is in there.
Save one: Security mode.
Which really isn't needed by most people using Smarty or any template engine. :)
The key word in the sentence was every feature you'd need.

I need it, and thats that. :)
Post Reply