<?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>Wed, 22 May 2013 06:28:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Duckout Blog: Do Funny Stuff with the Google Charts API and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/19366</guid>
      <link>http://www.phpdeveloper.org/news/19366</link>
      <description><![CDATA[<p>
In <a href="http://www.duckout.de/programming/do-funny-stuff-with-the-google-charts-api-and-php/">this recent post</a> to the Duckout blog, they show you how to hook your PHP-based (and database driven) application into the Google Charting API for chart/graph generation.
</p>
<blockquote>
I think, whenever we see a chart in a magazine, in books or applications our brain say's to us Yeepie!!! Don't read these stupid texts or tables! Just look at the green or yellow line and hope that they are above the other lines or hope that your opinion is the biggest part of the pie¯. This saves us a lot of work and in my opinion we should concentrate on drawing beautiful colorized pie charts, instead of writing long boring articles. But the question is: ¯How do I draw these beautiful colorized pie charts? The simple answer is: you don't have to, because google will draw them for you and you just have to tell them what to draw via the google charts api.
</blockquote>
<p>
The <a href="https://github.com/Gamma32/breakfast">sample application</a> is a "breakfast rating" tool that logs the results to a MySQL database via PDO calls. The results are then extracted and formated as JSON to be compatible with the Google Charts API data handling. Some sample Javascript is included showing how to call the Charts API with your data and get back a simple line graphing of the data from the database. You can see the application in action <a href="http://breakfast.cloudcontrolled.com/">here</a> for reference.
</p>]]></description>
      <pubDate>Tue, 26 Mar 2013 11:40:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Simulating Graphical Charts with XHTML/CSS]]></title>
      <guid>http://www.phpdeveloper.org/news/6381</guid>
      <link>http://www.phpdeveloper.org/news/6381</link>
      <description><![CDATA[<p>
PHPBuilder has another <a href="http://www.phpbuilder.com/columns/white-eisenhamer20060913.php3">excerpt posted</a> from the book "PHP 5 in Practice" from Sams Publishing. It takes a quick look at a method to simulate graphical charts with some XHTML and CSS tricks (and PHP's help).
</p>
<blockquote>
When you need to present data in a chart on a web page, it is often worthwhile to generate graphical charts. This method is covered later in Section 18.4, "Creating a Graph/Chart Library"; however, sometimes for a quick chart CSS can suffice. Listing 9.4.1 presents a function that creates a visual chart of data using CSS and XHTML only.
</blockquote>
<p>
You can find the code they're talking about for <a href="http://www.phpbuilder.com/columns/white-eisenhamer20060913-1.txt">"Listing 9.4.1"</a>. They explain it briefly, but it's a quick "here's what it looks like" and less of a "here's the logic behind it" kind of post. Never the less, it's still quite useful.
</p>]]></description>
      <pubDate>Wed, 27 Sep 2006 14:55:00 -0500</pubDate>
    </item>
  </channel>
</rss>
