On Sun, May 10, 2015 at 1:27 AM, Adam Retter <[email protected]> wrote: >> To answer your last question, there is a typescript implementation of >> JSONiq that started here: https://github.com/wcandillon/jsoniq. >> It will be interesting to see the reception in the NoSQL and HTML5 >> community when this project will be a bit more mature. >> >> It implements JSONiq updates and update composition on top of >> IndexedDB. The end goal is to query/update IndexedDB and implement a >> versioning system between IndexedDB and the cloud. Compiled queries >> can run as standalone JavaScript programs: it's very lightweight. >> It is tested against both browsers and nodejs. > > That's awesome and exactly the sort of good fit for JSONiq that I > expected to be adopted by the JavaScript community. > > I wondered in terms of JSONiq support whether it is possible to do > without IndexedDB, i.e. just be able to query JSON files and/or JSON > coming in over the http (via AJAX and WebSockets etc)? The architecture is completely decoupled from IndexedDB. Querying/Updating IndexedDB is simply the closest use case for us.
> > Out of interest, regards Node.js, what do you use for the IndexedDB? > >> This implementation is 100% organically grown. We started with an >> XQuery parser in JavaScript for HTML5 editors. We then added static >> analysis for errors and warnings (XQLint). XQLint is quite mature now >> and the next logical step was to add a code generation step. > > I wish you all the best with this project. I hope it gets the > attention it deserves from the JavaScript community. I will be > interested to see how it goes... Thanks Adam! > > > > -- > Adam Retter > > skype: adam.retter > tweet: adamretter > http://www.adamretter.org.uk _______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
