rom rather humble beginnings as the "P
age" scripting language, PHP has found its way into almost every server, corporation, and dev shop in the world. Yet even with a well-understood language like PHP, building a modern web application requires tools that decrease development time and cost while improving code quality. For PHP coders, Zend Framework offers that promise. This powerful collection of components can be used in part or as a whole to speed up development.
In particular, Zend Framework's search component, Zend_Search_Lucene, is a very powerful tool. This full-text search engine is based on the popular Apache Lucene project, which is a search engine for Java. The index files created by Zend_Search_Lucene are compatible with Apache Lucene, so any of the index-management utilities written for Apache Lucene will work with Zend_Search_Lucene as well.
Chapter 9 of Zend Framework in Action, a comprehensive tutorial that shows how to use Zend Framework to create web-based applications and web services, focuses on searching. Authors Rob Allen, Steven Brown, and Nick Lo introduce Zend_Search_Lucene in this chapter.
Download an early access edition of "Introducing Zend_Search_Lucene," an article based on chapter 9 from Zend Framework in Action.
Courtesy of Manning Publications. All rights reserved.