Re: [basex-talk] BaseX GUI and remote editing

2020-11-16 Thread Christian Grün
Hi Marco,

I guess you’ve already discovered the built-in XQuery editor in the
DBA. It can be used for remote administration of your code, but the
editing facilities are certainly limited (syntax highlighting is
probably the most stunning feature…). We sometimes use it for critical
bug fixes and hot deploys in productive applications.

The BaseX GUI can only be used in fact if all machines have access to
the same shared directory in a server environment.

Hope this helps
Christian



On Fri, Nov 13, 2020 at 3:50 PM Marco Lettere  wrote:
>
> Hello all!
>
> We are in the slightly uncomfortable condition to do some remote coding.
> Means write XQ code that has to be kept on a server different from our PCs.
>
> We don't want to slow down our very agile development workflow by
> passing everytime from a Git repo ...
>
> Has anyone here some experience with remote editing of this kind? Using
> BaseX Gui is out of discussion, isn't it?
>
> Thanks,
>
> Marco.
>


Re: [basex-talk] BaseX GUI and remote editing

2020-11-13 Thread Liam R. E. Quin
On Fri, 2020-11-13 at 15:50 +0100, Marco Lettere wrote:
> Hello all!
> 
> We are in the slightly uncomfortable condition to do some remote
> coding. 
> Means write XQ code that has to be kept on a server different from
> our PCs.
> 
> We don't want to slow down our very agile development workflow by 
> passing everytime from a Git repo ...
> 
> Has anyone here some experience with remote editing of this kind?
> Using 
> BaseX Gui is out of discussion, isn't it?

Depends - you can run programs remotely e.g on the Linux desktop using
X (instead of Wayland), and that should work fine with the BaseX GUI,
assuming it's also on Linux. You run it on the server and display
locally,

https://www.cyberciti.biz/faq/how-to-fix-x11-forwarding-request-failed-on-channel-0/
may help set this up over ssh - the example assumes a CentOS remote
server. There's X11 support also on the Mac although i don't know the
details.

If your connection is too slow, you may find this isn't as effective as
testing locally and then doing a git push.

Another option is a remote file system, such as NFS with Stunnel - see
e.g.
https://www.linuxjournal.com/content/encrypting-nfsv4-stunnel-tls


Liam

-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org



Re: [basex-talk] BaseX GUI and remote editing

2020-11-13 Thread Marco Lettere

Thanks for the hint Bridger.
We would like to stay lightweight thus I'd prefer to not introduce big 
IDEs only for pushing code.
So for the moment (at least for me having Linux) I'll use Nautilus 
(Gnome file browser) to connect to the remote folder containing the code 
and opening files locally with BaseX Gui...  we have to be much more 
careful with coworking and conflict management. But with no build 
process (thanks XQ) and developing in rather isolated sections (thanks 
microservices) may be it could work.

We'll see...
Thanks again.
M.

On 13/11/20 17:33, Bridger Dyson-Smith wrote:

Hi Marco,

I'm sure others will have better thoughts on this, so please take this 
with a grain of salt. Jetbrains IntelliJ (and other IDEs) provide 
Remote Deployment options, and I would think Eclipse would offer 
something similar. I.e. write locally, and then push changes to the 
remote server with a keyboard chord. However, these types of 
connections require SSH or something similar.


I don't know if that's a helpful thought or not.
Best,
Bridger

PS Shameless plug from a happy user: the Jetbrains IDEs can leverage 
Reece Dunn's awesome XQuery plugin.


On Fri, Nov 13, 2020 at 9:50 AM Marco Lettere > wrote:


Hello all!

We are in the slightly uncomfortable condition to do some remote
coding.
Means write XQ code that has to be kept on a server different from
our PCs.

We don't want to slow down our very agile development workflow by
passing everytime from a Git repo ...

Has anyone here some experience with remote editing of this kind?
Using
BaseX Gui is out of discussion, isn't it?

Thanks,

Marco.





Re: [basex-talk] BaseX GUI and remote editing

2020-11-13 Thread Bridger Dyson-Smith
Hi Marco,

I'm sure others will have better thoughts on this, so please take this with
a grain of salt. Jetbrains IntelliJ (and other IDEs) provide Remote
Deployment options, and I would think Eclipse would offer something
similar. I.e. write locally, and then push changes to the remote server
with a keyboard chord. However, these types of connections require SSH or
something similar.

I don't know if that's a helpful thought or not.
Best,
Bridger

PS Shameless plug from a happy user: the Jetbrains IDEs can leverage Reece
Dunn's awesome XQuery plugin.

On Fri, Nov 13, 2020 at 9:50 AM Marco Lettere  wrote:

> Hello all!
>
> We are in the slightly uncomfortable condition to do some remote coding.
> Means write XQ code that has to be kept on a server different from our PCs.
>
> We don't want to slow down our very agile development workflow by
> passing everytime from a Git repo ...
>
> Has anyone here some experience with remote editing of this kind? Using
> BaseX Gui is out of discussion, isn't it?
>
> Thanks,
>
> Marco.
>
>


[basex-talk] BaseX GUI and remote editing

2020-11-13 Thread Marco Lettere

Hello all!

We are in the slightly uncomfortable condition to do some remote coding. 
Means write XQ code that has to be kept on a server different from our PCs.


We don't want to slow down our very agile development workflow by 
passing everytime from a Git repo ...


Has anyone here some experience with remote editing of this kind? Using 
BaseX Gui is out of discussion, isn't it?


Thanks,

Marco.