[wp-hackers] Separation of Application Logic from
Nathan Lamont
dr.forbin at gmail.com
Thu Sep 1 22:43:58 GMT 2005
> Wow, awesome work! I hope something like this gets moved into the core
> soon. Although, I'm interested to hear justification on some of your
> design decisions; primarily why smarty was chosen instead of sticking
> with the PHP-based template-tag style templates WordPress already uses
> for themes?
Thanks. I hope the same thing.
Why did I use Smarty? I think the Smarty developers describe the
benefits better than I can in the opening paragraphs at:
http://smarty.php.net/rightforme.php ,
http://smarty.php.net/whyuse.php , and
http://smarty.php.net/manual/en/preface.php .
To me, a better question is, why didn't WordPress use Smarty? I
confess I don't have my finger on the pulse of the WordPress
community, but I do know in the past, Smarty was mentioned as part of
WordPress's future. I can only speculate, but I suppose it may not fit
in with the stated philosophy of "keeping the core code as light and
fast as possible."
More information about the wp-hackers
mailing list