Databasic v2.3.2

A basic wrapper class for the MySQL database engine. Contains methods for connecting to a database, fetching and returning results, building insert and update queries, optimization and more.

Blog entries for January 2009

It's now time for some PHP that isn't Cake related. This is the first part in a series of "Basic/Common PHP functions that all programmers should know". This series has to deal with manipulating strings. I try to make my functions short, sweet and powerful, and I hope you learn something from them. Has functions for truncate(), shorten(), obfuscate(), slugify() and listing(). Continue reading...
I thought it would be time for something, non web related. My quick and simple review of the 3rd installment to the Underworld series. Contains plot spoilers. Continue reading...
So I never worked much with named parameters before in CakePHP, but recently I needed a way to filter data. It seemed passing many arguments to the action wasn't the best or correct approach. So I went off and wrote my own method to grab the value of named parameters. Continue reading...
Below I will quickly and easily show you how to enable Apache's mod_rewrite in XAMPP Windows. If you are unclear on what mod_rewrite is, it basically takes a long query string url and shortens it to be SEO and user friendly. Now if you are also a CakePHP user, having mod_rewrite enabled is the best course of action. But it seems that mod_rewrite is not enabled with the initial install of XAMPP. Do not worry, it's extremely easy to enable the module, and here's how it's done. Continue reading...
It seems the good ole developers over at CakePHP have released an update to their 1.2 Final version, a now 1.2 Stable. As always I enjoy and appreciate how quickly the Cake team fixes, rewrites and optimizes the Cake engine. Continue reading...
When a form is submitted in CakePHP, any errors that fail the model validation are displayed after each respective input field. But if you're like me and really dislike that structure and output, and would rather have your errors displayed in a list above the form, then this is how you do it. Continue reading...
Its a new year (2009 to be exact) and a new beginning. Lets all make our resolutions and stick with them to the end. Happy new years! Continue reading...