A revolutionary PHP database accessing method

I knew there were object oriented approaches to making database calls, but I never sunk into learning any of them yet, as kickin’ it old-school and just issuing DB queries directly was just fast and I didn’t have to relearn anything. Well now I have discovered an improved method that after just reading the introduction and a few examples I whole-heartily support this method and I will start using it for my next DB tied project.

What is this new method you might ask? It is called “PDO” which stands for “PHP Data Objects”, this nice abstraction layer supports transaction calls, persistent DB connections, various types of automatic caching, etc…

If you were like me and just use straight up DB calls, I would strongly consider changing your ways! It is extremely easy and arguably even easier, more secure, and safer than that mundane method of the past.