<?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, 19 Jun 2013 08:22:29 -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[Dave Gardner's Blog: Applying collective intelligence to PHP UK Conference 2011]]></title>
      <guid>http://www.phpdeveloper.org/news/15986</guid>
      <link>http://www.phpdeveloper.org/news/15986</link>
      <description><![CDATA[<p>
<i>Dave Gardner</i> has put together a post about some work he did with the <a href="http://joind.in">Joind.in</a> API (an event feedback site) to <a href="http://www.davegardner.me.uk/blog/2011/02/27/applying-collective-intelligence-to-php-uk-conference-2011/">apply collective intelligence</a> to the results of the <a href="http://phpconference.co.uk/">PHP UK Conference</a>.
</p>
<blockquote>
The term "<a href="http://en.wikipedia.org/wiki/Collective_intelligence">collective intelligence</a>" refers to intelligence that emerges from the collaboration of a group. In this case, we can leverage the data within joind.in and make "intelligent" recommendations. This post looks at building a simple recommendation engine using the data from joind.in. You can <a href="http://www.davegardner.me.uk/phpuk2011.php.gz">download the entire source code here (gzipped)</a> or view via <a href="http://pastebin.com/6pyFrNyA">PasteBin here</a> and try it out for yourself.
</blockquote>
<p>
His code connects to the Joind.in API and fetches the event's talk information and the comments for each. His "calculatePearson" function then takes in two users and the set of ratings to figure out how similar their preferences are. There's also a bit of code that approaches it from a different angle - providing recommendations for users based on their own comments.
</p>]]></description>
      <pubDate>Wed, 02 Mar 2011 11:08:27 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: Building a 5 Star Rating System with jQuery, AJAX and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14461</guid>
      <link>http://www.phpdeveloper.org/news/14461</link>
      <description><![CDATA[<p>
On the NETTUTS.com site there's new tutorial showing you how to combine the power of PHP and jQuery to create a quick and easy <a href="http://net.tutsplus.com/tutorials/html-css-techniques/building-a-5-star-rating-system-with-jquery-ajax-and-php/">star rating system</a> for your web application.
</p>
<blockquote>
In this tutorial, you'll learn how to build a rating system with AJAX, PHP, and jQuery. Votes will be recorded and updated in real-time with the magic of AJAX, and we'll also leverage the power of PHP so that you don't even need a database!
</blockquote>
<p>
The Ajax portion of the script is handled by a "$.post" request made from jQuery to the PHP backend when a star is clicked. Once the message is sent to the PHP backend, the information is serialized and pushed into a text file. This method can easily be modified to work with a database too.
</p>]]></description>
      <pubDate>Wed, 05 May 2010 09:09:02 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ParanoidFerret.com: Using Flex, PHP, and JSON to Modify a MySQL Database]]></title>
      <guid>http://www.phpdeveloper.org/news/8396</guid>
      <link>http://www.phpdeveloper.org/news/8396</link>
      <description><![CDATA[<p>
ParanoidFerret.com is back with <a href="http://blog.paranoidferret.com/?p=43">another Flex and PHP article</a> today and this time, some other friends are joining in - JSON and MySQL.
</p>
<blockquote>
To follow-up on the <a href="http://blog.paranoidferret.com/?p=23">Flex and PHP tutorial</a> we did earlier I thought it would be nice to do a complete tutorial on php, mysql, flex, and json. This tutorial should show a decent way to send data in a database to and from flex to php using json. I will explain this in more detail in just a moment.
</blockquote>
<p>
Included in the tutorial is a <a href="http://blog.paranoidferret.com/?p=43">sample of the end result</a> and all of the code you'll need - the database setup, the PHP code to connect to it and pass along the JSON message content, and the Flex/code XML to handle the creation of the requests and update the data in the app according to the response.
</p>]]></description>
      <pubDate>Mon, 06 Aug 2007 12:42:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Greg Bulmash's Blog: Creating A Simple Rating Script With PHP And MySQL]]></title>
      <guid>http://www.phpdeveloper.org/news/7716</guid>
      <link>http://www.phpdeveloper.org/news/7716</link>
      <description><![CDATA[<p>
Sometimes, when you're building an application, simpler is better. At least, that's how <i>Greg Bulmash</i> approached it in <a href="http://www.brainhandles.com/2007/04/25/creating-a-simple-rating-script-with-php-and-mysql/">his new post</a> about creating a simple rating script for your site with PHP and MySQL.
</p>
<blockquote>
There are lots of pre-packaged scripts out there to do almost anything you want, but in my experience a lot of them either do too much or don't do enough. Finding that Goldilocks style of "just right" takes a lot of searching and experimenting, or just plain hacking of existing scripts. But for simple functions, writing your own script that does exactly what you want can often be quicker and more satisfying.
</blockquote>
<p>
He <a href="http://www.brainhandles.com/2007/04/25/creating-a-simple-rating-script-with-php-and-mysql/">goes through</a> what a rating system is and can be used for before getting to the code (as well as other things that could be tacked on at the end to make it a bit more complex). Then, it's on to the code - first the database layout, then the script to store the rating the visitor gave the item, and the script that shows the averaged results.
</p>]]></description>
      <pubDate>Thu, 26 Apr 2007 12:03:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Top-books.org: Top PHP Books]]></title>
      <guid>http://www.phpdeveloper.org/news/7089</guid>
      <link>http://www.phpdeveloper.org/news/7089</link>
      <description><![CDATA[<p>
If you're looking for a good PHP resource, check out <a href="http://top-books.org/php">this list</a> from Top-books.org - a listing of PHP and web-related books ranked by their Amazon ranking.
</p>
<p>
Included in the list are books like:
<ul>
<li><i>Luke Welling</i> and <i>Laura Thomson</i>'s <a href="http://top-books.org/book/0672326728">PHP and MySQL Web Development</a>
<li><a href="http://top-books.org/book/1590595521">Beginning PHP and MySQL 5: From Novice to Professional, Second Edition</a> by <i>Jason Gilmore</i>
<li><i>Chris Snyder</i> and <i>Michael Southwell</i>'s <a href="http://top-books.org/book/1590595084">Pro PHP Security (Pro)</a>
</ul>
and many more....check out <a href="http://top-books.org/php">the full listing</a> to find a good one on your chosen topic.
</p>]]></description>
      <pubDate>Mon, 15 Jan 2007 07:40:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stoyan Stefanov's Blog: Using PEAR and AWS to keep an eye on Amazon]]></title>
      <guid>http://www.phpdeveloper.org/news/7076</guid>
      <link>http://www.phpdeveloper.org/news/7076</link>
      <description><![CDATA[<p>
On his blog today, <i>Stoyan Stefanov</i> <a href="http://www.phpied.com/using-pear-and-aws-to-keep-an-eye-on-amazon/">shows how to use</a> a PEAR package - <a href="http://pear.php.net/package/Services_Amazon/">PEAR::Services_Amazon</a> - to "keep an eye on" Amazon's stats for a book.
</p>
<blockquote>
I wanted to have a page that shows the books I've written, together with their Amazon sales rank and the average customer rating and number of reviews. It's really easy. I took one example out of <a href="http://www.thepearbook.com/">the PEAR book</a> and slightly modified it.
</blockquote>
<p>
The script needs to few things to get up and running, so he points out those (an AWS id, the PEAR pacakge) and the simple path the application will take to grab the information (request/response). Then it's on to the actual PHP code - all 60 lines of it, including the HTML for the output.
</p>
<p>
It makes the request with the <a href="http://pear.php.net/package/Services_Amazon/">Services_Amazon</a> package for the given item numbers (he happened to have already) and pulls the results back, looping through them displaying sales rank, title, author, the average rating, and the number of total customer reviews - all in a handy unordered list.
</p>]]></description>
      <pubDate>Thu, 11 Jan 2007 06:59:59 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Tiobe.com: PHP Ranks Fifth in Popularity Contest in August]]></title>
      <guid>http://www.phpdeveloper.org/news/5955</guid>
      <link>http://www.phpdeveloper.org/news/5955</link>
      <description><![CDATA[<p>
As <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26199,nodeid,5.html">PHP Magazine notes</a> today, PHP has come in fifth (again) on the TIOBE Programming Community index.
</p>
<blockquote>
<p>
The TIOBE Programming Community index gives an indication of the popularity of programming languages. The index is updated once a month. The ratings are based on the world-wide availability of skilled engineers, courses and third party vendors. 
</p>
<p>
The popular search engines Google, MSN, and Yahoo! are used to calculate the ratings. Observe that the TPC index is not about the best programming language or the language in which most lines of code have been written.
</p>
</blockquote>
<p>
Those higher on <a href="http://www.tiobe.com/tpci.htm">the list</a> are Java, C, Visual Basic, and C++, though C++ seems to be fading and Visual Basic growing by leaps and bounds. In the long term trends they record, PHP is showing a rising trend, quite a bit up from even just February of this year.
</p>]]></description>
      <pubDate>Fri, 04 Aug 2006 06:20:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[TechEnclave.com: First take on phpBB Olympus]]></title>
      <guid>http://www.phpdeveloper.org/news/5654</guid>
      <link>http://www.phpdeveloper.org/news/5654</link>
      <description><![CDATA[<p>
On TechEnclave.com today, there's <a href="http://www.techenclave.com/forums/first-take-on-phpbb-olympus-74396.html">a new review</a> of the latest version of phpBB, Olympus. In it, <i>Safin</i> take a look at the features, installation, the management setup, and much more.
</p>
<blockquote>
<p>
Finally the much awaited PHPBB Olympus is out as a public beta. In this review i am gonna list my experiences as i test fire the new beta.
</p>
<p>
Ok starting with a bit of history. I first tried phpbb 2 years back and i didn't like it at all. Now with Olympus i reckon we have some real good competetion. It might still not face up feature to feature with vbulletin, but its no pushover either. Considering its free and considering that it enjoys the support of an extensive modding community, i see great things happening with olympus.
</p>
</blockquote>
<p>
They cover <a href="http://www.techenclave.com/forums/first-take-on-phpbb-olympus-74396.html">the normal flow</a> of a user first installing the package:
<ul>
<li>installation (of course)
<li>configuration
<li>the user control panel
<li>the overview and forum management sections
<li>user management
<li>attachment control
<li>styling options
<li>maintenance/system options
<li>viewing the forums/threads
</ul>
</p>
<p>
Quite an exhaustive list, and for <a href="http://www.techenclave.com/forums/first-take-on-phpbb-olympus-74396.html">each item</a> there's a brief bit of opinion by the reviewer on how good it was accomplished and a rating (out of ten) at the bottom of each page.
</p>
]]></description>
      <pubDate>Thu, 22 Jun 2006 06:08:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: Writing an AJAX-based Visual Rating System with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/5573</guid>
      <link>http://www.phpdeveloper.org/news/5573</link>
      <description><![CDATA[<p>
In php|architect's <a href="http://hades.phparch.com/artemis/main/">ART respository</a> today, there's a new article from <i>Marco Tabini</i> himself about the creation of an <a href="http://hades.phparch.com/ceres/public/article/index.php/art::ajax::ajax_rating_system">Ajax rating system</a> for your site.
</p>
<quote>
<i>
A rating system is a great tool for any website. It serves two important purposes: first, it gives your users a way to interact with your pages-and interactivity is an important aspect of any website these days. Second, it provides you with a valuable feedback tool that you can use to gauge viewer interest in individual areas of your site. In other words... everybody wins!
</i>
</quote>
<p>
He <a href="http://hades.phparch.com/ceres/public/article/index.php/art::ajax::ajax_rating_system">explains the concept</a> behind the system before ever getting into any code - a visual representation of the rating users are giving a particular article/posting. With that out of the way, he gets into the HTML first, explaining how the table is laid out before giving the code to pull together the images and form one seamless one representing the correct rating. He also demonstrates the use of a "secret hash" to protect the script against abuse. 
</p>
<p>
Next up, he creates the PHP/SQL backend to handle the Ajax requests coming back in from the page, and setting a cookie to protect (somewhat) against more than one vote. Finally, he gives the Javascript you'll need to create the Ajax connection and relay the JSON message back to the server on the rating the user chose.
</p>
<p>
Of course, <a href="http://hades.phparch.com/artemis/downloads/ajax-rating-system.zip">the code</a> is available for download as well.
</p>]]></description>
      <pubDate>Tue, 13 Jun 2006 06:06:48 -0500</pubDate>
    </item>
  </channel>
</rss>
