|
I'm writing another small PHP script to amuse myself, and this time I'd like to move away from having SQL sitting in my code. Are there any articles on how to go about this? I'm not looking for a full blown framework as that's just overkill for this but a simple DB class or something would be nice. Frameworks are a few projects down the track...
|
# ¿ Apr 10, 2008 06:57 |
|
|
# ¿ May 5, 2024 21:46 |
|
fletcher posted:I don't really understand what that helps with. Isn't it more beneficial to just learn/practice SQL? I already know SQL. I'd like to move away from having SQL statements littered all throughout my projects where it's hard coded in. Which leads to maintaining multiple versions because my home system runs MySQL and my sever runs PostgreSQL and for added fun a friend uses my scripts and he's got Oracle. So, it's getting to the point where I need database abstraction. I'll have a look at this ORM stuff.
|
# ¿ Apr 10, 2008 07:49 |