For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > July 2004 > Re: [SMARTY] Smarty Light









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] Smarty Light
Martin Braun

2004-07-08, 4:04 pm

Mrak sagte:
> All the listed features (except sections maybe) are loaded on request
> only and hence do not affect performance... moreover, if you take a
> closer look at the smarty object, you can easily "turn off" features
> loaded by default, hence I do not see a point in even thinking about
> smarty light


i don't see any need for smarty light, but if you really want to strip
smarty off some features, all you have to do is to delete the associated
files.

however, this shouldn't gain any perfomance, just a few KB of disk space.

I'm no smarty developer, but I think ripping other functions from smarty
would only gain perfomance during the compiling process - remember smarty
compiles it's templates to PHP-files anyway, and compiling shouldn't
happen all the time.

just theorizing....

cheers
martin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com