[Xapian-discuss] PHP bindings

James Aylett james-xapian at tartarus.org
Mon Oct 2 13:22:37 BST 2006


On Mon, Oct 02, 2006 at 12:32:12PM +0100, Olly Betts wrote:

> So if you use the Xapian bindings under PHP4 (not PHP5!), do you think
> the pain of updating your code is worth the gain from the more OO-like
> API?  If there was a simple script which did most of the work of
> updating your scripts, would that change your opinion?

If it's a significant pain, it would be possible to write a pure-PHP4
wrapper for the flat function names that mapped to the OO style,
wouldn't it? Programmatically from xapian.i, in fact...

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list