PHPClasses.org Ajax Upgrade
PHPClasses.org, a useful tool for locating PHP classes, has upgraded its search. There are a couple of Ajax goodies. Search results appear as a set of tabs - Packages, Reviews, Forum, etc, and the results for each tab are obtained via remote calls. Likewise for result pagination. There’s also a Suggestion/Auto-Completion feature in the search bar - a site like this is probably a good place for Suggestions, to help explore all the library code out there without knowing precise terms to search for.
The idea is to provide a better organization of the search results. It
is an alternative to the traditional search result pages that present
pages from all site sections in mixed in a single listing.AJAX is used to retrieve the results from different sections when the
users click on the respective section tab.The search form also provides auto-completion support. It uses AJAX to
query the site server database and retrieve the top ten most searched
keywords that begin with the first letters typed by the user.The site search also uses an animation Javascript class to add a nice
touch of style using fade effects to the AJAX based page updates of the
search results and progress feedback messages.The PHP and Javascript components used in the site to implement these
AJAX and DHTML features are available as Open Source as mentioned in
this PHPClasses site blog post.
Read more about the PHPClasses.org upgrade in Manuel Lemos’s announcement.
