Open superthin opened 1 year ago
Its up to you. Both of them is the best and written in OOP style. MySQLi has been implemented before SLiMS 9 Bulian, so its legacy feature. Yeah maybe PDO will be replacing MySQLi in future.
maybe you like this article : https://slims-web-id.translate.goog/docs/development-guide/Database/Intro/?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp
It seems to SLiMS 9 Bulian are using both PDO and MySQLi? Or an abstraction DB like ADOdb?
Sometimes, I custom some codes for my library and I feel "something wrong", and I had to edit code lines , some cases it looked like PDO, and some case, it looks like MySQLi.
So, I have a question: Should I use PDO or MySQLi? (for compatble in the future when I want to upgrade current SLiMS to a newer version?). SLiMS's developers will support which?