Forum Moderators: coopster
I prefer to just use what I find good and maintain my own libraries I use from project to project.
The ultimate combination is using PEAR DB modules and the Smarty templates system to write web applications. It saves hours of development time.
In my situation I'm writing an application that will be used by multiple people so I can't be certain that the servers they host on have the PEAR package already installed... which kind of rules out using it.
There's a lot of developement, support and enthuasiasm for it so I don't think you'll go wrong with drawing on it for some libraries.
I like that PHP is light, fast, easy to deploy and easy to modify. I try to avoid any addon that would decrease those features.
But again, I'm new to PEAR so my mind is not done about it yet.
For an alternative to that try the template engine in phpbb
You can say the same thing about Smarty, and I wouldn't use it.
I agree. I haven't used PEAR either all though I've been tempted ;-) I think the original post was fearing some sort of dependancy on PEAR. All I'm saying is if you like it don't be afraid to use it.
I'm a Savant fan too. Interesting that the developer of Savant just started working on an application framework called SolarPHP. It's similar in goals to PEAR and Horde.
Tim
What is the advantage of the Savant template engin over a really simple one?
That article is good and really shows what's at the heart of Savant. So what's the advantage? The only one I can see is its plugin feature and the ability to have a compiler if needed (usually not). Savant really is that simple and well documented (I like that).
Tim
Custom-scripted, good OO designed-code will always be better than existing libraries, which are designed to be comprehensive, portable, but for these reasons also inefficient (perfomance-wise).