The digest of interesting news and materials from the world of PHP for the last two weeks, No. 28 (October 6—20, 2013)
We bring to your attention another collection with links to news and materials.
Enjoy reading! ')
News and Releases
Apigility - At the recent ZendCon conference, Apigility was introduced, which allows you to instantly create applications that implement the REST API on Zend Framework 2. They also promise integration with Zephir, which will allow users to improve the performance of APIs created using Apigility. Video demo is available. and also a couple of posts with first impressions and comments: Exploring Apigility , Testing Apigility .
PHP 5.5.5 - Update of the last interpreter branch is presented. In addition to a number of fixes, the release also includes an OPCache update: the opcache_compile_file function has been added , which allows you to load a file into the cache without performing it directly.
PHP support in Google App Engine! - In May of this year, Google App / PHP support was announced on Google I / O, and now this feature is available to all users without restrictions.
HHVM 2.2.0 - The new version of the virtual machine for PHP from Facebook. HHVM is now available in packages for popular Linux distributions. In addition, the release includes a lot of changes and boasts support for most of the popular PHP frameworks.
Codeception 1.7 - A fresh release of a great testing tool with a WebDriver module on board.
Php
PSR-2 and CodeSniffer - a success story - Now it is possible to add amendments and clarifications to PSR standards. And the first amendment for PSR-2 has already been made. In a post about where this idea came from, how the decision was made and what it gave.
RFC: Expectations - Offer to replace the current implementation of assert () with the improved implementation - expect.
By the way, the proposal on anonymous classes was rejected , and on the nested ones - it has been withdrawn.
Deploying repositories to services on Symfony2 - A note on how to implement a separate repository instead of the entire EntityManager, you can make the application code on Symfony2 + Doctrine better.
Auto-completion of a set of parameters - In the case when the function takes a set of parameters, it is convenient to combine them into an array, but then prompts from the IDE are lost. As a solution, the author suggests using chains of methods.
Sharding with MySQL Fabric - A small tutorial on using the recently released MySQL Fabric tool to implement sharding in your PHP application. Read more about MySQL Fabric here .
OAuth Middleware for Slim - An example implementation of a middleware component for the Slim framework.
About ContainerAware - “ContainerAware is a new singleton” - the author writes. He considers the implementation of the DI container and, in particular, the use of the ContainerAware interface in Symfony 2, a bad practice and presents arguments in support of his opinion.
Personal Maps - A large series of articles that describe the entire cycle of creating a full-fledged web application from scratch. Used by Yii Framework and Angular JS.
Laracon EU 2013 - Video recordings of reports from a conference dedicated to the Laravel framework held in Amsterdam.
ZendCon 2013 - In the first half of October, the largest PHP conference was held. Available slides 56 reports , video as well as a report from one of the participants.
PHPNW 2013 - Slides 31 presentations from the conference held in Manchester.
PHP Frameworks Day - Available materials and videos reports from the conference held in Kiev. There are also reports from participants here , here and here .
Interesting
Interview with the creators of PHPWomen - Not so long ago, an exclusively female PHP user group was created - PHPWomen . Under the link interviews with creators, as well as comments from men.