The digest of interesting news and materials from the world of PHP No. 44 (July 1 - 20, 2014)
We offer to your attention another selection with links to news and materials.
Enjoy reading! ')
News and Releases
10 years of PHP 5.0.0 - July 13, 2004 saw the release of the PHP 5.0 interpreter. In the post on the link a brief history of PHP and tamlayn with the main events of the era.
0xDBE: First Look - JetBrains has announced a new product, 0xDBE, for working with databases and queries. The tool is available as part of a closed early access program after filing the application. In the post on the link you can find an overview of the capabilities of the tool.
WordPress 4.0 Beta 1 and Beta 2 - Someone was expecting a significant update of the code and architecture in the release, but this did not happen. Nevertheless, WordPress 4.0 will please a number of new features. Also an interesting post , about the tendency of increasing the share of JavaScript-code in WP.
Pickle - The first stable release of the PECL Extensions Manager, which is compatible with Composer, and may be included in the standard PHP distribution.
Deployer Big Update - A simple and convenient PHP tool for deploying applications, Deployer received a number of new features, an updated website and documentation.
SensioLabsProfiler - Launched a closed beta test of the PHP profiler from the creators of symfony.
Php
RFC: Uniform Variable Syntax - The proposal from Nikita Popov, which involves the introduction of a single syntax of variables and calls in PHP, was adopted almost unanimously and will be included in PHP 5 ++. The only person who voted against was Xdebug author Derick Rethans, who outlined his point of view in a post .
RFC: Name for the next PHP release - Php.internals actively resumed the discussion of choosing a number for PHP 5 ++. So is it PHP 6 or PHP 7?
RFC: intdiv () - Offer to implement the possibility of integer division in PHP: var_dump(3 %% 2); // int(1)var_dump(3 %% 2); // int(1)
Benchmarking PHPNG! - An interesting post from Zeev Suraski, in which he compares PHPNG and HHVM, as well as classic PHP in work on popular PHP projects, including a separate post Magento . In a series of tests, PHPNG bypasses HHVM. However, alternative tests from HHVM developers show slightly different results. However, PHPNG's productivity is growing - already twice as high as PHP 5.6 and slowly catching up with HHVM.
Instruments
Spork - Library for easy creation of forks PHP-processes.
Pilog - A simple logger implemented according to PSR-3 and PSR-4 standards.
Phake - Not the Phake , which is a mocking framework, but one that is a task manager and a clone of a rubish Rake . Tutorial and usage examples here .
vfs.php - Virtual file system implemented as a wrapper object for the data stream.
Purse - PHP-framework for the creation of which the author was inspired by the popular Ruby-tool Sinatra.
yo-php - PHP client for the revolutionary Yo messenger.
Phystrix - A library for solving the problem of fault tolerance of distributed systems. Port of the popular Java tool Hystrix . Post with a description .
Cronos - A library for creating and managing cron tasks from PHP.
Pagination for real-time data - For frequently updated data, it is inappropriate to use the classic limit-offset pagination, since when switching pages you will see already viewed records. In a post the decision on the basis of use of the cursor is considered.