Zend Developer Zone: Profiling PHP Applications With xdebug
675785
The Zend Developer Zone has posted the theird part of their series (by Stefan Priebsch) about working with XDebug in PHP to profile your applications.   In this week's issue, we will have a look at profiling. Profiling is a feature that seems to be similar to trace logging at first sight. Profiling logs, however, are not meant for human readability, and are not meant to visualize the program's control flow, but provide the data for a statistical analysis of the program run.   He includes an example of the profiling log his XDebug setup is generating and gives the settings you'll need to make a log of your own like php.ini settings to start it up and name it/place it where you want it.    He also talks about the method to get something useful out of the profiling logs - using WinCacheGrind or KCacheGrind to get an overview of what's going on "on the inside" of your application.
188378
Edin Kadribasic has posted some benchmarks he's created from the Zend bench.php tool on the latest build he's created with the new version of Visual Studio from Microsoft.   Here is the comparison of running Zend/bench.php from the PHP source using VC++ 8.0 (Visual Studio 2005) and VC++ 6.0. The test was done on my Lenovo laptop with Celron M 1.6 GHz processor and 1.5 GB ram.   Overall, the differences are pretty minimal, but there are a few places that stand out and have more of a variance than the others (like the 12% difference in the "simplecall" test). Check out the post for the full list of the benchmark results.
767479
Here's what was popular in the PHP community one year ago today:Matthew O'Phinney's Blog: svn:externals (and the Zend Framework)Mark Jaquith's Blog: WordPress 2.0.6: Feedburner issue, and fixJob Posting: Unborn Media Inc Seeks PHP/MySQL Developer (Boston, MA)Zend Developer Zone: Tutorial : Using Zend Framework Without PDONetmag.co.uk: Make your own SoapChristopher Jones' Blog: Duplicate Columns in "2 Day Plus PHP Developer Guide"International PHP Magazine: Poll Question: Which is the Best PHP MVC Framework?William Candillon's Blog: phpAspect alpha 0.1.0 is released!Community News: phpthrowdown Registration OpenZend Developer Zone:  AJAX Chat Part Tutorial 6 : Updating the User ListIBM developerWorks: U2 PDO Driver Tutorial, Parts 1 & 2Stoyan Stefanov's Blog: Reusing an existing database connection with MDB2DevShed: Introducing the Memento PatternNexen.net: PHP statistics for December 2006Sandro Groganz's Blog: Syntax Highlighting & Migrating Permalinks in WordPress
538578
Sebastian Bergmann has posted about a bottle neck in the PHPUnit unit testing software for PHP:   Now that collecting code coverage information is not slow anymore (as of Xdebug 2.0.1), PHPUnit's report generation code (PHPUnit_Util_Report_*) has become a bottleneck.   There are several images included in the post (output of KCachegrind):   generation at revision 1473 generation at revision 1475 generation at 1486 generation at 1488
701606
Following on the heels of these comments from Alexander Netkachev, the Zend Developer Zone has posted the full project plan for the next release of the PHP IDE Zend is working on, version 0.7.   The plan of the 0.7 version is based on the initial SRS which is available here. On top of that SRS many bugs were submitted together with enhancement requests that were/will be included in the 0.7 release. You can find all PHP IDE open bugs here.   The announcement is broken up into three sections - the release deliverables, the release milestones, and the target operating environments - each with plenty of details to show you exactly what the team is working towards.
23151
Here's what was popular in the PHP community one year ago today:PHPClasses.org: File upload progress meter for PHP 4, at last!Zend Developer Zone: Zend Framework Preview Release 0.6.0 AnnouncedIBM developerWorks: Generate Flash movies on the fly with PHPMike Bernat's Blog: Creating a Simple Registration Script using PHPphp|architect: An overview of the CakePHP frameworkPHPBuilder.com: Reading RSS feeds in PHP: Part 2The Bakery Blog: SwiftMailer Component TutorialPHP-GTK Community Site: Merry Christmas (A Holiday Widget)Ben Ramsey's Blog: Installing the Eclipse PHP IDEZend Developer Zone: Zend Studio 5.5 WalkthroughCommunity News: Vancouver PHP Conference 2007Edin Kadribasic's Blog: BenchmarksJSLabs Blog:  phpBB 3...is it worth the wait?Christopher Jones' Blog: Installing Oracle XE on Ubuntu with PHPChris Chabot's Blog: phpSocketDaemon
387178
The Zend Developer Zone has posted the latest episode of their PHP Abstract podcast series with a focus this time on screen scraping (as recorded by Matthew Turland).   Matt has been building PHP applications since 2002. He joined the ranks of PHP-Oracle developers in 2006 when he became a programmer for METHODS Technology Solutions. He contributes to open source projects such as the Zend and Forkr frameworks. [...] We are going to veer off the beaten path today as Matthew talks to us about Screen Scraping.   You can download the mp3 directly or you can  to get this and the most recent episodes.
755892
The Zend Developer Zone has posted the latest podcast in its PHP Abstract series. This time it's hosted by Paul Jones, developer of the Solar framework project, who talks gives an overview of the project and its place in the PHP community.   Today's special guest is Paul M. Jones. Paul is an internationally-recognized expert PHP developer and technical consultant living in Memphis, TN. On his blog, he writes mostly about his software projects, but also touches on management, business, politics, and culture.   You can grab the show directly or subscribe to the feed to get this and more great shows from the podcast (with topics covered like PHP & Java, CodeIgniter, Security and much more)
768564
According to the Zend Developer Zone, the Zend Framework is going to the even more powerful in the future with the inclusion of command line functionality.   So, without further adieu, it is my pleasure to announce that Zend Framework 1.5 will include a robust, powerful, and- yes- 15-minute-demo-enabled command line interface for code generation!   They've set up a default structure (that's "recommended") but doesn't have to be strictly adhered to. They know how most developers have structured their applications and made it accordingly. There's three proposals in the group - the Zend_Console, Zend_Build component and the Zend_Build for Core.
441980
The Zend Developer Zone has released the first podcast of their new series - PHP Abstract. This inaugural edition is an interview with one of digg's more famous PHP developers, Eli White.   PHP Abstract, the new PHP centric podcast is here. Sit back, relax, and let the funky beat wash over you. While you are at it, grab a nugget of information.   You can grab this first show directly from the site or just subscribe to the show's feed to get it and all upcoming episodes.   You can also check out some of Eli's thoughts on his blog about the podcast.
478822
Pierre-Alain Joye has posted an example of one way to use the XDebug software - to debug the symfony framework or any other script (with the help of vim).   Xdebug is one of the best debugger and profiler for php (maybe the only good one in open source :). The only problem is its lack of dedicated client. The only problem is its lack of dedicated client, however there is many plugins for many IDE or editors like Eclipse PDT or weaverslave and even for my favourite editor, Vim.   He quickyl runs through the installation of XDebug in your installation and the script needed to set up the debugging in vim. All that's left is to add the "XDEBUG_SESSION_START=1" flag to the end of your script name and letting the information flow in.
154133
Tony Freixas has posted a new article covering his thoughts on high-performance debugging with PHP5:   In this article, I will show you how to use PHP 5 input filters to support debug, trace and assert statements so that a one-line change disables these statements and restores your script to full production performance.   He makes a custom solution, a simple method for just outputting simple debug statements via his own custom debugging classes - thDebug, theTrace and thAssert. He wraps all of these in a thDebugManager class to make them all play nice together.   With these in place, he moves on to the real key to the debugger, using the input filter extension that comes with PHP5. He makes a thAbstractStreamFilter abstract class to base the filtering on and, using this interface, makes his thDebugFilter class to handle the various debugging outputs. He uses the __autoload functionality to load it correctly into each page that needs it.
22547
Here's what was popular in the PHP community one year ago today:WaxJelly Blog: Simple PHP script using the YouTube API (with pagination)DevShed: Uploading Files and Navigating Directories in PHPPHPit.net: PHP5 Class Basics, Part 1SpinDrop.us: Using Zend Search Lucene in a symfony appCommunity News: PHP Appalachia IRC ChannelZend Developer Zone: Work with XML Data in the Zend FrameworkColdScripts.com: Mapping Framework PopularityWaxJelly Blog: A More Complex PHP script using the YouTube API (with video details) PART 2KillerPHP Blog: PHP Interfaces: when and why you should use them instead of classes?PHP-Tools Blog: Analyzing aide (advanced intrusion detection environment) output with PHPZend Developer Zone: Pro PHP XML and Web Services Sample ChapterZend Developer Zone: Cool Image Thumbnail ClassNefarious Designs: Object-Oriented PHP Part 4: PHP5's Improved FeaturesSebastian Bergmann's Blog: Zend/PHP Conference 2006William Candillon's Blog: phpAspect presented at the EPFL
565362
Popular posts from PHPDeveloper.org for the past week:DeveloperTutorials.com: Writing an Email Autoresponder Script with PHPJaybill McCarthy's Blog: 10 PHP Myths DispelledIBM developerWorks: Mastering regular expressions in PHP, Part 1Job Posting: OmniTI Seeks PHP Talent (Brooklyn, NY)Zend Developer Zone: php|architect Announces 'Programming with the Zend Framework'DeveloperTutorials.com: Create a Facebook Application With PHPRob Allen's Blog: New Zend Framework Blog/WebsiteMichael Kimsal's Blog: Ecommerce system ideasJob Posting: Buildersite.co.uk Seeks PHP Programmer/Web Developer (Central London)Zend Developer Zone: Debugging PHP applications with xdebug
213675
The Zend Developer Zone has posted the latest episode of their PHP Abstract podcast hosted by Rob Richards and covering service oriented architectures in PHP.   Our special guest today is Rob Richards. Rob is an author and maintainer of many of the XML-based extensions of PHP 5, as well as one of the maintainers of libxml2. He is also the author of Pro PHP and Web Services, published by Apress. Rob is going to give us an overview of Service Oriented Architecture and what it means to us as PHP developers.   The direct link to grab the show is here, but you'd be doing yourself a favor to subscribe to the podcast feed and get all of the great content on a wide variety of topics presented by the experts.
122246
As mentioned by the Zend Developer Zone, Ed Finkler has posted the latest version of his Inspekt security tool.   Although downloads have been on the Google Code site for a bit, I recently put up a new build of Inspekt. This could probably be described as a late alpha release, with most proposed features implemented.   Also included in this new edition are full API documentation for the application, some documentation on its basic usage and, of course, the source of this latest release.
139275
Popular posts from PHPDeveloper.org for the past week:PHP-Coding-Practices.com: Try-Catch Syntax WeirdnessPHPBuilder.com: Cross-Platform Database PHP DevelopmentIBM developerWorks: Java and PHP technology on AIX - Integrate the Java business application w/ DB2OpenSourceCommunity.org: What do you think makes a good CMS?Jonathan Snook's Blog: Elemental: Conditional Content with CakePHPDevShed: The Basics of Using the Factory Pattern in PHP 5Builder.com.au: PHP exploit code plants itself in GIFJohn Cox's Blog:  Linux.com Now PHP PoweredNick Halstead's Blog: Solving Programming ProblemsPHP-Tools Blog: Testing FIT