Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53976 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4624 invoked from network); 16 Jul 2011 05:15:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jul 2011 05:15:59 -0000 Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 209.85.210.170 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:60902] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6F/C2-05656-E8E112E4 for ; Sat, 16 Jul 2011 01:15:59 -0400 Received: by iym1 with SMTP id 1so1853240iym.29 for ; Fri, 15 Jul 2011 22:15:56 -0700 (PDT) Received: by 10.42.23.200 with SMTP id t8mr4526034icb.198.1310793356014; Fri, 15 Jul 2011 22:15:56 -0700 (PDT) Received: from [192.168.1.11] (c-174-61-179-13.hsd1.wa.comcast.net [174.61.179.13]) by mx.google.com with ESMTPS id y3sm1305173ibc.54.2011.07.15.22.15.54 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 15 Jul 2011 22:15:54 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii In-Reply-To: <1310735398.2800.59.camel@guybrush> Date: Fri, 15 Jul 2011 22:15:52 -0700 Cc: Reindl Harald , internals@lists.php.net Content-Transfer-Encoding: quoted-printable Message-ID: <4058F0C7-167E-4600-BBCA-0541E1080EB4@roshambo.org> References: <9F1FA580-FD3F-4C3F-9E26-51A095CF6EE9@roshambo.org> <1310733992.2800.57.camel@guybrush> <4E2038EE.7060600@thelounge.net> <1310735398.2800.59.camel@guybrush> To: =?iso-8859-1?Q?Johannes_Schl=FCter?= X-Mailer: Apple Mail (2.1084) Subject: Re: [PHP-DEV] deprecating ext/mysql From: philip@roshambo.org (Philip Olson) Hola friends, Nice feedback so far, and the PHP documentation will begin implementing=20= the ideas presented here, and focus on mysqli but also recommend = pdo_mysql.=20 Therefore, the ext/mysql documentation will be improved to strongly=20 recommend the preferred alternatives that have existed since PHP 5.0.0.=20= We'll work on the finer details but it feels like procedural mysqli is a=20= better fit to live alongside the ext/mysql examples, although we don't = want=20 to confuse people. Maybe geeks here have ideas regarding this, but a = clear useful clutter-free solution will be worked out, which may include = adjusting the CSS and involve creative linking. I'll add an example or three = soonish. However, there has been some confusion within the PHP community, so to = help=20 ease these concerns: - This proposal only deals with documentation/education... so it can be=20= described as an official 'soft deprecation' (no errors or code = changes) - When (if?) this extension emits errors, or is removed, is not part of this proposal - There is a 100% chance that additional tasks and ideas will be = discussed=20 in the future, which might include: - A conversion tool/guide - A wrapper - A PECL extension - Talking to distros/hosters and apps like wordpress - ... - php.net understands that ext/mysql is popular, and we're handling = this=20 with extra care and heck, parts of *.php.net is powered by ext/mysql - Seriously, no need to panic We'll document the reasons why the other MySQL extensions are preferred, = but=20 if people want to use the old ext/mysql API with PHP 9.0.0 (just an = example) then I'm guessing an old geek out there will make that possible. We, = however,=20 will do our best to convince users to move towards the preferred and=20 supported methods, and hopefully write better code along the way because honestly, that's the ultimate goal here. Regards, Philip