PHP Digest from Zfort Group (September 29, 2012)
We are happy to introduce the pilot issue of a digest of news from the PHP world. The digest was prepared by Zfort Group development team. Enjoy!
Zend Framework 2.0.2 – This release fixes a problem with the “Router” service that influenced URL generation.
PHPUnit 3.7 – A small set of changes. Reports on the percentage of code covered with tests are redesigned (PHP_CodeCoverage).
A New Class “Locator” Is Presented in Codeception 1.1.4 – The post describes how to combine more than one item for location using both CSS tags and XPath selectors. It also shows how to use the “tabindex” method to simulate the movement through page items using the “Tab” button. And besides, there is a small code example that shows how to determine an element by the value of its “href” attribute.
Ext4Yii 1.1 Is Available – Along with numerous improvements and fixes TreeGrid component is introduced in this version.
Introduction to PHP 5.4.7 – Everything you wanted to know about the new version of PHP is in the slides from Ilia Alshanetsky, author of “php | architect’s Guide to PHP Security” bestseller.
Binary Parsing with PHP – In the post the author tells about unpacking a line “in the style of C” (getting the ASCII value of each character), and shows how this should not be done in PHP using ord. Instead, the author uses the “unpack”, bitwise operators and bindec to work with the actual binary data of a line.
How to Add New (Syntactic) Features to PHP? – Not the most recent, but a very interesting article in which the author tells about the basic principles of work with Zend Engine and how to extend the language with your own adds.
The Reason Why Singleton Is a “Problem” with PHPUnit – An interesting thinking on the problems of components testing with the help of one of the most popular patterns for development – PHPUnit.
Find more interesting news and links in the full version of the digest at PHP Digest From Zfort Group
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)