[nycphp-talk] Database code solutions

Chris Snyder csnyder at
Tue Aug 12 16:57:05 EDT 2003

I'm sure there are some great classes out there for this, but if you've 
already written the code so many times, why not write your own class or 
functions that duplicate what you already do? Even if you are still 
writing out the SQL for each query, you can consolidate a lot of the 
code around it and save an awful lot of time.


Ophir Prusak wrote:

>I'm currently writing some code for a project and I realize that %80 of my
>time is spent on database related code.
>This is bad. At the end of the day, manipulation of data in a database is
>the same more or less for any project. It comes down to "CRUD" (Creation,
>Reading, Updating, Deleting). There must be a better way.

More information about the talk mailing list