xmldb for other program languages
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
Quoted text · Philipp Kamps · 24 lines
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 at 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
Quoted text · Philipp Kamps · 23 lines
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 at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
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
Yet another reason to love BaseX - thanks.
Quoted text · Michael Seiferle · 41 lines
On Wed, Mar 10, 2010 at 12:48 AM, Michael Seiferle <michael.seiferle at 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 at mailman.uni-konstanz.de >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > >
Written for BaseX 6. BaseX may have changed since: please check the current documentation.