Hi,
how could I connect to a BaseX server with PHP?
I probably could implement a "PHP to Java wrapper" around BaseX xml:db or XQJ.
Would a direct communication to the BaseX server make more sense? So open a socket in PHP and implement a PHP API on top of the protocol BaseX uses? I tried to gather some info about that protocol but couldn't find much.
What's your recommendation? Should I drop that idea completely?
Regards, Philipp
Hi Philipp,
we just finished writing language bindings in several languages which are using direct connection with sockets. Currently available are versions in PHP, Python, Ruby and Perl. The PHP Version is in use in our own live demo on the website. Check it out at: https://svn.uni-konstanz.de/dbis/basex/trunk/api/etc/
Kind regards, Andreas
Philipp Kamps schrieb:
Hi,
how could I connect to a BaseX server with PHP?
I probably could implement a "PHP to Java wrapper" around BaseX xml:db or XQJ.
Would a direct communication to the BaseX server make more sense? So open a socket in PHP and implement a PHP API on top of the protocol BaseX uses? I tried to gather some info about that protocol but couldn't find much.
What's your recommendation? Should I drop that idea completely?
Regards, Philipp _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Dear Philipp,
you might want to check out: https://svn.uni-konstanz.de/dbis/basex/trunk/api/etc/php/ It communicates via sockets, so results are returned as plain strings.
Feel free to ask more!
Regards, Michael
Am 10.03.2010 um 09:01 schrieb Philipp Kamps:
Hi,
how could I connect to a BaseX server with PHP?
I probably could implement a "PHP to Java wrapper" around BaseX xml:db or XQJ.
Would a direct communication to the BaseX server make more sense? So open a socket in PHP and implement a PHP API on top of the protocol BaseX uses? I tried to gather some info about that protocol but couldn't find much.
What's your recommendation? Should I drop that idea completely?
Regards, Philipp _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Yet another reason to love BaseX - thanks.
On Wed, Mar 10, 2010 at 12:48 AM, Michael Seiferle michael.seiferle@uni-konstanz.de wrote:
Dear Philipp,
you might want to check out: https://svn.uni-konstanz.de/dbis/basex/trunk/api/etc/php/ It communicates via sockets, so results are returned as plain strings.
Feel free to ask more!
Regards, Michael
Am 10.03.2010 um 09:01 schrieb Philipp Kamps:
Hi,
how could I connect to a BaseX server with PHP?
I probably could implement a "PHP to Java wrapper" around BaseX xml:db or XQJ.
Would a direct communication to the BaseX server make more sense? So open a socket in PHP and implement a PHP API on top of the protocol BaseX uses? I tried to gather some info about that protocol but couldn't find much.
What's your recommendation? Should I drop that idea completely?
Regards, Philipp _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de