I have been kicking a funny idea around for a while which is, could Moqui run entirely in the browser as a web3 application? That may not make any sense so let me elaborate. One of the things that set me thinking in this direction is the IndexedDB facility that is in all modern browsers. IndexedDB is a transactional database with an API not unlike Moqui’s EntityFacade. This storage is persistent between page loads and is allowed to use large amounts of the system’s storage. It was not lost on me how much more of Moqui is defined in its native XML structures with only a little additional Groovy. Luckily, there is a project that translates Groovy into Javascript called GrooScript (grooscript.org). If the ServiceFacade was implemented on WebWorkers then it seems possible that you could create an environment that was able to run many Moqui business processes using nothing but a stand-alone browser.
Ok, why? Well, the browser environment is absolutely everywhere. If Moqui could run in this configuration then literally anyone with a browser (desktop or phone) would have everything they need to run a business. I don’t think it particularly makes sense for a server configuration (though Node.js + LightningDB* on server hardware probably wouldn’t slouch) but I’m mainly thinking about this as a play for the consumer accounting space, like Quickbooks.
What do you think folks?