Re: What design patterns do you usually use?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux