Jump to content

Best Practice for SQL Queries Location?


random1

Recommended Posts

A lot of it has to do with personal preference.  I tend to not like using classes/objects because I feel it adds an additional layer of processing that's not really needed.  However, the advantage to using global classes or functions is that you can instantly, globally change the behavior of how your functions work without having to go everywhere to make changes.  A good example of this would be for error handling purposes.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.