Is there a better way to do develop or test with c/s mode server?
Sunday, 17 November 2013 · 3 messages · last reply 13 Dec 2013
E
easy17 Nov 2013 07:42 #
Hi, all
I found the Gui can only work with local mode, but I want do some xquery test / sandbox with basex server, only found can do in client mode, Is there some other way ?esp for restful web mode.
thanks
--
此致
easy
莫愁前路无知己,天下谁人不识君。
CG
Christian Grün17 Nov 2013 13:03 #
Quoted text · easy · 3 lines
> I found the Gui can only work with local mode, but I want do some xquery > test / sandbox with basex server, only found can do in client mode, Is there > some other way ?esp for restful web mode.
That’s true. We have no existing web admin interface for BaseX, but if you want to perform simple queries on a server, you can create a simple web page which executes queries via REST [1].
[1] http://docs.basex.org/wiki/REST
Quoted text · easy · 18 lines
> > thanks > > > -- > 此致 > > easy > > 莫愁前路无知己,天下谁人不识君。 > > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
JW
James Wright13 Dec 2013 18:24 #
A great online open source editor is ace.js. There is XQuery 3.0 compliant language processor for it, plus its styleable and again open source. Supports 20+ languages including but not limited too: CSSHTMLJavaC#PythonRubyPHPJavascriptXQuery 3.0
etc.
Also its extremely extensible. To add it to a page is a few lines of javascript and one or 2 script references. One for the ace editor, one for the language processor. Language processors can allow for a plethora of functionality including type-ahead etc.. You could easily add BaseX, or your Apps model to the processing for validation etc... Just thought I would share. - James
Quoted text · Christian Grün · 39 lines
> From: christian.gruen at gmail.com > Date: Sun, 17 Nov 2013 13:03:55 +0100 > To: lin_xd at 126.com > CC: basex-talk at mailman.uni-konstanz.de > Subject: Re: [basex-talk] Is there a better way to do develop or test with c/s mode server? > > > I found the Gui can only work with local mode, but I want do some xquery > > test / sandbox with basex server, only found can do in client mode, Is there > > some other way ?esp for restful web mode. > > That’s true. We have no existing web admin interface for BaseX, but if > you want to perform simple queries on a server, you can create a > simple web page which executes queries via REST [1]. > > [1] http://docs.basex.org/wiki/REST > ___________________________ > > > > > thanks > > > > > > -- > > 此致 > > > > easy > > > > 莫愁前路无知己,天下谁人不识君。 > > > > > > > > _______________________________________________ > > BaseX-Talk mailing list > > BaseX-Talk at mailman.uni-konstanz.de > > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Written for BaseX 7.7. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery