2011年2月28日星期一

Community News: Latest PEAR Releases for 02.28.2011

Latest PEAR Releases:

PHPClasses.org: Lately in PHP Podcast Episode 9 - PHP's Popularity & the Innovation Award


PHPClasses.org has release their latest episode of their "Lately in PHP" podcast today highlighting an opinion that PHP is losing popularity to other languages like C# and Python.



[Manuel Lemos, Ernani Joppert and Rochak Chauhan] also discuss the latest developments of the TIOBE programming languages ranking. The latest numbers seem to suggest that languages like Python and C# are gaining popularity supposedly at the expense of an apparent loss of interest on PHP.


The ranking their referring to can be found here. You can listen to this new episode either through their in-page player or by downloading the mp3 directly. There's also the complete transcript if you'd like a text-only version.

2011年2月25日星期五

Michael Nitschinger's Blog: Understanding the Lithium Router - Part 2


In his latest post Michael Nitschinger extends his first look at the Lithium framework's routing system with part two of his series - creating some unit and integration tests to help you understand how the various parts work.



Routes play an essential role in your request/response-cycle and therefore should also be tested like any other component that you develop. As the Lithium routing infrastructure also consists of classes and methods, we can run unit and integration tests against them.


Some of the tests include checking for basic request to controller mapping, testing with an ID in the request, using the export() method and testing various routing to ensure that the output is correct (the integration tests).