<?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>Fri, 08 Aug 2008 16:20:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Community News: Yahoo! Launches SearchMonkey (Search Platform)]]></title>
      <guid>http://www.phpdeveloper.org/news/10257</guid>
      <link>http://www.phpdeveloper.org/news/10257</link>
      <description><![CDATA[<p>
At the Developer Tutorials blog mentions, a <a href="http://www.developertutorials.com/blog/javascript/yahoo-searchmonkey-revisiting-php-platform-style-181/">new offering</a> from Yahoo! is making it simple to "spice up" the results for your site when someone searches for it - <a href="http://toys.lerdorf.com/archives/48-SearchMonkey.html">Yahoo! Searchmonkey</a>. It's a PHP-based platform for creating an application that's returned inline with the search results.
</p>
<p>
<i>Rasmus Lerdorf</i> has <a href="http://toys.lerdorf.com/archives/48-SearchMonkey.html">an example</a> of the potential output for a search returning a restaurant's name, links to its menu/wine list, reviews and a link to make a reservation.
</p>
<p>
There's lots of fun things to do with this tool - check out <a href="http://developer.yahoo.com/searchmonkey/">the developer page</a> for more information and grab the <a href="http://developer.search.yahoo.com/">developer tool</a> to jump in and get started building your own custom result.
</p>]]></description>
      <pubDate>Fri, 23 May 2008 12:09:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Fetching Search Results as Serialized Arrays with Yahoo Web Services and PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/9431</guid>
      <link>http://www.phpdeveloper.org/news/9431</link>
      <description><![CDATA[<p>
DevShed has continued their series looking at using the Yahoo! web services with PHP5 in <a href="http://www.devshed.com/c/a/PHP/Fetching-Search-Results-as-Serialized-Arrays-with-Yahoo-Web-Services-and-PHP-5/">part two</a> - their look at returning the results of a query in serialized arrays.
</p>
<blockquote>
I'll show you how to parse the results returned by a determined web search service using a few array PHP processing functions. [...] Let's learn how to fetch results returned by the different Yahoo! Search Web Services in the form of serialized PHP arrays
</blockquote>
<p>
You'll probably want to check out <a href="http://www.phpdeveloper.org/news/9375">part one</a> of the series before forging on to this second installment - there's a lot of good introductory information in there. With all of that information ingested, you'll have no problem following along with this next part.
</p>
<p>
They show how to get the results back from a search in an XML format and how, with the simple addition of an optional "output" parameter, can get the same information back in something PHP can natively use (the arrays).
</p>]]></description>
      <pubDate>Wed, 16 Jan 2008 07:51:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Paginating Result Sets for a Search Engine Built with MySQL and PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/8371</guid>
      <link>http://www.phpdeveloper.org/news/8371</link>
      <description><![CDATA[<p>
DevShed continues their look at creating a search engine (after <a href="http://www.phpdeveloper.org/news/8362">part one</a>) with <a href="http://www.devshed.com/c/a/MySQL/Paginating-Result-Sets-for-a-Search-Engine-Built-with-MySQL-and-PHP-5/">this next tutorial</a> in the series. It focuses on the pagnation of the results from the search query.
</p>
<blockquote>
In this second tutorial of the series I'm going to show you how to add some crucial characteristics to the previously-developed search engine. These include the implementation of paginated results and the ability to perform Boolean searches.
</blockquote>
<p>
They build on <a href="http://www.devshed.com/c/a/MySQL/Paginating-Result-Sets-for-a-Search-Engine-Built-with-MySQL-and-PHP-5/1/">the code</a> from the previous tutorial and add in some simple pagination functionality by changing up the Result class to handle things like counting rows and displaying only a certain number of results at a time. To help make the pagination easier, they've also included a method to keep the search term constant across each page of the results - a custom session handler.
</p>]]></description>
      <pubDate>Wed, 01 Aug 2007 13:41:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Nick Halstead's Blog: PHP Competition Results - Third Place (Karol Grecki)]]></title>
      <guid>http://www.phpdeveloper.org/news/8286</guid>
      <link>http://www.phpdeveloper.org/news/8286</link>
      <description><![CDATA[<p>
As <a href="http://www.phpdeveloper.org/news/8281">previously mentioned</a>, <i>Nick Halstead</i> will be revealing the top three places in the results from the programming competition he was hosting. Today starts the top three list with third place - an entry from <i>Karol Grecki</i>:
</p>
<blockquote>
I was really impressed with Karol's entry and if it was not for the fact that it did not 'run out of the box' it would have been a close cut thing to be the winner. The fact is that because it was a pain to get running the two other judges only gave it 1 point each.
</blockquote>
<p>
<a href="http://blog.assembleron.com/2007/07/19/php-competition-results-third-place/>The post</a> includes <i>Karol</i>'s solution - a method that involved using the Zend Framework as a backdrop. You can see the application in action on <a href="http://words.zewfu.com/">Karol's website</a> or just <a href="http://blog.assembleron.com/codebank/competition/karolgrecki.zip">download the code</a> and play along at home.
</p>]]></description>
      <pubDate>Thu, 19 Jul 2007 08:07:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: XAMPP Usage Survey Results Posted]]></title>
      <guid>http://www.phpdeveloper.org/news/7942</guid>
      <link>http://www.phpdeveloper.org/news/7942</link>
      <description><![CDATA[<p>
As per <a href="http://hades.phparch.com/hermes/public/viewnews/index.php?id=3424">php|architect</a> the XAMPP Group has released <a href="http://www.apachefriends.org/files/surveys/af-survey-2007-raw.pdf">ther results of a survey</a> for users of the package.
</p>
<p>
Included in the spotlights of the results were things like:
</p>
<ul>
<li>Almost half of the XAMPP users would like to also have ASP.NET bundled with XAMPP
<li>XAMPP is popular not only in private use (91%) but also in the non-profit and educational sectors
<li>XAMPP users are generally pretty neutral when it comes to frameworks and add-on packages like phpBB and Wordpress being bundled with the package
<li>Over half would like to see PostgreSQL bundled also, not just MySQL
</ul>]]></description>
      <pubDate>Thu, 31 May 2007 09:31:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Dave Dash's Blog: Boosting terms in Zend Search Lucene]]></title>
      <guid>http://www.phpdeveloper.org/news/7935</guid>
      <link>http://www.phpdeveloper.org/news/7935</link>
      <description><![CDATA[<p>
On the SpinDrop blog today, <i>Dave Dash</i> continues his look at the Lucene search engine for the Zend Framework with <a href="http://spindrop.us/2007/05/29/boosting-terms-in-zend-search-lucene/">this new post</a> showing how to boost certain terms' relevance in the search results.
</p>
<blockquote>
<a href="http://framework.zend.com/manual/en/zend.search.html">Lucene</a> supports boosting or weighting terms. For example, if I search for members of a web site, and I type in Dash, I want people with the name Dash to take precedence over somebody who has a hobby of running the 50-yard Dash.
</blockquote>
<p>
He <a href="http://spindrop.us/2007/05/29/boosting-terms-in-zend-search-lucene/">shows how</a> to, with the help of a few simple lines of PHP code added to your application, you can easily boost terms based on field by whatever multiplier you choose.
</p>]]></description>
      <pubDate>Wed, 30 May 2007 08:49:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hasin Hayder's Blog: Counting occurrence of a word in a String - Benchmarking of PHP functions]]></title>
      <guid>http://www.phpdeveloper.org/news/7732</guid>
      <link>http://www.phpdeveloper.org/news/7732</link>
      <description><![CDATA[<p>
In an effort to add to the ever-growing list of "keeping it simple" benchmarks out there, <i>Hasin Hayder</i> presents <a href="http://hasin.wordpress.com/2007/04/30/counting-occurrence-of-a-word-in-a-string-benchmarking-of-php-functions/">his own results</a> for the task of fining the number of times a word occurs in a given string.
</p> 
<blockquote>
Today I was just thinking what are the possible ways to count the occurrence of a specific word inside a string. I found some possible ways finally and I just benchmarked them. Wanna see the result?? - for sure you will find it interesting too.
</blockquote>
<p>
Methods range from a simple split() and count() call out to using the regular expression functions to locate the matches. After running it four times (to check for accuracy), he the stats were pretty much the same. It looks like the substr+count method was the fastest overall with last place falling to the array function method.
</p>]]></description>
      <pubDate>Mon, 30 Apr 2007 10:42:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: Ideas for PHPUnit Projects]]></title>
      <guid>http://www.phpdeveloper.org/news/7344</guid>
      <link>http://www.phpdeveloper.org/news/7344</link>
      <description><![CDATA[<p>
Always looking forward to the future of <a href="http://www.phpunit.de/">PHPUnit</a>, <i>Sebastian Bergmann</i> has <a href="http://sebastian-bergmann.de/archives/660-Ideas-for-PHPUnit-Projects.html">started gathering</a> some ideas for future additions to the project:
</p>
<blockquote>
I started to collect <a href="http://www.phpunit.de/wiki/Ideas">ideas for features that I would like to see</a> in <a href="http://www.phpunit.de/">PHPUnit</a> but currently lack the time to implement myself.
</blockquote>
<p>
The two listed in <a href="http://sebastian-bergmann.de/archives/660-Ideas-for-PHPUnit-Projects.html">this post</a> are:
<ul>
<li><a href="http://en.wikipedia.org/wiki/Mutation_testing">Mutation testing</a> - an approach where the testing tool makes some change to the tested code, runs the tests, and if the tests pass displays a message saying what it changed
<li>Web Interface for Test Result Database - output viewer for the <A href="http://sebastian-bergmann.de/archives/659-Distributed-Testing-with-PHPUnit-3.1.html">database logging</a> PHPUnit is now capable of.
</ul>
Looking to help out? <a href="http://www.phpunit.de/wiki/MailinglistsAndIrc">Let him know</a>!
</p>]]></description>
      <pubDate>Mon, 26 Feb 2007 11:26:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Using Directory Iterators and MySQL with Adapter Objects with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6887</guid>
      <link>http://www.phpdeveloper.org/news/6887</link>
      <description><![CDATA[<p>
Continuing on from the <a href="http://www.phpdeveloper.org/news/6839">first part</a> of the series looking at the use of Adapter objects, DevShed has posted <a href="http://www.devshed.com/c/a/PHP/Using-Directory-Iterators-and-MySQL-with-Adapter-Objects-with-PHP/">part two</a> today - using the Adapter objects along with Directory Iterators to integrate with a MySQL database.
</p>
<blockquote>
Provided that you understand the basic concepts of the adapter pattern, in this final tutorial, I'll show you how to use it in conjunction with the "DirectoryIterator" class, bundled with PHP 5, and with a couple of MySQL wrappers as well.
</blockquote>
<p>
They jump right in (as was said, assuming you read the <a href="http://www.phpdeveloper.org/news/6839">previous article</a>) to using the directory iterators and the adapters together to make a class that gets information about the files in a directory. They take this and show a sample use that's then transformed into a class capable of using the same logic on MySQL results.
</p>]]></description>
      <pubDate>Wed, 13 Dec 2006 14:10:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Working with MySQL Result Sets and the Decorator Pattern in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6206</guid>
      <link>http://www.phpdeveloper.org/news/6206</link>
      <description><![CDATA[<p>
DevShed continues its look at the Decorator pattern with <a href="http://www.devshed.com/c/a/PHP/Working-with-MySQL-Result-Sets-and-the-Decorator-Pattern-in-PHP/">this new article today</a> talking about working with MySQL result sets inside of the structure of the Decorator pattern.
</p>
<blockquote>
Definitely, the pattern in question can be used for generating different types of outputs (or views) based on a returned result set, by using a few decorator classes that I'll define in the course of this tutorial. Hopefully, when you finish reading these lines, you should have a clear idea of how to include decorator classes in your object-based PHP applications.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Working-with-MySQL-Result-Sets-and-the-Decorator-Pattern-in-PHP/">start off</a> by showing how they're going to handle the MySQL result sets normally with a class and how to use that class in an example. Finally, they tie all of that in with the Decorator pattern, creating multiple Decorator classes to handle the various MySQL result set types.
</p>]]></description>
      <pubDate>Wed, 06 Sep 2006 06:58:38 -0500</pubDate>
    </item>
  </channel>
</rss>
