For those who don’t know, Caffeine PHP is a lite-weight PHP 4 and PHP 5 framework. It’s an open source project and hosted on Google Code.
Caffeine PHP 2.1 has some exciting new features:
Full documentation in PDF eBook
URI Routing
An anchor utility function for easy URL creation
The ability to use functions or classes in a controller (not [...]
PHP Classes. A new programmers night-mare. Don’t worry, we where all there at one point.
Before you start to glaze over, let me just state that PHP Classes aren’t complex if you learn them properly. A lot of the time, new programmers will try to learn inheritance, scope etc. right of the bat. I’d be having [...]
Writing your own classes can be very satisfying. You expand your programming knowledge, provide yourself with a useful tool and learn about object oriented programming all in one.
Today I’m going to show you how to write your own MySQL class in PHP 5. We’ll be using the standard mysql_connect and mysql_query functions to ensure compatibility [...]