PHP interface reloaded

"Markus Hoenicka" <[email protected]> Fri, 21 Sep 2007 00:47:41 +0200
Newsgroups gmane.text.refdb.general
Message-ID <[email protected]>
Hi all,

thanks to the efforts of Dan and Dominik there is a revamped PHP
interface in the svn repository. After importing their work, I've made
a few changes:

- I've replaced the exec() calls with calls to a new object-oriented
  RefDB client library. The latter is currently just a wrapper around
  the appropriate shell commands that call the C clients, but it can
  be replaced at a later time with a version using direct socket
  communication with refdbd without having to alter the calls (except
  for the constructor).

- I've also fixed the code that tests for a RIS file. The check now
  skips leading empty lines, as per the "spec" each RIS dataset starts
  with a newline - even at the start of a file.

I've managed to search, edit, and add datasets without a hitch. I
still see a few rough edges though, so I'd like to ask everyone to get
out their PHP skills and have a look at the code. To simplify testing
I'll try to finish a prerelease on the weekend, including a first shot
at the documentation of the PHP interface.

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/