The digest of interesting news and materials from the world of PHP No. 35 (January 26 - February 9, 2014)
We bring to your attention another collection with links to news and materials.
Enjoy reading!
')
News and Releases
PHP 5.5.9 and PHP 5.4.25 updates - Bug fixes, including PHP 5.5.9, eliminated the vulnerability in the GD extension, which allows to initiate a heap overflow when processing specially designed images through the imagecrop () function.
Phrocco - Generator beautiful and convenient documentation for PHP. Port Docco .
Fractal - The library provides a layer of representation and transformation of complex data that is often found in the RESTful API.
Its Continuous! - Micro app for continuous integration of PHP projects.
Phystrix - A library for solving the problem of fault tolerance of distributed systems. The port of the Hystrix Java library.
Puli - A library that provides access to the files of your PHP project through a single naming system. There is also a plugin for Composer .
Alice - Fixtures generator, which allows to describe data for testing in an easy-to-read and edit form.
Pest - Library PHP client for RESTful web services.
LiipMonitor - Library for monitoring the health of application systems.
ohmy-auth - A library for working with OAuth-services in the style of a flowing interface (call chains) and promises.
Assert - Essentially a data validation library. Post with a description from the author.
Recoil - React's library from author that implements multitasking in PHP using Corutin .
Study materials
We sprinkle images in PHP on the basis of entropy - Fitting the image to the desired size by cutting the sides is a trivial and daily task. Most often, the result is the central part of the image. But what if the main object is not centered? The author proposes a solution in which the most informative part of the image is selected. Under the link post with the description of the idea, the ready decision is implemented in the form of Crop library.
SOAP and PHP in 2014 - Despite the total dominance of REST, SOAP has certain advantages that the author writes about. Also describes the basic principles of using SOAP with examples in PHP.
Arbitrary precision and large numbers in PHP - In PHP, unfortunately, there is no native support for large numbers, unlike, for example, Python, but solutions exist. In the post 3 modules for working with large numbers and arbitrary precision arithmetic in PHP are considered: GMP , BC Math and php-bignumbers . Examples are given: pi counting and RSA encryption, as well as module benchmarks.
Singletons and PHP - about singletons, patterns and antipatterns. The theme is a funny hack from NightTiger , which demonstrates the creation of more than one singleton instance.
Laravel.IO Podcast # 9 - Translation of a podcast in which the creator of Laravel Taylor and other community members discuss the framework, its future and related topics.
Voices of the ElePHPant # 5 podcast - Informal conversation with famous personalities from the PHP community: Sara Golemon (HHVM), Derick Rethan (Xdebug), Illia Alshanetsky, Ben Ramsey.