The digest of interesting news and materials from the world of PHP for the last two weeks, No. 27 (September 22 - October 6, 2013)
We bring to your attention another collection with links to news and materials.
By the way, yesterday was exactly one year since the publication of the first PHP digest on Habré. Many thanks to everyone who somehow helped to create digests, thanks to the developers for their wonderful tools, authors for their useful articles, and most importantly, thank you for still reading! ')
News and Releases
Zend PHP 5.5 Certification - Updated certification for Zend PHP developers has become available. New themes have been added and some old ones have been expanded. In addition, Symfony certification from SensioLabs is available.
PHP Frameworks Day 2013 - Let me remind you that on October 12, a PHP conference will be held in Kiev, the special guest of which will be Rasmus Lerdorf personally.
Zephir Blog - Zephir has its own blog, which will regularly publish news and materials.
PSR-4 voting canceled - Results are canceled and voting is temporarily closed until the standard is finalized.
RFC: Automatic Initialization of Properties - A clause to add some syntactic sugar for constructors to automatically assign values to properties: public function __construct($this->x, $this->y, $this->z) {}
RFC: Anonymous Classes - The concept of anonymous classes is well-known and well-tried, but is there a need for them in PHP?
Syngr - A library that attempts to gather a variety of PHP functions into one and provide an object-based approach. For example, $string = new String('hello world'); echo $string->uppercase()->substring(0, 6)->replace(' ', '?')->trim('?');$string = new String('hello world'); echo $string->uppercase()->substring(0, 6)->replace(' ', '?')->trim('?'); And so on.
Eden - A library created for fast prototyping of PHP projects. Allows you to quickly integrate third-party APIs.
OpCacheGUI - A graphical interface for OpCache from PHP 5.5.
Tonic - A library designed to create RESTful web applications.
Functional programming in PHP - Basic concepts of the functional paradigm and their application in PHP. Posts on the topic were already here and here .
Web & PHP magazine for October 2013 - In the latest issue of the magazine several interesting articles on the topic of PHP and web development: Symfony2 CMF, Twig, Sylius, advanced tuning of MySQL queries and others.
DTrace and PHP , 2 , 3 - A series of articles on an Oracle blog about using DTrace with PHP.
Creating a website with Laravel and Recurly , 2 - A good tutorial in two parts on creating a website with the ability to subscribe to various plans and implement regular payments based on the Recurly service. The second part, unfortunately, has not yet been translated.
Collections in PHP - A small tutorial on the implementation of classes of collections in PHP. More interesting implementation was already on Habré .
The file system is slow - The author describes a small experiment and testing the file system to write 1 million lines to a log file on disk and to RAM. The file system is slow, but this is not what PHP developers need to think about first.
PuPHPet and Digital Ocean - Video, which fully demonstrated the process of using PuPHPet and creating instances (droplet) configurations for the recently popular Cloud Hosting Digital Ocean .
Public properties, getters and setters, or magic? - There are different opinions about how to access the properties of classes. The author considers the advantages and disadvantages of using each of the approaches.
Git-hooks - Some examples of using Git hooks, for example, running Composer automatically.
The Myth of Inconsistency Controllers - The author attempts to dispel the myth of the non-testability of controllers and gives advice on how to overcome this problem.
Installing HHVM on Ubuntu - A small installation guide for an alternative PHP implementation from Facebook.
How fast is hiphop php? - And immediately an interesting test, which suddenly showed HHVM lower performance than the original interpreter. The study showed that the fault is the implementation of the function str_getcsv.
CodeIgniter Tutorials - A selection of tutorials on a still popular framework. When will the new owner of the framework be announced?
Review Code - Some tips and recommendations on review code processes.
Responsibility for dependencies - Igor Wiedler writes about why you should not blindly trust third-party libraries and use them at the earliest opportunity.
Fix CSRF vulnerability in PHP applications - CSRF is one of the 10 most exploited web application vulnerabilities according to OWASP . In a post about what is CSRF, recommendations for developing applications protected from CSRF, as well as an overview of useful PHP-tools.
We take PHP seriously (PDF) - Report slides from one of the HHVM developers. The report analyzed the strengths that, whether intentionally or accidentally, made PHP the dominant language in its niche. Facebook's attempts to eliminate the disadvantages of PHP are also highlighted, while preserving the merits.