Re: Thoughts on the PHP.net website

From: Date: Fri, 24 Oct 2014 19:02:55 +0000
Subject: Re: Thoughts on the PHP.net website
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-78314@lists.php.net to get a copy of this message
> On 24 Oct 2014, at 19:52, Daniel Ribeiro <drgomesp@gmail.com> wrote: > > You all know the http://php.net website and it's source > code > <https://github.com/php/web-php>. It comes to my > attention that this source > code is pretty much a very good example of how *not *to build websites in > PHP — 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 — of course, if needed, we can discuss this in more detail later. > > 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’s one rule in refactoring, it’s 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/

« previous php.internals (#78314) next »