kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] dw_dev 2010-08-01 01:21 pm (UTC)

I think this sort of abstraction is only worth the extra development time if you need to support different database formats within the same application. If we were ever to try to move away from MySQL, we would probably want to look into this.

That said, I have been doing some work recently to make sure our SQL statements are packaged in subroutines. There are some places in the legacy LJ stuff where it's embedded directly into BML files, and that makes me cringe.

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org