oriented interface

Handling SQL Errors in PDO - Lorna Mitchell

Planet PHP  Wed, 11/16/2011 - 03:45

I love PHP's PDO (PHP Data Objects) extension; it gives a consistent, object-oriented interface to handling all kinds of relational database backends.

One thing that annoys me is that the MySQL driver for PDO defaults to a silent error mode which can make SQL errors tricky to spot!

To give you an example, consider the query below (the correct tablename is country, so this SQL will fail):


 

Touchscreen dilemma: Will they cause a viral epidemic?

Extremetech  Mon, 09/19/2011 - 15:23

Earlier this week, as I fondled my Windows 8 Samsung tablet and tried to make a hands-on video, I cursed often and loudly at the smudged and greasy screen.

Underneath those gray smears a beautiful super AMOLED screen was simply gagging to be seen.


 

Windows 8: The 21st century Windows Me

Extremetech  Tue, 09/13/2011 - 17:35

Windows 8 is a mobile- and touch-first OS.

There might be only 30 million tablets in the hands of consumers — compared to 500 million smartphones and billions of PCs — and tablet computing might be the most nascent and unproven market in existence, but who cares: Microsoft has made the executive decision that a tablet-oriented interface should be the primary focus for Windows 8; end of discussion.


 

Sameer Borate's Blog: Search & replace in files using php

PHPDeveloper.org  Tue, 05/12/2009 - 08:30

On his blog today Sameer Borate has posted a quick tutorial on how to use a PEAR package to do search and replace on your files from inside of PHP.