<?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, 20 Mar 2010 07:23:30 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Giulio Pons' Blog: Facebook Connect Tutorial]]></title>
      <guid>http://www.phpdeveloper.org/news/13868</guid>
      <link>http://www.phpdeveloper.org/news/13868</link>
      <description><![CDATA[<p>
<i>Giulio Pons</i> has posted <a href="http://www.barattalo.it/facebook-connect-tutorial/">a great tutorial</a> for anyone looking to hook their application into the Facebook Connect technology.
</p>
<blockquote>
This tutorial will guide you to the process of integration of your web community with Facebook. This means that when a visitor comes to your site it can log in with normal credentials if it has, but if it has not it can click on the "facebook connect" button and try to log in with its facebook account, automatically.
</blockquote>
<p>
You'll need to register the application with Facebook before getting started and get an API key you can use to work with their backend. With the help of the <a href="http://svn.facebook.com/svnroot/platform/clients/packages/facebook-platform.tar.gz">Facebook-provided libraries</a> and a file for the cross-domain interaction (a xd_receiver file) you can use the code he's provided to allow the user to log in with their Facebook username/password and it be mapped to a user on your local application.
</p>]]></description>
      <pubDate>Tue, 19 Jan 2010 12:46:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Web Development Blog: Search for photos using PHP and the flickr API]]></title>
      <guid>http://www.phpdeveloper.org/news/13708</guid>
      <link>http://www.phpdeveloper.org/news/13708</link>
      <description><![CDATA[<p>
On the Web Development Blog there's <a href="http://www.web-development-blog.com/archives/search-for-photos-using-php-and-the-flickr-api/">a recent post</a> about connecting your PHP application with the <a href="http://flickr.com">Flickr</a> API to search for photos with the help of a simple class.
</p>
<blockquote>
We will be using the php function "file_get_contents" to receive data from flickr. The data which we will receive will be a serialized PHP array which means all we need to do is unserialize the array and we will easily be able to use the data returned. As an alternative we can use a cURL function to get the data, for example if the function "file_get_contents" is not allowed on your web host.
</blockquote>
<p>
They show how to get your API key from the Flickr website and the sample code that you'll need to make a GET request (with <a href="http://php.net/file_get_contents">file_get_contents</a>) and an example of a loop displaying the response.
</p>]]></description>
      <pubDate>Mon, 21 Dec 2009 15:16:31 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Matt Curry's Blog: Connecting CakePHP Plugins]]></title>
      <guid>http://www.phpdeveloper.org/news/12591</guid>
      <link>http://www.phpdeveloper.org/news/12591</link>
      <description><![CDATA[<p>
On his blog today <i>Matt Curry</i> shows how to <a href="http://www.pseudocoder.com/archives/2009/05/29/connecting-cakephp-plugins/">connect CakePHP plugins</a> so that two could be used and treated as one by the end user.
</p>
<blockquote>
In the asset plugin I needed to know if the localization plugin was also installed and if it was use it. Cake's App::import() function returns "boolean true if Class is already in memory or if file is found and loaded, false if not." Perfect.
</blockquote>
<p>
His code shows how he combines <a href="http://github.com/mcurry/js/">a plugin for localizing javascript files</a> and <a href="http://github.com/mcurry/asset">an asset plugin</a> that combines and compacts javascript and css files.
</p>]]></description>
      <pubDate>Fri, 29 May 2009 08:47:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Liip Blog: Jackalope - JCR for PHP started]]></title>
      <guid>http://www.phpdeveloper.org/news/12497</guid>
      <link>http://www.phpdeveloper.org/news/12497</link>
      <description><![CDATA[<p>
In <a href="http://blog.liip.ch/archive/2009/05/11/jackalope-started.html">this new post</a> to the Liip blog <i>Tobias Ebnother</i> looks at <a href="http://liip.to/jackalope">Jackalope</a> that's looking to bring <a href="http://jcp.org/en/jsr/detail?id=283">JCR functionality</a> into the toolset offered to PHP developers.
</p>
<blockquote>
We initiated a new open source project called <A href="http://liip.to/jackalope">Jackalope</a>. Its purpose is to bring <a href="http://jcp.org/en/jsr/detail?id=283">JCR</a> via <a href="http://jackrabbit.apache.org/">Jackrabbit</a> to the PHP world. [...] JCR provides a great standardized storage for hierarchical content and supports some nice features like full text search, versioning, transactions, observation, and more. Our main goal is to create a PHP Connector for Jackrabbit without using any Java.
</blockquote>
<p>
To accomplish this, they're doing things in two steps. First, they've created a setup with the Java bridge (from Zend Server) to make the connection back to the Jackrabbit server and making writing tests to that API. The second step is to swap out the Java bridge with the Jackalope connection piece. You can check out the current state of the project on its <a href="http://github.com/jackalope">Github page</a> or come and ask questions of the team on the <a href="http://freenode.net/">Freenode</a> IRC network (#jackalope).
</p>]]></description>
      <pubDate>Tue, 12 May 2009 10:21:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Phpro.org: Introduction to PHP and MySQL]]></title>
      <guid>http://www.phpdeveloper.org/news/12358</guid>
      <link>http://www.phpdeveloper.org/news/12358</link>
      <description><![CDATA[<p>
On the phpro.org site today there's <a href="http://www.phpro.org/tutorials/Introduction-to-PHP-and-MySQL.html">a new tutorial posted</a> about the powerful combination of PHP and MySQL introducing a bit about both sides - connecting PHP to MySQL and working with SQL statements.
</p>
<blockquote>
This tutorial is aimed at those new to PHP and MySQL. The object of this tutorials is to show by way of example how to use php to CREATE a database, how to CREATE a table, how to INSERT data into a database, and how to SELECT that data and display it on a web page. [...] his tutorial will grow in size and complexity as time permits. Lets begin with a brief description of what MySQL and PHP are. 
</blockquote>
<p>
The tutorial looks at <A href="http://www.phpro.org/tutorials/Introduction-to-PHP-and-MySQL.html#3">connecting to MySQL</a>, creating a <a href="http://www.phpro.org/tutorials/Introduction-to-PHP-and-MySQL.html#4">test database</a>, working with the data inside via <a href="http://www.phpro.org/tutorials/Introduction-to-PHP-and-MySQL.html#7">insert</a>/<a href="http://www.phpro.org/tutorials/Introduction-to-PHP-and-MySQL.html#9">selects</a>/<a href="http://www.phpro.org/tutorials/Introduction-to-PHP-and-MySQL.html#11">updates</a> and a few other miscellaneous tips. 
</p>]]></description>
      <pubDate>Thu, 16 Apr 2009 12:06:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Getting Started with OpenID and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10347</guid>
      <link>http://www.phpdeveloper.org/news/10347</link>
      <description><![CDATA[<p>
<i>Vikram Vaswani</i> has <a href="http://devzone.zend.com/article/3581-Getting-Started-with-OpenID-and-PHP">a new tutorial</a> posted to the Zend Developer Zone today about integrating PHP with an OpenID system via a few helpful packages.
</p>
<blockquote>
OpenID, a free, open-source framework for "single sign-on" across different Web sites and applications. The even better news? There already exist a bunch of PHP widgets that allow developers to easily integrate OpenID into a PHP application, and this article is going to show you how to use them. So what are you waiting for? Flip the page, and let's get going!
</blockquote>
<p>
For those not familiar with the authentication method, he <a href="http://devzone.zend.com/article/3581-Getting-Started-with-OpenID-and-PHP">defines OpenID</a> and shows how it can help with the "too many passwords, too many accounts" problem many users face. He uses the <a href="http://www.openidenabled.com/">PHP OpenID Library</a> and the <a href="http://pear.php.net/pepr/pepr-proposal-show.php?id=500">Authentication::OpenID_Consumer PEAR package</a> (as well as several other PEAR packages to help with the connections and message formatting). He builds two simple forms to use the service - one to authenticate a user and another to create a new account.
</p>]]></description>
      <pubDate>Thu, 05 Jun 2008 10:27:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Mischook's Blog: Connecting PHP to MYSQL Video Tutorial]]></title>
      <guid>http://www.phpdeveloper.org/news/9964</guid>
      <link>http://www.phpdeveloper.org/news/9964</link>
      <description><![CDATA[<p>
On his blog today, <i>Stefan Mischook</i> has <a href="http://www.killerphp.com/articles/connecting-php-to-mysql-video-tutorial/">posted a new video tutorial</a> showing how to hook together one of the more popular web development combinations on the internet - PHP and MySQL.
</p>
<blockquote>
I've gotten around to releasing a new set of beginners video tutorials on PHP. This time around, I have a four part video on how to get <a href="http://www.killerphp.com/videos/connecting-mysql-php/">PHP to talk to MySQL</a>.
</blockquote>
<p>
All four parts <a href="http://www.killerphp.com/videos/connecting-mysql-php/">are there</a>, bundled into a Flash presentation. Note: these are not installation tutorials - they only show how to get PHP talking to the MySQL backend, not how to set them up together.
</p>]]></description>
      <pubDate>Mon, 14 Apr 2008 07:58:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SaniSoft Blog:  The prefix automagic in CakePHP routing]]></title>
      <guid>http://www.phpdeveloper.org/news/9941</guid>
      <link>http://www.phpdeveloper.org/news/9941</link>
      <description><![CDATA[<p>
On the SaniSoft blog, <i>Tarique Sani</i> <a href="http://www.sanisoft.com/blog/2008/04/04/the-prefix-automagic-in-cakephp-routing/">talks briefly</a> about some of the prefix "automagic" that's already built in to the CakePHP framework's routing.
</p>
<blockquote>
There are times when you need more than just admin routing, how about something like http://blah.com/user/profiles/edit and http://blah.com/user/profiles/changepassword ? If this could be routed to an action like user_add and user_changepassword wouldn't it be great!! (eg: think ownership ACL checks)
</blockquote>
<p>
Good thing the CakePHP developers already planned for something like this - they included the connect() method for Router objects that maps the URL request to a method with that same prefix in the controller.
</p>]]></description>
      <pubDate>Wed, 09 Apr 2008 13:06:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[The Bakery: Setting up Eclipse to work with Cake]]></title>
      <guid>http://www.phpdeveloper.org/news/8351</guid>
      <link>http://www.phpdeveloper.org/news/8351</link>
      <description><![CDATA[<p>
From The Bakery today, there's a <a href="http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake">new tutorial</a> that steps you through the process of getting the Eclipse software set up and working happily with a CakePHP installation.
</p>
<blockquote>
So you're on a noob on the quest for painless PHP development? You've started using Cake and now you're considering the Eclipse Integrated Development Environment. These are two great first steps. All you need now is a little help getting to know Eclipse and configuring it for maximum effect with CakePHP. This tutorial gathers lots of information already out there, adds a bit of my own, and puts in all in one place.
</blockquote>
<p>
They <a href="http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake">work through</a> the installation, how to define a workspace for your project and getting the "bake" command to work directly from the local software.
</p>]]></description>
      <pubDate>Mon, 30 Jul 2007 12:03:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[John Walsh's Blog: Benchmark - MYSQL vs MYSQLi]]></title>
      <guid>http://www.phpdeveloper.org/news/8031</guid>
      <link>http://www.phpdeveloper.org/news/8031</link>
      <description><![CDATA[<p>
<i>John Walsh</i> got to thinking about performance when it comes to the MySQL functions versus MySQLi in PHP - <a href="http://myphpdigest.com/tutorial/Benchmark_-_MYSQL_vs_MYSQLi">this quick post</a> is the result:
</p>
<blockquote>
I've decided that a little investigation in weather it can connect,query and close faster than the MYSQL function I prefer the MYSQLi version as the _connect function is a lot more organised with the DB select in it.
</blockquote>
<p>
The code used for the benchmarks is simple - just a connect, query and close (no fetch). The results of running each 1500 times shows that, by a pretty narrow margin, the MySQL extension comes in around 92 milliseconds faster than MySQLi.
</p>]]></description>
      <pubDate>Tue, 12 Jun 2007 13:34:00 -0500</pubDate>
    </item>
  </channel>
</rss>
