News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Community News:
Forage - A Search Abstraction Layer
February 08, 2008 @ 11:16:00

A different sort of abstraction layer project has been started up and has already seen a few releases - Forage. As mentioned on Rob Young's blog:

Recently I've been working on a search abstraction library for PHP called Forage. The idea is to bring to search what we've had for relational databases for quite a while, abstraction.

On Friday I put up a preview release with three backends; Solr, Xapian and Zend Search Lucene. At the moment it has the bare minimum of features but there will be more soon. In this post I'm going to talk a little about the motivation for the project and then walk through a short example.

He talks about the need for search abstraction (integration and resilience to change) before getting into an example of some code that grabs the data from an RSS feed, passes it in to the Xapian search engine and stores it before looking it over for thier search terms ("yahoo microsoft").

You can download the library if you'd like to try it out for yourself.

0 comments voice your opinion now!
search abstraction layer project xapian zendlucene solr


blog comments powered by Disqus

Similar Posts

Lukas Smith: Good design is no excuse for wasting time

Volker Dusch's Blog: Setting up Hudson for PHP Projects in 15 minutes

Brian DeShong's Blog: Development process for PHP-based projects

Zend Developer Zone: Security Tip: Use a Database Abstraction Layer to help prevent SQL Injection

Project: phpVirtualBox - VirtualBox Management Tool


Community Events





Don't see your event here?
Let us know!


framework deployment api voicesoftheelephpant community podcast release laravel symfony opinion install bugfix language tips series introduction library interview package list

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework