[oXygen-sdk] Integrating with eXist
Toma Tasovac
ttasovac at humanistika.org
Sat Oct 22 03:13:54 CDT 2016
Thanks Alex!
All best,
Toma
--
Belgrade Center for Digital Humanities
http://humanistika.org
> 19.10.2016., в 14.53, Alex Jitianu <alex_jitianu at SYNC.RO> написал(а):
>
> Hi Toma,
>
> What you can do right now inside the Data Source Explorer, in an eXist connection, is to import files either by using the dedicated actions or by DnD from the Project view. I guess that eXist itself is, or can be, properly configured to trigger indexing jobs etc.
> If you want to get an experience more tailored to your needs then you can develop an Workspace Access plugin [1]. Such a plugin can contribute side views or toolbar buttons. A good starting point is our Maven-based sample project [2]
> The bad news is that we don't have too much API or extension points on the Data Source Explorer side. This means that while you can use the existing support in the Data Source Explorer there is no way to extend it and add your custom actions that need to interact with eXist will have to use your own modules (who might use the eXist XML:DB <xml:DB> api [3]). You can take a look at Axxepta's (a company that has a lot of experience working with XML databases and Oxygen plugins) Project Argon [4] which is an open source Oxygen plugin that offers support for working with document stored in a BaseX server. Perhaps you can reuse some modules from there and just implement the eXist connection layer...
> [1] https://oxygenxml.com/doc/versions/18.0/ug-editor/concepts/workspace-access-plugin.html <https://oxygenxml.com/doc/versions/18.0/ug-editor/concepts/workspace-access-plugin.html>
> [2] https://oxygenxml.com/oxygen_sdk/oxygen_standalone_plugins.html <https://oxygenxml.com/oxygen_sdk/oxygen_standalone_plugins.html>
> [3] http://exist-db.org/exist/apps/doc/devguide_xmldb.xml <http://exist-db.org/exist/apps/doc/devguide_xmldb.xml>
> [4] https://github.com/axxepta/project-argon <https://github.com/axxepta/project-argon>
> Best regards,
> Alex
> --
> Alex Jitianu
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com <http://www.oxygenxml.com/>
> On 10/19/2016 9:14 AM, Toma Tasovac wrote:
>> Hi.
>>
>> We're looking into having an oXygen plug-in developed which would make it possible to upload local files to eXist-db directly from oXygen. (I'm not talking about opening eXist files in oXygen, but rather about using the local filesystem under version control in oXygen and then occasionally deploying files to eXist).
>>
>> At this point, I'm not looking for complex mirroring of files and hierarchies (especially since our local folder hierarchies do not necessarily correspond to the hierarchies in eXist-db), but a very simple one-on-one thing: a button in oXygen which on click will talk to eXist, deploy the current oXygen file to eXist-db (based on configuration values), trigger a reindex in eXist and notify the user that everything went ok.
>>
>> The plugin should be configurable and allow for multiple deployments (e.g. deploy to local server and then remote, or staging server and production server etc.)
>>
>> Any advice on how best to implement this with the oXygen SDK? We'd like to reuse as much as possible the functionalities that already exist.
>>
>> All best,
>> Toma
>>
>> --
>> Belgrade Center for Digital Humanities
>> http://humanistika.org <http://humanistika.org/>
>>
>>
>> _______________________________________________
>> oXygen-sdk mailing list
>> oXygen-sdk at oxygenxml.com <mailto:oXygen-sdk at oxygenxml.com>
>> https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk <https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk>
>
> _______________________________________________
> oXygen-sdk mailing list
> oXygen-sdk at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-sdk/attachments/20161022/1bd06549/attachment.html>
More information about the oXygen-sdk
mailing list