Scott Hurring » Code » PHP » Peanut Library

Download Code
download
peanut_v0.7.0.tgz
v0.7.0 beta · Sep 13, 2006
(browse code)

Description

Peanut is a collection of objects for PHP5 web development. It's not a 'framework' because it doesn't force you to organize or code in any specific way.

(This current revision is coded against PHP5, and it uses many of 5's features, so unfortunately it won't work with PHP4).

This code is still under active development. I've been using it myself - over various revisions - for years now, and i believe it's pretty solid, but it's definitely not guaranteed or anything... YMMV.

I'm a fan of the Dont Repeat Yourself principle. I've tried to keep things simple and unobtrusive. I've tried to keep the configuration and "housekeeping" junk to a minimum.

So yeah, anyway, this is the most current revision of a library that i started putting together when i first started programming in PHP (with version 3) because i quickly noticed how frequently i was doing certain things and it would make a whole lot of sense to put those things into a library that could be shared between projects (instead of copy/pasted piecemeal, which i hate doing). When i did look around for frameworks, i didn't see any i liked, because it was before PHP really took off in popularity.

Suffice to say, the code has come through some major revisions since my PHP3 days... but the spirit is still the same... a lightweight library to save me work.

If you find any use for this code, let me know.

Please check out Install.rtf