itaym02;10925978 wrote:I need to start a new project. I do not need a framework, just libraries to handle the most trivial of black coding (db connection, cleaning, curl wrappers etc).
Should I go for Pear, ZF or some other library?
Whats out there and is in good quality?
Thanks
IM
Well, Pear isn't technically a library. But I know what you meant. And there are some very useful libraries you can easily get from using the Pear installer. It's almost not worth it to get a library for database connectivity. Pear has several database abstraction libraries but PDO should be built in unless you are using a pretty old version of PHP. I have no idea what you meant by "cleaning." Curl wrappers? Why when the PHP curl extension is nice and abstracted already. You'd only need to write a function (or method) with a few lines of code using functions from the curl extension (if loaded, if not easily loadable.) Finally, ZF is a framework and a rather large one at that.
I've been using the codeigniter framework lately. In benchmarks it typically outperforms everything else because it's a pretty light framework (but has all those nice useful libraries that you are looking for.)