Re: [Phplib-users] Template (was: extensions to oohforms, table)
Brought to you by:
nhruby,
richardarcher
From: Richard A. <rh...@ju...> - 2004-04-21 06:28:23
|
At 7:27 AM +1000 21/4/04, Richard Archer wrote: >Last time I checked the only difference between the two template libs >was a couple of dubious bug fixes in the pear lib. I have just compared the pear and phplib template classes. The differences amount to: pear has "fallback" directories where it searches for templates. pear has reverted to str_replace instead of preg_replace. phplib has clear_var and unset_var. pear has a couple of extra bugs and missing features. So, for me the phplib class is the clear winner. Although reverting to str_replace might be worthwhile for the phplib class as it results in cleaner code and a 25% speed increase. I wonder if it would break any existing applications due to the differences in the way data is stored in varkeys[]. ...R. |