Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78314 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52350 invoked from network); 24 Oct 2014 19:03:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Oct 2014 19:03:02 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 198.187.29.244 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.244 imap1-3.ox.privateemail.com Received: from [198.187.29.244] ([198.187.29.244:37411] helo=imap1-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 06/50-50727-662AA445 for ; Fri, 24 Oct 2014 15:03:02 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 82AD3B00093; Fri, 24 Oct 2014 15:02:59 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap1.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap1.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id U2NbpbWxoAZx; Fri, 24 Oct 2014 15:02:59 -0400 (EDT) Received: from oa-edu-168-67.wireless.abdn.ac.uk (oa-edu-168-67.wireless.abdn.ac.uk [137.50.168.67]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id AED76B00087; Fri, 24 Oct 2014 15:02:58 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) In-Reply-To: Date: Fri, 24 Oct 2014 20:02:55 +0100 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Daniel Ribeiro X-Mailer: Apple Mail (2.1990.1) Subject: Re: [PHP-DEV] Thoughts on the PHP.net website From: ajf@ajf.me (Andrea Faulds) > On 24 Oct 2014, at 19:52, Daniel Ribeiro wrote: >=20 > You all know the http://php.net website and it's source code > . It comes to my attention that this = source > code is pretty much a very good example of how *not *to build websites = in > PHP =E2=80=94 the source code predates the PHP 3 days, but that's just = one of the > problems. I'm not go further into the details of the problems we = actually > have inside that code, as they are very obvious and the source code = speaks > for itself =E2=80=94 of course, if needed, we can discuss this in more = detail later. >=20 > What I wanted to know from you is: would it be interesting if we = started a > complete rewrite of the website, not only for actually improving it, = but > also for making it serve as a reference for people to see how the PHP > environment has evolved and what are the good practices we use these = days > for building websites? Interesting? Maybe. A good idea? Definitely not. If there=E2=80=99s one rule in refactoring, it=E2=80=99s that you never = do ground-up rewrites of something which works. They always go badly. If = there are problems, you can refactor. There is no need for a rewrite. -- Andrea Faulds http://ajf.me/