“If you’ve been watching our GitHub wiki, following us on Twitter, or reading the wikitech-l mailing list, you’ve probably known for a while that Wikipedia has been transitioning to HHVM. This has been a long process involving lots of work from many different people, and as of a few weeks ago, all non-cached API and web traffic is being served by HHVM. This blog post from the Wikimedia Foundation contains some details about the switch, as does their page about HHVM.
I spent four weeks in July and August of 2014 working at the Wikimedia Foundation office in San Francisco to help them out with some final migration issues. While the primary goal was to assist in their switch to HHVM, it was also a great opportunity to experience HHVM as our open source contributors see it. I tried to do most of my work on WMF servers, using HHVM from GitHub rather than our internal repository. In addition to the work I did on HHVM itself, I also gave a talk about what the switch to HHVM means for Wikimedia developers…”
“We’ve made it even easier to migrate your PHP, Python, and Perl apps to Openshift. With this latest release, I’m happy to announce that now all your PHP/Python/PERL code can be put in the root directory of your Git repo instead of a PHP/ or WSGI/ directory. To show you just how this works, I’ll start off with PHP…”
“I have created a repository and compiled HHVM (v2 of HPHP) rpm packages. Follow these steps to get started…”
By offering scripts for both compiled and interpreted languages, G-WAN delivers the productivity that has made less efficient frameworks popular for Web development.
Scripts let you test your code by just pressing F5 in the Web browser. With Apache, Lighttpd or Nginx you have to stop the server, recompile and link your C source code modules, and then restart the server – each time you need to edit your code.
G-WAN lets you get the most of both worlds: efficiency and convenience…”
“There’s a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and bad code. This must stop. PHP: The Right Way is an easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative tutorials around the Web.
There is no canonical way to use PHP. However, this website is a humble display of best practices, available options, and good information. It aims to introduce new PHP developers and to rethink seasoned pros with fresh ideas.
This is a living document and will continue to be updated with more helpful information and examples as they become available…”