-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian Grün wrote:
>> This is the script that serializes to (XML), JSON and HTML in
>> existdb
>> 
>> https://gist.github.com/zopyx/eee05f7a421a6c0b6b80
> 
> Thanks. I guess it follows the conversion rules described in [1]?
> 
>> My broader goal is to figure out how to write scripts for both 
>> databases in a compatible way in order to keep the necessary 
>> changes as minimal as possible.
> 
> Makes perfect sense. Do you have a particular opinion or preference 
> when it comes to converting XML to JSON? What are your typical use 
> cases?
> 

I am the found of XML Director

https://xml-director.info/

and I trying to support Base-X and eXist equally. We are currently
rolling out a bigger project and I am checkout how much effort it would
be to moved the RESTXQ layer to BaseX. The underlaying persistence layer
over WebDAV is already working on both databases.

We currently have a handful of JSON scripts doing basic aggregation
for overviews or detail views from within the CMS. Sending JSON back
to the CMS is more natural than having to deal with the same information
as XML inside the CMS. In an upcoming phase of the project we have more
specific and requirements to the XML database and so I am just playing
and looking what is doable and how.

Andreas

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJU5LNXAAoJEADcfz7u4AZjnCwLwJyyqSkUOS/TRgWvfU1rAgEt
h7RlqAbzp99WggPB6Jc1YfxwBq27+JoWolGRUOw+gLFyPIcihiyNMeNI6S0hgmA8
seEMeOUJoX0qjRK/xbkAvVup0jcJ8KTwUuFUHydXzbH6GCgEl8EjygpmwuGqd1LB
raPlCon85POgIaf/ykFIwUHHi4Z96IBvkmqM25MXWRh+YGb9aGlf9PPTEFUcLUgI
cve6q/Eo2SbRZGsGE1BVPUDZgZvtFZdpprtJm/y4HT5RLDs1QL5nvIaRryZyx19z
Q8zsY2mKryFiwNl7NmfDoV3G+aarX5Jq3LW1R12hsR6wYUxTCuCyZ6kKwyKY3SdD
7JlCHd+I9msuJJl19hMOBEYO5RB7nHmTu14wuJOmJ8LWsKRQ90O68xGWU+VaRRID
h6dquWHkSfzcD7QWwOunMKuqHuvw478rQHaYw3ofFuOnHuqhRaYrU7Q9y5oI8KS4
ZZx6UfrMXqsrLmUSGnJARYDtW82+z00=
=niGT
-----END PGP SIGNATURE-----

Reply via email to