<?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>Tue, 08 Jul 2008 23:17: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[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>
  </channel>
</rss>
