paulirish / w3fools

https://www.w3fools.com/
152 stars 42 forks source link

MySQL extension now offically deprecated! #29

Closed jacobbednarz closed 11 years ago

jacobbednarz commented 13 years ago

Read it and rejoice - http://news.php.net/php.internals/53799

As of Jul 10 2011, the PHP internals team have finally decided it is time to let this one die (only 6 years late :p). They are recommending MySQLi or PDO as an alternative and in an endeavour to write code for the future, I would be solely pushing the use of PDO as it focuses more on OOP and makes it more difficult to write bad code which is what we need more of in the development community. The deprecation is expected to take effect after the 5.4 branch however getting onto the PDO band-wagon should be a sooner rather then later.

As usual, w3schools is still utilising the mysql extension and displaying it throughout their examples. Shame on you w3schools.

Kwpolska commented 13 years ago

Many people are still using this piece of crap. And you said 2010 instead of 2011.

Not yet anyway, because it's too popular to do that now.

jacobbednarz commented 13 years ago

Ah, nice find will be sure to update that.

Hopefully people get off the MySQL extension and onto PDO as it's advantages fair outweigh it's diadvantages. The world would be one function library better off without this around.

Garbee commented 11 years ago

We have decided to not handle server-side technology in W3fools.