Hi,
With the entire Mysql library being deprecated as of php 5.5 i am curious if Oxwall has plans in place to convert to the MySQLi library.
Thanks.
Hi,
With the entire Mysql library being deprecated as of php 5.5 i am curious if Oxwall has plans in place to convert to the MySQLi library.
Thanks.
Yeah im asking now because i have to do my own scripts as well, 2 of the 4 i have written i have converted, its not so bad.
Probably the most important thing to remember is that most everything now in MySQLi must have a connection attribute, all those functions you used without using the connection attritube to lets say sanatize with real escape string. Not any more, now you have to include the connection, and that goes for so many things that we never had to worry about before. I had so many functions that i had to add the connection clause to, to save myself alot of work just so that it would have that value loaded.
So thats probably the hardest part to get used to, i remember having to do silly things to force myself to remember to put the connection attribute as i went because i would get so far in coding and then realize what i did not do, and have to go back and go thru it again. So a huge post it note in my face, a string on my finger seemed to do the trick after the second time that happened.
I started with my smaller scripts first to get acclimated to it. Its actually a positive because one of my smaller scripts during the converstion i removed some older files i did not need anymore because i used a better process now. And that script went from 1700 files to 40 files. And the script looked nicer and ran better than ever before. Yeah pretty crazy, i had some javascript plugins that were old and outdated and that took the bulk of it.
I still have two large scripts left, and i am really honestly dreading the conversion on those. One is 750 files and the largest one is 3400 files (6 templates). The 750 is not horrible because when i did it i used a sql class so most of the queries are in two class files. But there are still quite a few left over in the other php files that i had not converted yet.
The monster is the 3400 file script, it has queries all over the place, in just about every file. So that structrue is going to kick my butt... and drive me nuts...
As we all know by the time you convert things, test them, fix them, test them again and prepare for the official beta or stable release, two or three years go by fast in this business and so im guessing in about 2 years many hosting companies (including mine) will be on php 5.5 or really close to it.
They say this time they are not messing around and trying to slowly grandfather people in, the word i hear is that when its ready to go they will push people to upgrade their scripts. I hear they dont want to play the game of the past and keep being passive and having to support old outdated code.. At least thats what they say, is it fact who knows, but i know that i sure dont want to be behind the 8-ball on this one.
Can you imagine all the support calls that are going to come in when this happens.. Its hard to believe that there are still developers that do not know this is going to happen.. its the first they have heard of it.
Enough rambling... Yeah i hope oxwall does it and gets it over with ahead of the pack.