📜 ⬆️ ⬇️

The best in the world of PHP for 2012 and the digest of interesting materials for the last two weeks №7 (12/15/2012 - 12/28/2012)



Following the tradition, we decided to take stock of the outgoing year and highlight the most significant events in the PHP world, which, fortunately, were many. And, of course, a selection with links to fresh materials.

Enjoy reading!

')

Results of 2012


PHP 5.4

Of course, the most important news in the world of PHP for 2012 was the long-awaited release of a new major version. Almost 3 years have passed since the release of version 5.3, however, the new version has not become revolutionary, and most of the changes in PHP 5.4.x will not affect the existing code. There are several incompatibilities and a number of new features , among which are traits , an embedded web server, a new syntax of arrays, and others. Also especially pleased developers significantly increased performance .
In addition, the news that PHP 5.5 will be released in 2013, and the alpha version has already been released earlier this year ( what to expect from a future release).

Zend Framework 2

Another long-awaited release of the year. Zend Framework 2 is a completely new framework, incompatible with Zend Framework 1. Of course, more than 5 years have passed since the release of ZF 1.0.0! And to refuse the load of backward compatibility was undoubtedly the right decision.
Getting started with ZF2 is recommended by reading the corresponding wiki page. Also be sure to familiarize yourself with the design patterns used in ZF2 . There is a good selection of materials on ZF2 here and here . For those who want to take part in the development of ZF2, an excellent detailed post has been written.

Yii Framework

The main event of the outgoing year in the Yii community could be the announcement of the release date of Yii2, or, for example, a public beta, but neither the first nor the second happened. Nevertheless, the number of users of the framework is growing incredibly fast, and the community and the core team have done a lot of work over the year.
Issued 3 large updates , the project code was ported to GitHub . The first conference dedicated to Yii was held in Kiev, and new books on Yii were published.
And, of course, the good news that the support period for Yii 1.1 has been extended, and the current version will not be supported until the end of this year, as planned, but by the end of 2015.

PSR-1 and PSR-2 standards adopted

A long time ago (in 2009) in a distant galaxy (in Chicago), a group of PHP developers gathered at php | tek conference started a discussion about what to do to make work with their projects better, and for users to make a choice of a solution for their tasks easier. This is how the PHP Framework Interoperability Group , known as PHP-FIG, was formed. And the first result of the group’s work was the publication of the PSR-0 standard, which governs the naming of classes, files, namespaces, directory structure.
And after a long discussion in early 2012, two new standards were adopted at once:
PSR-1 and PSR-2 , both related to code formatting.
A new standard PSR-3 about logging interfaces is on the way. Also, anyone can participate in the discussion and offer their ideas here .

Phalcon

Appearing at the beginning of the year, this framework immediately attracted attention because it was developed as an extension for PHP. By the end of 2012, Phalcon had already reached version 0.8 . In addition to the highest performance, even compared to micro-frameworks , Phalcon impresses with excellent documentation , the presence of detailed tutorials and even an example of the whole application .

Composer

This year can rightly be called the year Composer! And although this wonderful PHP dependency management tool appeared in 2011, it experienced a real boom this year. The number of posts, articles and materials just rolls over: 1 , 2 , 3 , 4 . Of course, the rise in the overall prevalence of this tool was a huge step for the entire PHP community.

Php



Study materials




Link to the previous release.
Material prepared dbritan , nesttor and pronskiy

Congratulations to all the upcoming New Year! See you in 2013!

Source: https://habr.com/ru/post/164295/


All Articles