[MonetDB-users] MonetDB as server side environment
Hi, I'm thinking about moving some applications I have running in eXist to MonetDB, just to gauge performance and possibilities. These applications take parameters from the querystring, is there an example of accessing the querystring in a MonetDB Xquery XQL file when it runs? Best Regards, Bryan Rasmussen
Hello Bryan, First of all, thanks for your interest in MonetDB/XQuery. I don't know whether you already got an answer to your question, but I only read this message now, and didn't see a follow-up. To answer your question: there are currently no additional build-in functions in MonetDB/XQuery that allow accessing querystrings of webserver requests. The current extensions to the XQuery language are documented at http://www.monetdb.nl/projects/monetdb/XQuery/Documentation/XQuery-Extension s.html However, there might be solutions to your problem; you might for example have a look at http://www.monetdb.nl/projects/monetdb/XQuery/Documentation/CGI-binding-for- _002exq-files.html which provides a script which builds XQueries based on a querystring and an XQuery template. Another, perhaps little bit (un)related, topic you might want to have a look at is the XRPC extension which, besides doing distributed queries, also allows you to interact with MonetDB/XQuery through SOAP messages. http://www.monetdb.nl/projects/monetdb/XQuery/Documentation/XRPC-Extension.h tml Final remark: from your message I understand that you want to send the requests from the WWW directly to a MonetDB/XQuery server. I do want to warn you that this is probably not a desired situation. As MonetDB started out as a research vehicle, the issues around security got less attention. Hope this helps, Wouter -----Original Message----- From: monetdb-users-bounces@lists.sourceforge.net [mailto:monetdb-users-bounces@lists.sourceforge.net] On Behalf Of bryan rasmussen Sent: woensdag 14 mei 2008 16:19 To: Communication channel for MonetDB users Subject: [MonetDB-users] MonetDB as server side environment Hi, I'm thinking about moving some applications I have running in eXist to MonetDB, just to gauge performance and possibilities. These applications take parameters from the querystring, is there an example of accessing the querystring in a MonetDB Xquery XQL file when it runs? Best Regards, Bryan Rasmussen ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
participants (3)
-
bryan rasmussen
-
Fabian Groffen
-
Wouter Alink