Re: What design patterns do you usually use?

From: Date: Wed, 27 Feb 2008 17:10:29 +0000
Subject: Re: What design patterns do you usually use?
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-270333@lists.php.net to get a copy of this message
At 11:21 AM -0500 2/27/08, Jason Pruim wrote:
Procedural code just more sense to me... $this =$that makes more sense then $this -> $that or would it be $that ->$this?
You and me both. Also, this I understand: $query = "SELECT cert FROM cert eval_id = $eval_id"; $result = mysql_query($query) or die('Error, query 1 failed'); But this I have problems with: $db->select("SELECT cert_id FROM cert WHERE eval_id = $eval_id"); $db->readrow(); Sure, I understand that if you want to swap databases (MySQL to whatever) having a abstract layer makes it easier. But, it don't make it easier for me in the short term. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#270333) next »