I come from a desktop-programming background and am trying to get into web-development. I am probably being a huge noob in many ways, so please bear with me.
It might be that background talking, but I have been a little disappointed (and overwhelmed) regarding looking for a PHP foundation to build my applications on top of.
I have been looking around at various frameworks and so far I haven't found what I am looking for. I am looking less for a system that is largely pre-made and lets you customize, and more for a library full of handy-dandy tools that I can piece together in various ways.
Short version: I am hoping for a well-established set of classes/interfaces in the form of .php source files that are all stored in a directory (or two directories).
Longer Version: Call me spoiled, but one thing I liked about Java / Visual Studio is the large and well-established class structure. If I wanted to use a particular function, I include a particular class (or add a namespace, depending on the circumstances) I just include the file in my code. Or it was also convenient when making a class to be able to extend an existing class or implement an existing interface so that it can have maximum usability with the other items in the collection.
The Plan: I want to have a shared class directory (above web-accessible folders) that I pull components from as desired. I am hoping to maximize code-reuse in this fashion and keep things neat and tidy.
I have recently looked into PEAR, and it seems to be largely what I am looking for, except it is clearly not designed with my plan in mind. As of right now it looks like I would have to retrofit each one to work like so (I am probably being a noob).
I am probably making no sense at all, but maybe I ultimately will make more sense after answering questions form a confounded community.
Thanks in advance.