Back to the blog
Recent Posts
-
Oct 17
How do you mockup websites?
-
Oct 09
Something's not right with Android's UI
-
Oct 06
My lance is free
-
May 18
A short story about usability
-
Apr 20
Twitter as social computer
-
Apr 03
techAU troubles - techAU.tv complains, new domain is born
Most Popular Posts
-
Why you should be using a framework
-
Perhaps the world doesn't need another framework
-
Rewriting URLs with Apache's mod_rewrite and PHP
-
Five easy things that make you a better web developer
About the Blog

I'm a web designer and web application developer in Melbourne, Australia. If you find anything useful, leave me a comment, and if you need web design, development, or accessibility and usability consulting, contact me! Cheers.
Twitter: joshsharp
Quick Poll: Do you abstract your DB functions?
Sunday 28 Oct, 2007 10:23 PM
This one has always had me wondering how everyone else did it, so I figured what better way to find out than to put up a quick poll.
So it's fairly straightforward: in your code, do you have a database wrapper class with abstracted functions like query(), or do you call mysql_query() (or equivalent) directly from your code?
Leave a comment below if you're outraged that I even had to ask.
Comments
Josh said on 31 Oct 2007:
Wow, very close so far. I guess it really depends on the scale of your app...
Tristan said on 03 Nov 2007:
I write massive apps and my wrappers are thick and throbbing. But seriously who can go past a good set of wrapper functions
David Novakovic said on 07 Nov 2007:
I use an ORM, SQLAlchemy, it's great :)
