Re: the changeover to mysqli [message #182945 is a reply to message #182944] |
Thu, 26 September 2013 19:41 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 9/26/2013 2:59 PM, Christoph Michael Becker wrote:
> Jerry Stuckle wrote:
>
>> On 9/25/2013 5:58 PM, Christoph Michael Becker wrote:
>>> Tim Streater wrote:
>>>
>>>> In article <1cun3xxz7nbpj(dot)zop5ye5ou0f7$(dot)dlg(at)40tude(dot)net>,
>>>> richard <noreply(at)example(dot)com> wrote:
>>>>
>>>> > Let's face it, html has deprecated a ton of things which are still in
>>>> > use.
>>>> > Why? because a hoard of people refuse to upgrade their systems.
>>>>
>>>> You mean, update their web pages. Fat chance of that happening. And
>>>> because browsers still support almost everything that was ever
>>>> introduced, bar a couple of minor things, I see no reason, by and large,
>>>> to do so either. I just use the HTML5 doctype to ensure standards mode.
>>>
>>> And that is exactly the reason, why those deprecated features won't be
>>> removed--because it would break too many existing sites. If there were
>>> less websites relying on obsolete features, the browser's could be
>>> purged, which would be beneficial to ease further development.
>>>
>>> The situation is similar with regard to the original MySQL extension.
>>> Cf. <https://wiki.php.net/rfc/mysql_deprecation>.
>>>
>>
>> No, they WILL BE removed.
>
> I didn't want to say that the mysql extension will not be removed, but
> rather that the process of deprecating it apparently was not so easy,
> just because many websites/programs are still using the extension, even
> if its use has been discouraged (long?) before PHP 5.5.
>
>> There has been plenty of time for people to
>> move to the new interface(s). Smart programmers have done so.
>
> Agreed.
>
It always takes a long time to remove something which has been used for
years - no matter what the product/language/OS/whatever. I think ZEND
has been very proactive in warning people about it going away, and will
continue to do so for a while to come before it is actually removed.
Unfortunately, there will still be a lot of sites (especially CMS's)
where the webmaster is not a programmer, and so won't see the message
until it's too late. Sure, the CMS's can change their code to not use
(or give the option to use) mysql_(), but many of those same webmasters
don't update their sites because they don't see a need to.
So you can bet that eventually many sites will break - just like they
did when PHP changed the default for register_globals, changed session
variable handling and any number of other changes - despite the fact
these had been deprecated for years before being removed.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|