My colleague Chris Munt recently published his mg_web repository:
https://github.com/chrisemunt/mg_web
This provides a modern and high-performance solution for connecting the main industrial-strength web servers (IIS, Apache and NGINX) to an M system (YottaDB, Cache or IRIS)
I've build mgweb-server on top of mg_web:
https://github.com/robtweed/mgweb-server
This provides an off-the-peg standard way to configure and use mg_web to rapidly and simply create JSON-based REST APIs using an M back-end (ie all the code can be written in M or ObjectScript).
I've made it even easier to try out by creating a pre-built Dockerised version which incorporates YottaDB, the web server, mg_web and mgweb-server. There's a Docker container for Linux (which uses NGINX as the web server) and for the Raspberry Pi (which
uses Apache as the web server).
Linux: docker pull rtweed/mgweb
Raspberry Pi: docker pull rtweed/mgweb-rpi
To provide a ready-to-run example of how it can all be used and to provide an exemplar for how to develop REST APIs using these technologies, I've also created the mgweb-conduit repository:
https://github.com/robtweed/mgweb-conduit
Follow the instructions in its README document and you'll have it all up and running in a matter of minutes, and you can then explore all its moving parts to see how you could build out your own M-based REST APIs using a proper industry-standard
industrial-strength web server.
Enjoy!
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)