[wp-hackers] Separation of Application Logic from

Amit Gupta wp at igeek.info
Fri Sep 2 10:59:58 GMT 2005


Rob Mientjes <robmientjes at gmail.com> wrote:
|  Point is that WordPress doesn't _need_ it to function, so it has to
|  be, indeed, as lightweight as possible. Adding requirements or
|  features is always one of the nicer topics on the list ;)
|
|  But yeah. About it. Lightweightness is cooler than feature bloat?
well said, adding smarty will add another 400-500KB of weight to the 
baggage
if I'm not wrong. Besides, I don't see any reason as to why Smarty is to 
be used, just because
instead of using

    foreach ($comments as $comment)

you use

    {foreach from=$comments item=comment}

or instead of

    if ('unapproved' == $comment_status) {
    }

you use

    {if $comment->status=='unapproved'}
    {/if}

I mean where is the sense?? That's doing just the same thing with an 
added overhead!!
I say, someone gotta have a ridiculous sense of humour if they say that
    {foreach from=$comments item=comment}
is easier than
    foreach ($comments as $comment)

Are we thinking about making WordPress faster & lighter or bloating it??

DISCLAIMER: This is not to offend anyone, so don't feel that I'm 
offending anyone.
.
------------
Amit Gupta
http://igeek.info/  ||  http://blog.igeek.info/
http://blog.igeek.info/wp-plugins/igsyntax-hiliter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-hackers/attachments/20050902/60052427/attachment.htm


More information about the wp-hackers mailing list