<?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, 25 May 2013 04:02:08 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[/Dev/Hell Podcast: Episode 29: Snappy Answers to Stupid Questions]]></title>
      <guid>http://www.phpdeveloper.org/news/19297</guid>
      <link>http://www.phpdeveloper.org/news/19297</link>
      <description><![CDATA[<p>
The /Dev/Hell podcast has posted the latest episode of their podcast (as hosted by <i>Chris Hartjes</i> and <i>Ed Finkler</i>) - <a href="http://devhell.info/post/2013-03-07/snappy-answers-to-stupid-questions/">Episode #29</a>, "Snappy Answers to Stupid Questions".
</p>
<blockquote>
Being totally out of ideas, we turned things over to our legions of fans who joined us on <a href="http://webchat.freenode.net/?channels=devhell&uio=d4">IRC</a>. Lots of interesting questions, and people learned what Ed thought was horseshit.
</blockquote>
<p>
As you can imagine, there's lots of topics covered including some discussion of PHP IDEs, if PHP has <a href="http://sloblog.io/~zynisch/qI3DyGJd0yo/php-has-reached-its-limit">reached its limit</a> and <a href="https://plus.google.com/110981030061712822816/posts/KaSKeg4vQtz">liberal versus conservative programmers</a>. You can listen to this latest episode either through the <a href="http://devhell.info/post/2013-03-07/snappy-answers-to-stupid-questions/">in-page player</a>, by <a href="http://devhell.s3.amazonaws.com/ep29-64mono.mp3">downloading the mp3</a> or by <a href="http://feeds.feedburner.com/devhell-podcast">subscribing to their feed</a>.
</p>]]></description>
      <pubDate>Mon, 11 Mar 2013 10:44:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Where on Earth are You?]]></title>
      <guid>http://www.phpdeveloper.org/news/17485</guid>
      <link>http://www.phpdeveloper.org/news/17485</link>
      <description><![CDATA[<p>
In PHPMaster.com's latest tutorial <i>Lukas White</i> introduces you to using the Yahoo "Placemaker" web service to <a href="http://phpmaster.com/where-on-earth-are-you/">geographically locate a place from a free-form text string</a>. The results include "place details" like the type of the location, latitude, longitude and how confident they are in their match.
</p>
<blockquote>
The challenge then is to do two things: work out what place you could be talking about, disambiguate if necessary, and then identify exactly where on Earth that is. That's what I'll show you how to do in this article; by using a freely available web service, we'll write a simple program to ask users where they are (and ask them to clarify if necessary) before identifying their responses in concrete terms.
</blockquote>
<p>
He shows how to make a request to the <a href="http://developer.yahoo.com/geo/placemaker/">Placemaker</a> web service, passing it a string coming from the user, to be located. The POST request contains a few pieces of data including an application ID 
, your desired output type and the language you're using for the input. His example code uses <a href="http://php.net/curl">curl</a> to make the request and handles it (the XML response at least) with a call to <a href="http://php.net/simplexml_load_string">simplexml_load_string</a>.
</p>]]></description>
      <pubDate>Thu, 02 Feb 2012 08:52:54 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: Finding Exactly Where You Are]]></title>
      <guid>http://www.phpdeveloper.org/news/17121</guid>
      <link>http://www.phpdeveloper.org/news/17121</link>
      <description><![CDATA[<p>
On the php|architect site today <i>Chris Tankersley</i> has a new tutorial about geocoding, <a href="http://www.phparch.com/2011/11/finding-exactly-where-you-are/">Finding Exactly Where You Are</a> - a guide to integrating the <a href="http://developer.yahoo.com/geo/placefinder/">Yahoo! Placefinder</a> service into your application.
</p>
<blockquote>
Yahoo! PlaceFinder is a REST web service that will turn an address into the latitudinal and longitudinal coordinates in XML, JSON, or serialized PHP objects. It has a few other functions too, like finding the nearest airport, time zone, and even telephone area code. [...] PlaceFinder is a very simple REST service, so cURL is a quick and easy way to access it. There are no authentication tokens to deal with or logon procedures. Just send a GET request, and read the response. 
</blockquote>
<p>
He <a href="https://developer.apps.yahoo.com/dashboard/createKey.html">links you</a> to the service to get an API key and includes a simple class (PlaceFinderAPI) that builds the GET query for you and makes the request via <a href="http://php.net/curl">curl</a>. Also included is an example showing how to find a given location (coincidentally, his location choice is the hotel where the <a href="http://tek.phparch.com">php|tek</a> conferences are held).
</p>]]></description>
      <pubDate>Fri, 11 Nov 2011 12:05:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Till Klampaeckel's Blog: Yahoo: oauth_problem=consumer_key_rejected]]></title>
      <guid>http://www.phpdeveloper.org/news/16370</guid>
      <link>http://www.phpdeveloper.org/news/16370</link>
      <description><![CDATA[<p>
During some of his work with the Yahoo! Search Boss API, <i>Till Klampaeckel</i> <a href="http://till.klampaeckel.de/blog/archives/153-Yahoo-oauth_problemconsumer_key_rejected.html">came across an issue</a> with the OAuth connection causing an error of "oauth_problem=consumer_key_rejected" with his Zend Framework-based application.
</p>
<blockquote>
The above process doesn't even take five minutes, but then I spent eight hours figuring out what oauth_problem=consumer_key_rejected means. Spent a couple hours googling, reading bug reports and even posted to the Yahoo! group associated with Search Boss. To cut to the chase: When you create a new project, it's not sufficient to just activate "Yahoo! Search Boss" (and provide billing details and so on).
</blockquote>
<p>
His real issue was because of how Yahoo! apparently creates (or when they create) the OAuth connection information for you. He gives a two line example of how the Zend Framework can grab a OAuth token with Zend_Oauth. He goes on to talk about the OAuth implementation in PHP and how it's "pretty sucky" and that there's not much documentation around to help. He got things working, though, and included the sample code he used to make the connection - pulling the info from a an oauth.ini file, pushing the authentication parameters to the remote side, grabbing the headers and making the HTTP request with the OAuth information in place.
</p>]]></description>
      <pubDate>Mon, 23 May 2011 09:29:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Authenticating with OAuth from PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15202</guid>
      <link>http://www.phpdeveloper.org/news/15202</link>
      <description><![CDATA[<p>
<i>Lorna Mitchell</i> has <a href="http://www.lornajane.net/posts/2010/Authenticating-with-OAuth-from-PHP">posted about her experiences</a> with getting OAuth working with her PHP application by way of the <a href="http://pecl.php.net/package/oauth">PECL package</a> that adds support into PHP.
</p>
<blockquote>
I've been looking into OAuth recently and really like what I see, so I started looking at actually starting to play with something that uses it (and isn't twitter). In the pursuit of this, I spent some time walking through the process of how to actually authenticate using OAuth, as a client.
</blockquote>
<p>
She briefly touches on the consumer key and secret and how those are passed along with the OAuth object creation to grab a request token, complete with details on setting a callback. She also mentions how to grab an access token - a piece of information you include in your API calls to let the remote service know who you are. All of her examples are using <a href="http://developer.yahoo.com/oauth/guide/about.html">Yahoo! OAuth services</a>.
</p>]]></description>
      <pubDate>Wed, 29 Sep 2010 08:18:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ibuildings techPortal: Building a platform from open source at Yahoo!]]></title>
      <guid>http://www.phpdeveloper.org/news/14340</guid>
      <link>http://www.phpdeveloper.org/news/14340</link>
      <description><![CDATA[<p>
On the Ibuildings techPortal there's a new post with the latest episode of their Dutch PHP Conference sessions (from 2009's event) - <i>Dustin Whittle</i>'s talk on <a href="http://techportal.ibuildings.com/2010/04/13/building-a-platform-from-open-source-at-yahoo/">open source at Yahoo</a>.
</p>
<blockquote>
Join us for a case study on using open source tools to build a platform for enterprise web applications. Find out what worked and what didn't when building scalable web applications with open source tools (apache, php/apc, mysql, memcache, symfony, yui). Learn how you can tools Yahoo! offers for developers and how your team can leverage Yahoo's Open Stack for your next web project. We will examine the components that make up Yahoo's open stack: developer tools (YUI), data APIs (YQL), and the application platform (YAP).
</blockquote>
<p>
You can either listen to this latest episode <a href="http://techportal.ibuildings.com/2010/04/13/building-a-platform-from-open-source-at-yahoo/">on the in-page player</a> or you can download the mp3 <a href="http://techportal.ibuildings.com/wp-content/uploads/audio/dpcradio/episode_009.mp3">directly from Ibuildings</a> and listen at your leisure. You can also find his slides for the presentation <a href="http://www.slideshare.net/dustin.whittle/building-a-platform-from-open-source-at-yahoo-3209565">here</a>.
</p>]]></description>
      <pubDate>Tue, 13 Apr 2010 11:25:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Alfonso Jimenez's Blog: Integrating Yahoo r3 with Phing]]></title>
      <guid>http://www.phpdeveloper.org/news/13861</guid>
      <link>http://www.phpdeveloper.org/news/13861</link>
      <description><![CDATA[<p>
<i>Alfonso Jimenez</i> has <a href="http://alfonsojimenez.com/computers/integrating-yahoo-r3-with-phing/">posted a tutorial</a> on how to tie the <a href="http://developer.yahoo.com/r3/">Yahoo r3 service</a> for internationalizing your applications with the <a href="http://phing.info">Phing</a> build tool.
</p>
<blockquote>
[Yahoo r3] offers a neat and powerful command line interface which will make your life easier. It can also be managed by using a web interface. [...] So after far too much research, we came up with Yahoo r3, but we still had an itch to scratch: how can we integrate this into our continuous integration workflow? We are using Phing (and Java Ant) for building our sites, so it was nice to have some Phing tasks to work with r3.
</blockquote>
<p>
He includes two custom Phing tasks for interfacing with the command line Yahoo r3 client - one for project generation and the other to set variables in the process. A sample build file putting them to use is also included.
</p>]]></description>
      <pubDate>Mon, 18 Jan 2010 12:09:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org Blog: Sending e-mail using [Remote] SMTP servers/MIME Email]]></title>
      <guid>http://www.phpdeveloper.org/news/12373</guid>
      <link>http://www.phpdeveloper.org/news/12373</link>
      <description><![CDATA[<p>
On the PHPClasses.org blog <i>Manuel Lemos</i> has <a href="http://www.phpclasses.org/blog/package/9/post/1-Sending-email-using-SMTP-servers-of-Gmail-Hotmail-or-Yahoo-with-PHP.html">a recent post</a> looking at a method for sending emails using a remote SMTP server (like Google or Yahoo's) via <a href="http://www.phpclasses.org/blog/package/14/post/1-Sending-messages-to-many-recipients-via-SMTP-in-PHP.html">this package</a>.
</p>
<blockquote>
In most hosting environments, the PHP mail() function is sufficient to send e-mail messages without problems. However, there are situations on which using the mail function is inconvenient and may prevent that your messages reach the destination. [...] Therefore, you may need to find an alternative way for sending your e-mail messages from PHP.
</blockquote>
<p>
The <a href="http://www.phpclasses.org/blog/package/14/post/1-Sending-messages-to-many-recipients-via-SMTP-in-PHP.html">package</a> lets you define a username/password, server, whether to use a SSL connection or not, and if the connection needs to use the TLS protocol.
</p>]]></description>
      <pubDate>Mon, 20 Apr 2009 11:15:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[CSS-Tricks.com: Using Weather Data to Change Your Website's Appearance through PHP and CSS]]></title>
      <guid>http://www.phpdeveloper.org/news/11974</guid>
      <link>http://www.phpdeveloper.org/news/11974</link>
      <description><![CDATA[<p>
On the CSS-Tricks.com site today there's a <a href="http://css-tricks.com/using-weather-data-to-change-your-websites-apperance-through-php-and-css/">quick tutorial</a> on changing up the look and feel of your site based on an external source. More specifically, they give the example of updating the graphics of your site depending on the weather in your area via PHP and CSS.
</p>
<blockquote>
Using a little magic and trickery (read: PHP and CSS), we can change the appearance of a website automatically based on the weather outside, in real time! In the <a href="http://css-tricks.com/examples/WeatherSwitcher/">example site</a> we have created, the header graphic will change to one of four different styles based on Sunny, Rain, Snow, and Cloudy.
</blockquote>
<p>
Their example makes a request to the Yahoo! weather data for a location and brings it in to PHP where the XML is parsed (via a regular expression) and the current conditions are parsed out. This condition is then passed out into the page as the class type on the header and, based on the CSS already defined, the correct image is pulled in as the background.
</p>]]></description>
      <pubDate>Wed, 18 Feb 2009 12:08:03 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Matt Curry's Blog: Yahoo Search BOSS as a CakePHP Plugin]]></title>
      <guid>http://www.phpdeveloper.org/news/11929</guid>
      <link>http://www.phpdeveloper.org/news/11929</link>
      <description><![CDATA[<p>
In <i>Matt Curry</i>'s most recent blog entry he <a href="http://www.pseudocoder.com/archives/2009/02/10/yahoo-search-boss-as-a-cakephp-plugin/">looks at the creation</a> of a CakePHP plugin that integrates <a href="http://developer.yahoo.com/search/boss/">Yahoo! Search BOSS</a> (Build your Own Search Service) into an application.
</p>
<blockquote>
I mention that Neil's code would make a really cool plugin. This sparked a discussion as to whether this was possible with Cake's current plugin architecture. The issues where: how to get the datasource configuration, which would normally go in /app/config/database.php, how to reference the datasource class itself and how to handle the custom route.
</blockquote>
<p>
The created <a href="http://github.com/mcurry/cakephp/blob/master/plugins/yahoo_boss/models/datasources/yahoo_boss_source.php">the plugin</a> with a <a href="http://api.cakephp.org/class/connection-manager#method-ConnectionManagercreate">ConnectionManager</a> instance that goes out and loads in a configuration file inside of his <a href="http://github.com/mcurry/cakephp/blob/master/plugins/yahoo_boss/models/search.php">search model</a> in his application.
</p>]]></description>
      <pubDate>Wed, 11 Feb 2009 11:14:00 -0600</pubDate>
    </item>
  </channel>
</rss>
