Phalcon 2.0 - the future - The development team, due to the rapidly growing popularity of the framework, foresees possible difficulties. In the future, timely support and implementation of new features may become a problem, and the assistance of third-party contributors is limited due to the complexity of the C language in which the framework is written. That is why it was decided to develop its own language, a cross between PHP and C. Meet the Zephir! The language supports both static and dynamic typing, all code must be in classes, the use of namespaces is mandatory, the $ sign in the name of variables is not needed. Read more in the post on the link. You can also take a look at the Zephir routing component implementation code . By the way, if you haven’t felt Phalcon yet, but you want to try, it’s very easy to do. Just install VirtualBox, Vagrant and clone the Vagrant-Phalcon repository, and then launch Vagrant.
Version 0.4.0 of Go!AOP - A wonderful library has been updated that implements the concept of aspect-oriented programming in PHP. Among the innovations, for example, the ability to intercept system functions like fopen , array_keys and any others.
Do not worry about BREACH - At the most recent Black Hat conference, information about a new type of attack, BREACH, was made public. This gave rise to a whole wave ofposts and discussions. The link post from Anthony Ferrara, which describes the essence of the problem and how to protect. The author also urges not to panic and focus on protection against XSS and SQL injections - much more likely ways of hacking.
The release of phpDocumentor 2.0.0 (and immediately 2.0.1 ) took place. The most popular tool for automatic generation of documentation for PHP has been updated.
Php
What's New in PHP 5.5 - Another good overview of the innovations of the latest version of the interpreter.
RFC: Constructor argument promotion - A proposal from one of the developers of HipHop VM from Facebook, the essence of which is quite simple: it is proposed for the arguments passed to the class constructor to automatically create the corresponding class properties and assign the values passed to them.
First steps on HHVM - In his previous post, the author made a review of HHVM, and this time he starts working with this tool. In the post instructions for installing a virtual machine using Vagrant, installing all the necessary dependencies and directly compiling HHVM.
A simple tool for testing PHP applications - The author of habrapos implemented CSTester - a really simple testing tool, which, nevertheless, can be very useful if you need to test small applications.
Data Structures for PHP Developers: Columns - Continuation of a series of posts about data structures. Basic information about the graphs, examples of the use and implementation of Dijkstra's PHP algorithm for finding the shortest path.
Stateless CSRF Tokens - Usually it is customary to store CSRF tokens in a session, but there may be situations when this is difficult. In such cases, you can apply the approaches described by the author.
Create a simple chat using HTML5 WebSocket and PHP - Post, though not the last two weeks, but interesting. Demonstrates a new feature from HTML5, an example code is attached. To implement something more complicated, you should pay attention to Ratchet .
Generators in PHP - A post on how to work and when to use generators from PHP 5.5.
The history of the Laravel - Laravel 1 framework appeared in mid-2011, and this year it has already grown to version 4. In a post about how the framework developed.
Multithreading in PHP with pthreads - Recently, the pthreads tool is often mentioned, the crucial issue of multithreading in PHP. But the author of the tool notices that the people writing about him are not very well versed in issues of multithreading and concurrency, therefore, with his post on Reddit, he decided to bring some clarity.
The August issue of the Web & PHP magazine - As always in the recent issue of several interesting articles on the topic of PHP and web programming, for example, a review ofToroPHP - a minimalistic router for developing RESTful applications and APIs.
Message Queues, AMQP, RabbitMQ - The article deals with simple message queues based on the database, AMQP standard and RabbitMQ queue management system.
DDD using Symfony2 - This post describes the directory structure used by the author, as well as the Code First approach in comparison with the classic Database First, as an example of creating a small REST-application on Symfony in the concept of problem-oriented design .
An example of image segmentation using PHP - Another good habrapost with a detailed description of the solution of a specific PHP task. In automatic mode, it is proposed to divide the image into logical fragments.
In search of the most popular programming language - An interesting post with an overview of various ratings and techniques for assessing the popularity of programming languages. The forecast for 2013-2014 is also given.