News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Markus Wolff's Blog:
Fulltext search as a webservice
0 comments :: posted Wednesday May 07, 2008 @ 12:57:47
voice your opinion now!

In a recent blog entry about a fulltext searching solution, Markus Wolff hacked together in a few hours with Zend_Search_Lucene:

While working at some really old code that provided a fulltext search feature, I was at one point incredibly pissed rather unsatisfied due to the fact that said code resisted all attempts to debug it. This lead to the decision to sit down on a rainy weekend to try if I couldn't come up with something more useful, and most importantly, scalable.

His method allowed for separation between the indexing and the main app and how he changes some of his methods when he learned that Solr did something very similar. He also lays out some example XML content and how it's handled in his script (via a SimpleXML object).

tagged with: fulltext search xml document zendsearchlucene zendframework solr


Zend Developer Zone:
Zend Launches Online Documentation Center
0 comments :: posted Monday April 28, 2008 @ 12:04:10
voice your opinion now!

According to this new post on the Zend Developer Zone, its parent company, Zend, has launched their Zend Product Online Documentation Center:

You know when you reach that point when you just don't remember where to configure your Zend Platform Events, how to set up your Tunneling, or what that Zend Core extension does? Well the documentation team at Zend have come up with a way to make all Zend product documentation as easily available as possible, so you can all benefit from our wisdom and experience.

The documentation center is a resource for all things Zendy - information on their products made searchable and easy to browse.

tagged with: online documentation center zend product search index

IBM developerWorks:
Use the YouTube API with PHP
0 comments :: posted Wednesday April 16, 2008 @ 22:42:36
voice your opinion now!

In this new tutorial on the IBM developerWorks website, they show you how - with a little simple HTML and PHP - to integrate functionality from the YouTube API into your site.

The YouTube video sharing site allows Web application developers to access public content through its REST-based developer API. [...] This article introduces the YouTube Data API, demonstrates how you can use it to browse user-generated video content; access video metadata, comments and responses; and perform keyword searches.

They help you get started by outlining the format that the YouTube messages use (Atom feeds) and how to run a query against the API and return back the custom data for things like video categories, popularity and the results of keyword searches.

tagged with: youtube api tutorial category keyword search atom feed

DeveloperTutorials.com:
PHP Site Search Made Easy
0 comments :: posted Monday March 31, 2008 @ 12:35:52
voice your opinion now!

On the Developer Tutorials site today, Akash Mehta has posted his look at having search functionality on your website.

Today's websites have a lot of content. [...] Needless to say, effectively searching all that data can be a real challenge, and chances are at the end of the day you'll still be stuck with a slow and ineffective search system. [...] Implementing effective search doesn't have to be hard. In this tutorial, I'll show you how to build a basic site-specific web search in just five lines of code, using the Yahoo! APIs.

He includes a (very) brief look at the search API Yahoo! offers followed by examples of queries and then on to the real deal, a search system that takes in a user query and asks the Yahoo! API for results matching it. The results are outputted below the box.

tagged with: search engine yahoo api simple tutorial

DevShed:
Building a Complete Web Searching Class with Yahoo Web Services and PHP 5
0 comments :: posted Wednesday February 20, 2008 @ 12:58:00
voice your opinion now!

DevShed finishes up their series looking at making a search engine with the Yahoo! web services in PHP5 in this last look at using the functionality they've created so far to make a more improved search.

This last installment of the series will be entirely focused on demonstrating how Inheritance can be used in a helpful way to build a set of child classes that will come in handy for consuming a specific Yahoo! Search Service.

They show how to use their current image search functionality and, with a few modifications, make a base class that can be used to support ech of the other search types (web, image, video) with common functionality and settings.

tagged with: php5 tutorial webservice yahoo search video image

DevShed:
Using Yahoo Web Services to Perform Searches with an Object-Oriented Approach
0 comments :: posted Tuesday February 12, 2008 @ 13:23:41
voice your opinion now!

To finish up their series looking at using the Yahoo! web service search functionality in a PHP5 application, DevShed has posted this look at integrating the search functionality into a preexisting application.

In simple terms, my plan will consist of creating some compact and modular PHP 5 classes, which will define a few basic methods for working with the different web services offered by Yahoo!.

They take the code they created from before (earlier parts of the series) and format it to fit into its own standalone class that can be included anywhere in an application. They create the class so it can search not only the normal results but it can also pull in the data from the video search Yahoo! offers as well.

tagged with: yahoo search video object oriented oop class integrate

Community News:
Forage - A Search Abstraction Layer
0 comments :: posted Friday February 08, 2008 @ 11:16:00
voice your opinion now!

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.

tagged with: search abstraction layer project xapian zendlucene solr

DevShed:
Defining Some Custom PHP Functions with Yahoo Web Services
0 comments :: posted Tuesday February 05, 2008 @ 11:18:00
voice your opinion now!

DevShed continues their series looking at connecting a PHP5 script to the powerful Yahoo! search backend with part four of the series today. This part focuses on reworking some of the previous examples to make them more modular using custom defined functions.

Logically, these examples can be really useful for learning the basic concepts surrounding the use of these search services, but undoubtedly, it's necessary to modify and improve their source code to make it more compact and completely reusable.

They start the overhaul with the web search (complete with example results) then push on to the video and image searches and work them over the same way.

tagged with: webservice yahoo tutorial php5 search video image function

DevShed:
Implementing Yahoo Image Search Web Service with PHP 5
0 comments :: posted Tuesday January 29, 2008 @ 13:05:08
voice your opinion now!

DevShed has posted the third part of their series looking at accessing the Yahoo! web services via PHP5 scripts. This time it's a focus on using the image search capabilities.

In this third chapter of the series, I'm going to continue exploring in detail other helpful web services offered by Yahoo!, such as those focusing on searching images and videos. Also, I will demonstrate how they can be queried directly from a basic PHP 5 application and process the corresponding search results by utilizing the same group of array handling functions that you saw in the previous article of the series.

Just like in previous articles of the series, they make a simple class that connect to the Yahoo! web services and request search details back about their queries (like "Madonna").

tagged with: php5 implement yahoo webservice image search

Maarten Balliauw's Blog:
LINQ for PHP (Language Integrated Query for PHP)
0 comments :: posted Thursday January 24, 2008 @ 08:45:00
voice your opinion now!

Maarten Balliauw has posted about an interesting new development he's made and is sharing with the PHP community - PHPLinq (Language Integrated Query).

Perhaps you have already heard of C# 3.5's "LINQ" component. LINQ, or Language Integrated Query, is a component inside the .NET framework which enables you to perform queries on a variety of data sources like arrays, XML, SQL server, ... These queries are defined using a syntax which is very similar to SQL. [...] I thought of creating a similar concept for PHP. So here's the result of a few days coding.

The library is available for download and some examples are included to show it in action (both in a simple example and in a more complex search on a series of objects).

tagged with: linq array object search query language phplinq library


code cakephp application conference mysql zendframework PEAR pecl framework PHP5 job zend book ajax database releases security release package developer

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