<?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>Thu, 20 Jun 2013 02:52:07 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Troy Hunt: 10 lessons for uncultured web developers]]></title>
      <guid>http://www.phpdeveloper.org/news/18460</guid>
      <link>http://www.phpdeveloper.org/news/18460</link>
      <description><![CDATA[<p>
<i>Troy Hunt</i> has posted <a href="http://www.troyhunt.com/2012/09/10-lessons-for-uncultured-web-developers.html">ten reminders for "uncultured web developers"</a> out there to think about when they're developing applications for a world-wide audience.
</p>
<blockquote>
What a lot of this boils down to is culture, or more specifically, lack of cultural awareness. I'm talking about making assumptions based on what a developer may personally hold to be true but in the broader global context is incorrect and often marginalises their audience. In the pursuit of a more globally harmonious online experience, let's take a look at 10 lessons relating to aspects of web development with a cultural bent. Some of this may not be new to you, but all of it is relevant if you want to play nice with people from all cultural walks of life.
</blockquote>
<p>Among the list of his ten tips you'll find things like:</p>
<ul>
<li>Firefox and Chrome command 91% of the market
<li>Almost always, 8/7 comes before 7/8
<li>Country code top level domains give context
<li>Time zones matter (and they're not universally understood)
<li>Don't deprioritise your international audiences
</ul>
<p>
Check out <a href="http://www.troyhunt.com/2012/09/10-lessons-for-uncultured-web-developers.html">the rest of the list</a> in his full post.
</p>]]></description>
      <pubDate>Mon, 10 Sep 2012 11:53:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Nexen.net: PHP month of functions]]></title>
      <guid>http://www.phpdeveloper.org/news/7576</guid>
      <link>http://www.phpdeveloper.org/news/7576</link>
      <description><![CDATA[<p>
As mentioned in <a href="http://devzone.zend.com/node/view/id/1897">this new post</a> from the Zend Developer Zone, Nexen.net (creator of the monthly PHP statistics) has kicked off something they call the <a href="http://www.nexen.net/the_month_of_php_functions.php">Month of PHP Functions</a>.
</p>
<blockquote>
The month of PHP function aims at introducing PHP developers to a new PHP function every day : one that gets too little usage and spotlight, though is highly useful. [...] During this month, we'll present one or several function every day : they all deserve more attention. You don't have to search for it : most of the time, it will be available in your PHP installation, especially if you're using PHP 5.
</blockquote>
<p>
So far, six functions have already been posted:
<ul>
<li><a href="http://www.nexen.net/articles/dossier/16732-export_php_variables.php">export PHP variables</a>
<li><a href="http://www.nexen.net/articles/dossier/16746-the_month_of_php_functions_:_listing_folders.php">listing folders</a>
<li><a href="http://www.nexen.net/articles/dossier/16792-the_month_of_php_function_:_validating_dates.php">validating dates</a>
<li><a href="http://www.nexen.net/articles/dossier/16765-the_month_of_php_function_:_localization.php">localization</a>
<li><a href="http://www.nexen.net/articles/dossier/16767-the_month_of_php_functions_:_http_headers.php">HTTP headers</a>
<li><a href="http://www.nexen.net/articles/dossier/16774-the_month_of_php_functions_:_sql_stats.php">SQL stats</a>
</ul>
Keep an eye on <a href="http://www.nexen.net/the_month_of_php_functions.php">their official page</a> for the project to keep up with their latest function spotlight.
</p>]]></description>
      <pubDate>Fri, 06 Apr 2007 10:16:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ben Ramsey's Blog: Create an Image from XML Data]]></title>
      <guid>http://www.phpdeveloper.org/news/5398</guid>
      <link>http://www.phpdeveloper.org/news/5398</link>
      <description><![CDATA[<p>
In the ever-continuing work that he's been doing with SimpleXML lately, <i>Ben Ramsey</i> shares <a href="http://benramsey.com/archives/create-an-image-from-xml-data/">a new bit of code</a. on his blog today for creating images from XML data.
</p>
<quote>
<i>
<p>
It's not really a "problem," but <a href="http://www.feedburner.com/">FeedBurner</a>'s FeedCount image is a rigid 88 pixels wide, and I wanted to include it on my <a href="http://benramsey.com/">homepage</a> under the "syndicate" heading, an area that I've defined in my template as having only 80 pixels in width. The 88 pixels were throwing things off, so I used the width attribute of the HTML img tag to solve the problem. Unfortunately, it just squeezes the image, making the text in it appear fuzzy.
</p>
<p>
FeedBurner conveniently provides what they call their "<a href="http://www.feedburner.com/fb/a/developers/awapi">Awareness API</a>," which is a <a href="http://en.wikipedia.org/wiki/REST">RESTful</a> interface to retrieve (as XML data) the same exact information displayed in the FeedCountTM image. I simply fired up an image editing program, shuffled things around a bit until the image was a nice, clean 80 pixels wide, and saved it as the base image (shown to the right) I would use for generating an image similar to the one FeedBurner provides.
</p>
</i>
</quote>
<p>
He <a href="http://benramsey.com/archives/create-an-image-from-xml-data/">explains what the script does</a> via the SimpleXML call and gives the code to accomplish it. It's a short bit of code, but quite powerful when combined with the API from Feedburner - grabbing the data from a local image and integrating the text response from the API. It's great that they have that too - definitely a wise move to allow users even more flexibility in integration for their site.
</p>]]></description>
      <pubDate>Fri, 19 May 2006 05:50:53 -0500</pubDate>
    </item>
  </channel>
</rss>
