Mark Berube - 2011-07-15 17:11:21
Even though a mysql result can be obtained from a small amount of code, I am starting to use my OWN function which calls the extension, and then call THAT function throughout (which carries the added benefit of getting a result array with only one line of code)...that way upon deprecation it can be updated locally. Having said that, I understand not EVERY deprecation can be anticipated and I dont think 'deprecation preparation' is taught in too many programming classes, making it difficult even when you try....but in the case of data access, I may have to move that program to another server where using ODBC is more readily available, so again a single function or class for result sets helps prepare for this...
My two cents: Sometimes deprecation of open source does more harm than good. There are many good programs without the support or activity to update a program upon deprecation....the end result: some tries to use a free or open program, gets a bunch of errors, and leaves with the remarks of "Ah! Free! ...you get what you pay for!"