The digest of interesting news and materials from the world of PHP No. 41 (May 2014)



    After a short break, the PHP digest is back in business! Your attention is a selection with links to news and materials.

    Enjoy reading!


    News and Releases


    • PHPNG - Developers introduced a new generation PHP interpreter. And it all started with the message of Dmitry Stogov in php.internalshabr and the corresponding branch in the repository. An analysis of the interpreter's work when executing real applications showed that the performance problem lies in the methods of working with memory and organizing the storage of data structures. That is why PHPNG is an optimized Zend Engine that implements new data structures . The refactoring has already allowed to increase productivity by 10-30% in real applications. PHPNG will probably form the basis of PHP 5 ++, but for now this is only the beginning and the project is developing very dynamically.
      More information about PHPNG can be heard firsthand in the author’s report at the upcoming DevConf 2014 conference - “Give your PHP for pumping - PHPNG is the new generation engine”habr .
    • Beta releases of PHP 5.6.0: beta 2 and beta 3 - Updates contain only a set of fixes, which means that the final release remains to be expected very briefly. Nevertheless, another beta and a couple of release candidates are expected, but for now you can see a list of new features or watch a ten-minute video with their demonstration .
    • PHP releases: 5.5.12 , 5.5.13 , 5.4.28 , 5.4.29 - Regular updates of the current branches of the interpreter. They contain a number of fixes, including security issues, such as the PHP-FPM vulnerability , which allows a local user with access to the php-fpm UNIX socket, created by default with 0666 permissions, to execute arbitrary PHP code with the rights of a working FastCGI process pool .
    • New PHP on Heroku - HHVM and Hack support has been added on the most popular Heroku cloud platform.
    • ruBeta version of Mooha - node interface for PHP is available - Last year on Habré there was a post about an interesting project Mooha , which according to the author was supposed to become a visual designer of PHP applications. The test version of the tool is now available to everyone.
    • Apigility 1.0.0 - The first stable release of a tool for automatically creating RESTful applications based on Zend Framework 2.
    • Laravel Forge - At a recent Laracon conference, the author of the Laravel framework introduced the Forge tool, which Taylor himself described as "the PHP instant cooking platform in the cloud of your choice." Forge allows you to deploy an application with Nginx 1.6, PHP 5.5, MySQL / Postgres, Redis, Memcached, Beanstalk in any popular cloud hosting service in a matter of minutes. Available extensions for Forge , tutorials , as well as a series of detailed screencasts on using Forgevideo . For convenience, you have to pay $ 10 per month.
    • Symfony 2.5.0 release - See full changelog here .
    • Laravel 4.2 release - From now on, the framework requires PHP version no lower than 5.4.
    • DevConf 2014 - Let me remind you that in two weeks a large-scale conference on web development will be held in Moscow. The PHP section pleases with interesting reports on phpng, Yii 2, Laravel, AOP, Codeception.


    Php


    • RFC: Caught "call to a member function of a non-object" - Implementation of this sentence will allow to process errors, rather than generate fatal ones, when calling methods on null:$x = null; $x->method();
    • RFC: loop_else - A proposal to add the ability to use an else block in loops, which will be executed if the loop condition is not fulfilled even once, that is, if the loop does not enter the body.


    Instruments


    • Link - A good router for PHP.
    • RequirePHP - Dependency implementation a la RequireJS.
    • Karma - A command line tool for managing environment configurations.
    • BowerPHP - Want to be able to use the Bower dependency manager, but not install node.js? BowerPHP is just made for such cases.
    • Dora - A form generator with a number of useful features.
    • JIT-Fu is a PHP extension providing a JIT interface for libjit-based PHP.
    • Yandex Translate API - Shell for Yandex.Translation
    • Pomander - Another PHP tool for deploying applications.
    • rss-bridge - Feed for sites that don’t have it: Twitter, GoogleSearch, Instagram, Pinterest and others.
    • Monga - A simple and fast abstraction layer for working with MongoDB.
    • glip is a Git library for PHP that allows you to access the repository from PHP even without Git installed.
    • atoum - A simple, modern unit testing framework for PHP.
    • TimeTraveler - The tool allows you to set the current date manually, accordingly change the result of all subsequent calls to the functions of working with the date and time.


    Learning Materials




    Materials from past conferences




    Audio and video




    Entertaining




    Quick Search All Digests
    Previous Issue

    Also popular now: