<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 06 Sep 2008 23:18:38 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[John Maver's Blog:  How to create a Bebo application using PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/10166</guid>
      <link>http://www.phpdeveloper.org/news/10166</link>
      <description><![CDATA[<p>
In <a href="http://www.thoughtlabs.com/blogs/2008/05/08/how-to-create-a-bebo-application-using-php-5/">this new post</a> on his blog, <i>John Maver</i> gives a step-by-step guide for creating a PHP5 application for the popular social networking site <a href="http://bebo.com">Bebo.com</a>.
</p>
<blockquote>
I have been answering a lot of email requests for how to get started with a Bebo application. Since applications can be written in any language that supports interaction with the Bebo REST API, developers have a lot of choices in how they build their application. The focus of this article will be on the "officially supported language" - PHP.
</blockquote>
<p>
He <a href="http://www.thoughtlabs.com/blogs/2008/05/08/how-to-create-a-bebo-application-using-php-5/">defines</a> the parts of the application first (the callback, canvas page, profile box, invitation and news stories). Much like the Facebook API, the Bebo system has you host the application on your own servers and use their developer libraries to interface with their systems. He makes a simple application that has a "story" published to it that shows to each visitor.
</p>
<p>
He also tosses in a method for knowing a bit more about the user - like if they've just added the application, if they're a normal user or if they've just removed it from their application list.
</p>]]></description>
      <pubDate>Mon, 12 May 2008 17:21:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Andreas Gohr's Blog: Understanding PHP code better with Xdebug]]></title>
      <guid>http://www.phpdeveloper.org/news/9685</guid>
      <link>http://www.phpdeveloper.org/news/9685</link>
      <description><![CDATA[<p>
<i>Andreas Gohr</i> has a <a href="http://www.splitbrain.org/blog/2008-02/21-understanding_php_code_better_with_xdebug">new blog post</a> today that talks about a way to really get to know your code better - use XDebug to see it from the inside out.
</p>
<blockquote>
<a href="http://xdebug.org/">Xdebug</a> is a PHP extension which helps you to understand, debug and profile PHP. It can help you to find bottlenecks or give you an quick overview what happens in code you aren't familiar with, yet.
</blockquote>
<p>
<a href="http://www.splitbrain.org/blog/2008-02/21-understanding_php_code_better_with_xdebug">The post</a> gives a brief overview of the installation of the extension (building a shared module) and shows how to get started with profiling an application. He talks about the <a href="http://valgrind.org/info/tools.html#cachegrind">cachegrind</a> tool you can use to parse the results and the <a href="http://kcachegrind.sourceforge.net/cgi-bin/show.cgi">kcachegrind</a> app that will make the results a bit more visual.
</p>
<p>
As a bonus, he also throws in a bit about function tracing - picking out each small bit of functionality in the code (the function/methods) and gathering stats for each.
</p>]]></description>
      <pubDate>Fri, 22 Feb 2008 09:14:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Arnold Daniels' Blog: Improve performace: check your loops]]></title>
      <guid>http://www.phpdeveloper.org/news/9506</guid>
      <link>http://www.phpdeveloper.org/news/9506</link>
      <description><![CDATA[<p>
<i>Arnold Daniels</i> has <a href="http://blog.adaniels.nl/articles/improve-performace-check-your-loops/">a suggestion</a> for developers out there to help improve the performance of their applications - check your loops.
</p>
<blockquote>
So you have a script which is not performing the way you want to. The first thing you should do it try to find out what the problem is. There are some tools out there that can help you.
</blockquote>
<p>
He mentions the profiler in <a href="http://www.zend.com/en/products/studio/">Zend Studio</a> as well as the <a href="http://xdebug.org/docs/profiler">one in XDebug</a>. If you can't install those, however, he has another suggestion - <a href="http://www.firephp.org/">FirePHP</a> (a tool that can help time execution times in a simple and easy to include way.
</p>
<p>
With tools in hand, he offers a few suggestions as to what to check for and do in your applications:
</p>
<ul>
<li>Get the data ready before going into the loop
<li>Don't do things in the loop, you can also do outside it
<li>Use create_function to aid you
<li>Be careful with abstraction in loops
<li>Sometimes you can prevent loops altogether
<li>Last resort: write an extension
</ul>]]></description>
      <pubDate>Mon, 28 Jan 2008 12:14:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Profiling PHP Applications With xdebug]]></title>
      <guid>http://www.phpdeveloper.org/news/9333</guid>
      <link>http://www.phpdeveloper.org/news/9333</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted the <a href="http://devzone.zend.com/article/2899-Profiling-PHP-Applications-With-xdebug">theird part</a> of their series (by <i>Stefan Priebsch</i>) about working with XDebug in PHP to profile your applications.
</p>
<blockquote>
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.
</blockquote>
<p>
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. 
</p>
<p>
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.
</p>]]></description>
      <pubDate>Tue, 01 Jan 2008 09:01:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Reuter's Blog: Profiling PHP Applications]]></title>
      <guid>http://www.phpdeveloper.org/news/9245</guid>
      <link>http://www.phpdeveloper.org/news/9245</link>
      <description><![CDATA[<p>
<i>Stefan Reuter</i> has a <a href="http://blogs.reucon.com/srt/2007/12/13/profiling_php_applications.html">very quick example</a> of a method for profiling your PHP applications with Xdebug and KCachegrind.
</p>
<blockquote>
Ever wondered where your PHP applications spend their time? [...] We wanted to gain performance insights of a newly developed application based on Zend Framework to spot areas worth receiving some fine tuning. We did not want to modify the application for that purpose so I had a look at the options available for PHP.
</blockquote>
<p>
The resulting combination of <a href="http://xdebug.org/">XDebug</a> and <a href="http://kcachegrind.sourceforge.net/">KCachegrind</a> to grab the stats from the application and create <a href="http://blogs.reucon.com/srt/images/xdebug-screen1.png">great</a> <a href="http://blogs.reucon.com/srt/images/xdebug-screen2.png">output</a> images/reports to help make locating the problem a snap.
</p>]]></description>
      <pubDate>Fri, 14 Dec 2007 10:27:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: PHP Abstract Episode 5: Using the Zend Toolbars For Debugging & Profiling Apps]]></title>
      <guid>http://www.phpdeveloper.org/news/8079</guid>
      <link>http://www.phpdeveloper.org/news/8079</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted <a href="http://devzone.zend.com/article/2199-PHP-Abstract-Podcast-Episode-5-Using-the-Zend-Toolbars-For-Debugging-and-Profiling-Your-PHP-Applications">their latest edition</a> of their podcast - PHP Abstract. In <a href="http://s3.amazonaws.com/php_abstract_2007/php_abstract_episode_005.mp3">this episode</a> <i>Yossi Leno</i> looks at using the Zend Toolbars to work in your applications.
</p>
<blockquote>
Our special guest for this episode of the PHP Abstract podcast is Yossi is the product manager for the development tools group at Zend. He is going to talk to us today about using the Zend Browser Toolbars for Debugging and Profiling your applications.
</blockquote>
<p>
There's two ways to get the new show - <a href="http://s3.amazonaws.com/php_abstract_2007/php_abstract_episode_005.mp3">download it directly</a> or <a href="http://feeds.feedburner.com/phpabstract">subscribe to their feed</a> and get the latest ones hand delivered. They've also started a new program to help bring in more community input into the podcast (oh, and they pay too - $75) for making your contribution.
</p>]]></description>
      <pubDate>Tue, 19 Jun 2007 12:58:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Devshed: A Login System for a PHP Email Application]]></title>
      <guid>http://www.phpdeveloper.org/news/6621</guid>
      <link>http://www.phpdeveloper.org/news/6621</link>
      <description><![CDATA[<p>
DevShed continues on with their creation of an email application series with <a href="http://www.devshed.com/c/a/PHP/A-Login-System-for-a-PHP-Email-Application/">part two</a> of the series - a look at the creation of the login system for the app.
</p>
<blockquote>
We know from the previous article that the user ID is very important, in that it is used to retrieve various information from the database at various stages of the application. The login form sets this userID when you log in. It is the login system that will be the focus of this second part in a four-part series.
</blockquote>
<p>
They give s <a href="http://www.devshed.com/c/a/PHP/A-Login-System-for-a-PHP-Email-Application/">simple screenshot</a> of what the login will look like before getting into how to connect to the database, verify the user's information, logging in the user, registering new ones, and the code to work with the user's profile.
</p>]]></description>
      <pubDate>Wed, 01 Nov 2006 11:03:00 -0600</pubDate>
    </item>
  </channel>
</rss>
