On Thu, 19 Sep 2002 00:50:56 -0400, you wrote: >By doing so I want more and more of my PHP to be purely OO. I'm fairly >aware of how to write my own classes for data but are their any frameworks >out there to do the foundation stuff already?
Have you looked at PEAR? It comes with the PHP distribution and has quite a few foundation-like classes, including PEAR DB, a database abstraction layer. If you build PHP from source it gets installed in /usr/local/lib/php (assuming you're on a unix variant). Documentation is at http://pear.php.net Also take a look at Horde. Horde is a suite of PHP applications, including a popular web-based mail client called Imp and a really nifty web-based CVS browser called Chora. But Horde is also a group of common libraries that handle a lot of base things like retrieving form data and storing user preferences in a OO-way. I just recently started looking at it because I wanted to use Chora, but I'm having fun just looking through their base classes to see how they implemented things. It looks like really clean, nicely separated code, and I personally plan to learn a lot from looking through it. http://www.horde.org You can browse their source code directly from: http://cvs.horde.org HTH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php