12-11-2007, 03:44 PM
|
#2 (permalink)
|
|
The Reckoner
Join Date: Sep 2007
Posts: 437
Thanks: 22
|
It's a nice start, you may want to do some research into the Table Data Gateway and Row Data Gateway patterns as these provide a really flexible solution to this problem.
If you are looking for a pre-built solution, [url=http://framework.zend.com/]Zend Framework[/a] provides a set of related classes to facilitate a SQL database interface.
__________________
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
|
|
|
|