<?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, 28 Aug 2008 23:52:38 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ProDevTips.com: jQuery JSON with PHP json_encode and json_decode]]></title>
      <guid>http://www.phpdeveloper.org/news/10847</guid>
      <link>http://www.phpdeveloper.org/news/10847</link>
      <description><![CDATA[<p>
On the ProDevTips blog, <i>Henrik</i> <a href="http://www.prodevtips.com/2008/08/15/jquery-json-with-php-json_encode-and-json_decode/">shows an example</a> of the "perfect combination" of PHP's json functionality and a powerful javascript library, <a href="http://www.jquery.com">jQuery</a>.
</p>
<blockquote>
Today I looked for a replacement for my old jspanserializer.js script that I can't even remember where I found anymore. Turns out that I wont have to either, I can forget it. From now on I'll use <a href="http://code.google.com/p/jquery-json/">jQuery JSON</a> instead.
</blockquote>
<p>
A code example <a href="http://www.prodevtips.com/2008/08/15/jquery-json-with-php-json_encode-and-json_decode/">is included</a> to show the simplicity.
</p>]]></description>
      <pubDate>Mon, 18 Aug 2008 10:22:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: Building a Better BlogRoll: Dynamic Fun with SimplePie and jQuery]]></title>
      <guid>http://www.phpdeveloper.org/news/10822</guid>
      <link>http://www.phpdeveloper.org/news/10822</link>
      <description><![CDATA[<p>
In <a href="http://nettuts.com/javascript-ajax/building-a-better-blogroll-dynamic-fun-with-simplepie-and-jquery/">this recent tutorial</a> from the NETTUTS website, they show how to "build a better blogroll" by combining the client-side power of jQuery with the simplicity of the SimplePie aggregation tool.
</p>
<blockquote>
A traditional blogroll is a simple list of other sites, often in the sidebar, that are related, owned by, or otherwise friendly to the home site. Blogrolls are a great idea and on-point with the spirit of blogging, but how is a casual reader to know if any of these sites are truly of interest? Let's improve upon the concept of a blogroll by not just listing sites, but dynamically pulling recent headlines from them, and using some fun jQuery animation.
</blockquote>
<p>
<a href="http://nettuts.s3.amazonaws.com/036_BetterBlogRoll/sourceFiles.zip">Their code</a> (<a href="http://nettuts.s3.amazonaws.com/036_BetterBlogRoll/sourceFiles/index.html">demo here</a>) uses a CSS-based layout and simple pagination to switch between multiple groupings of RSS feed content.
</p>]]></description>
      <pubDate>Wed, 13 Aug 2008 10:23:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPImpact Blog: PHP Simple HTML DOM Parser (jQuery Style)]]></title>
      <guid>http://www.phpdeveloper.org/news/10793</guid>
      <link>http://www.phpdeveloper.org/news/10793</link>
      <description><![CDATA[<p>
On the PHP::Impact blog today <i>Federico</i> <A href="http://phpimpact.wordpress.com/2008/08/07/php-simple-html-dom-parser-jquery-style/">points out</a> a few HTML DOM parsers that work similar to <a href="http://www.jquery.com">jQuery</a>:
</p>
<ul>
<li>the <a href="http://simplehtmldom.sourceforge.net/">Simple HTML DOM Parser</a>
<li><a href="http://framework.zend.com/manual/en/zend.dom.query.html">Zend_Dom_Query</a>
<li><a href="http://code.google.com/p/phpquery/">phpQuery</a>
</ul>
<p>
Check out a <a href="http://www.developertutorials.com/blog/php/easy-screen-scraping-in-php-simple-html-dom-library-simplehtmldom-398/">previous tutorial</a> of his for more information on using DOM parsers to scrape information from remote sites.
</p>]]></description>
      <pubDate>Fri, 08 Aug 2008 12:03:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: Creating a Dynamic Poll with jQuery and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10686</guid>
      <link>http://www.phpdeveloper.org/news/10686</link>
      <description><![CDATA[<p>
The NETTUTS.com website has a <a href="http://nettuts.com/javascript-ajax/creating-a-dynamic-poll-with-jquery-and-php/">new tutorial</a> posted that combines PHP and AJAX (using the the <a href="http://jquery.com">jQuery</a> library specifically) to create a simple dynamic poll.
</p>
<blockquote>
When you combine some neat functionality courtesy of PHP with the cleverness of jQuery you can produce some pretty cool results. In this tutorial we'll create a poll using PHP and XHTML, then make use of some jQuery Ajax effects to eliminate the need for a page refresh, and to give it a nice little bit of animation.
</blockquote>
<p>
The PHP handles defining the question, answers and the functionality to load, submit and return the current results (number of votes) back to the javascript. The communication between the PHP and javascript is a JSON message made simple thanks to PHP's <a href="http://php.net/json_encode">json_encode</a> function.
</p>
<p>
You can <a href="http://nettuts.s3.amazonaws.com/026_Poll/demo.zip">download the source</a> or check out a <a href="http://nettuts.com/demos/test_poll/">live demo</a> to see how it all fits together.
</p>]]></description>
      <pubDate>Fri, 25 Jul 2008 10:22:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[CSS Tricks: Create a Slick iPhone/Mobile Interface from any RSS Feed]]></title>
      <guid>http://www.phpdeveloper.org/news/10627</guid>
      <link>http://www.phpdeveloper.org/news/10627</link>
      <description><![CDATA[<p>
On the CSS Tricks blog there's a <a href="http://css-tricks.com/create-a-slick-iphonemobile-interface-from-any-rss-feed/">recent article</a> showing how to combine the <a href="http://www.jquery.com">jQuery</a> Javascript library and the <a href="http://simplepie.org/">SimplePie</a> PHP feed aggregator to create a iPhone/mobile interface to any RSS feed.
</p>
<blockquote>
We are going to create a web page that is formatted specifically for the iPhone (but would presumably be good for other mobile devices as well). This web page will dynamically fill itself with content from any RSS feed that you give it. The interface is going to be built to be easy to use on a mobile device, with large "touchable" areas and nice (jQuery) animations that whisk you between articles.
</blockquote>
<p>They work through the process - five simple steps:</p>
<ul>
<li>Create the iPhone Environment
<li>Pull in the RSS Feed
<li>Creating the Front Page: Headlines Only
<li>Creating the Article Pages: jQuery Slider Style
<li>Adding Some Flair
</ul>
<p>
All code and images needed are included (as well as <a href="http://css-tricks.com/examples/iPhoneInterfaceFromRSS/">a demo</a> if you'd like to try it out).
</p>]]></description>
      <pubDate>Thu, 17 Jul 2008 10:22:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ProDevTips Blog: Nice ZF, jQuery and Smarty combo]]></title>
      <guid>http://www.phpdeveloper.org/news/10439</guid>
      <link>http://www.phpdeveloper.org/news/10439</link>
      <description><![CDATA[<p>
On the ProDevTips blog, there's a <a href="http://www.prodevtips.com/2008/06/19/nice-zf-jquery-and-smarty-combo/">quick post</a> with an example of a Zend Framework/jQuery and Smarty combination he came across while working up a CMS system:
</p>
<blockquote>
The result is an interface where an administrator can settle money transfers. It will start with displaying a list of all requested transfers, when the administrator has manually finished transferring cash to each recipient's account he can use this interface to update the database.
</blockquote>
<p>
He briefly explains the code, a combination of a jQuery function run on page load, a Smarty template for each transfer's information and the backend code through the Zend Framework to handle the requests issued from the button click.
</p>]]></description>
      <pubDate>Thu, 19 Jun 2008 09:33:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisendorfer's Blog: With jQuery & CakePHP to World Domination (Slides)]]></title>
      <guid>http://www.phpdeveloper.org/news/9709</guid>
      <link>http://www.phpdeveloper.org/news/9709</link>
      <description><![CDATA[<p>
<i>Felix Geisendorfer</i> has <a href="http://www.thinkingphp.org/2008/02/26/with-jquery-cakephp-to-world-domination-slides/">posted his slides</a> from his presentation at this year's CakeFest covering the powerful combination of jQuery and the CakePHP framework.
</p>
<blockquote>
Sorry this took so long, but here you can download the <a href="http://thinkingphp.org/downloads/world%20domination.talk.pdf">PDF</a> or the much better <a href="http://thinkingphp.org/downloads/world%20domination.talk.key.zip">Keynote</a> version of my slides.
</blockquote>
<p>
He also has an embedded Slideshare player on <a href="http://www.thinkingphp.org/2008/02/26/with-jquery-cakephp-to-world-domination-slides/">the post</a> of you want to check out the presentation without the download.
</p>]]></description>
      <pubDate>Wed, 27 Feb 2008 08:47:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Alex Netkachov's Blog: PHP fluent API tips]]></title>
      <guid>http://www.phpdeveloper.org/news/8920</guid>
      <link>http://www.phpdeveloper.org/news/8920</link>
      <description><![CDATA[<p>
In response to <i>Travis Swicegood</i>'s <a href="http://www.phpdeveloper.org/news/8917">post about fluent APIs</a>, <i>Alex Netkachov</i> has <a href="http://www.alexatnet.com/node/98">added some of his own examples</a> to the topic from the Zend Framework and the popular Javascript library, jQuery.
</p>
<blockquote>
In his <a href="http://www.travisswicegood.com/index.php/2007/10/26/fluent_api_here_i_come">recent post</a> Travis Swicegood is talking about the "Fluent API". This kind of API is very popular in scripting languages and I use it during my work with <a href="http://framework.zend.com/">Zend Framework</a> or <a href="http://jquery.com/">jQuery</a> projects. Another good example of such technique is <a href="http://www.w3.org/DOM/">Document Object Model</a> API.
</blockquote>
<p>
His <a href="http://www.alexatnet.com/node/98">examples</a> show the method chaining that's the hallmark of fluent interfaces. Unfortunately, there's no good way to just make an object and call a fluent interface on it in PHP, so <i>Alex</i> suggests a simple little wrapper (that just returns the object) to make it easier.
</p>]]></description>
      <pubDate>Mon, 29 Oct 2007 07:57:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SEO Expert Blog:  Creating Amazon Ads that Rock with jQuery and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8404</guid>
      <link>http://www.phpdeveloper.org/news/8404</link>
      <description><![CDATA[<p>
From the SEO Expert Blog, there's a <a href="http://www.seo-expert-blog.com/blog/creating-amazon-ads-that-rock-with-jquery-and-php">new tutorial</a> focusing on making "Amazon ads that rock" by combining jQuery and PHP.
</p>
<blockquote>
Are you sick of annoying ads that take up large parts of the screen, pop up, under or anywhere else, move around, blink and flash? You want to learn how to create ads that rock with a few lines of simple JavaScript and PHP code? Then let me show you how.
</blockquote>
<p>
He shows his method for the creation of his unobtrusive ads with the advertising content that Amazon <a href="http://affiliate-program.amazon.com/">has to offer</a>. The process is broken up into four steps:
</p>
<ul>
<li>The Data Structure - an array of arrays with the Amazon information for the items (in this case books)
<li>Converting the PHP Array to JavaScript - using a Drupal module to assign the PHP array to a Javascript variable
<li>The HTML Output - a function that outputs a "block" of ads
<li>The JavaScript - the jQuery Javascript code to handle the clicks on each of the links.
</ul>
<p>
You can see it in action at the top of the right sidebar <a href="http://www.seo-expert-blog.com/blog/creating-amazon-ads-that-rock-with-jquery-and-php">on the SEO Expert website</a>.
</p>]]></description>
      <pubDate>Tue, 07 Aug 2007 10:16:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Wiadomosc.info: phpQuery - jQuery port for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8076</guid>
      <link>http://www.phpdeveloper.org/news/8076</link>
      <description><![CDATA[<p>
A new project has been pointed out to us today - <a href="http://wiadomosc.info/plainTemplate/">phpQuery</a>, a port of jQuery to PHP:
</p>
<blockquote>
phpQuery is PHP-port of well known and great web2.0 JS library, which <a href="http://jquery.com/">jQuery</a> is. It's not something like <a href="http://projects.cyberlot.net/trac/jqpie/wiki">JQPie</a>, which is form of JS code generator and server-client layer.
</blockquote>
<p>
They include a <a href="http://wiadomosc.info/plainTemplate/">short example</a> of adding content to a page (a new list element) that uses the DOM extension in PHP5 to make the action happen. You can check out the library as a part of their <a href="http://wiadomosc.info/plainTemplate/plainTemplate-0.1-alpha.zip">plainTemplate package</a>.
</p>]]></description>
      <pubDate>Tue, 19 Jun 2007 09:20:00 -0500</pubDate>
    </item>
  </channel>
</rss>
