2012年12月7日星期五

Site News: Popular Posts for the Week of 12.07.2012

Popular posts from PHPDeveloper.org for the past week:

Community News: Packagist Latest Releases for 12.07.2012

Recent releases from the Packagist:

Chris Jones: Adding DTrace Probes to PHP Extensions


In a new post to his site (related to the topic of this previous post) Chris Jones shows you how to setup and use DTrace support in your PHP installation for enhanced debugging abilities.



The powerful DTrace tracing facility has some PHP-specific probes that can be enabled with --enable-dtrace. DTrace for Linux is being created by Oracle and is currently in tech preview. Currently it doesn't support userspace tracing so, in the meantime, Systemtap can be used to monitor the probes implemented in PHP. This was recently outlined in David Soria Parra's post Probing PHP with Systemtap on Linux.


His examples are using the Oracle flavor of linux, but they should work for just about any unix-based system out there. He installs the tool via a yum package and compiles the latest PHP source with the "enable-dtrace" flag. He includes a simple script to connect to an Oracle database and shows the contents of the resulting "functrace.stp". He also shows how he added more "prodbes" (the points DTrace uses to profile) into the OCI8 extension for PHP (steps and source included).

Paul Jones: How Is Aura Better Than (er, Different From ;-) Than Symfony and Zend?


In this new post Paul Jones has reprinted an interview he did with PHP Magazin about the recent 1.0 release of the PHP framework project he is a lead on - the Aura project.



I did an email interview with the folks at PHP Magazin; their German version is here. What follows is our original email exchange in English.


They talked about some of the core principles behind the framework, its origins from the Solar framework, the team's "libraries first, framework second" methods and its push to be a PHP 5.4-focused framework. There's also a bit that compares the framework to two other popular options - Zend Framework and Symfony.

2012年12月6日星期四

Site News: Blast from the Past - One Year Ago in PHP

Here's what was popular in the PHP community one year ago today:

Community News: Packagist Latest Releases for 12.06.2012

Recent releases from the Packagist: