• MG_WEB Real Life review

    From OldMster@21:1/5 to All on Thu Jan 28 10:40:32 2021
    I've just implemented MG_WEB at a customer site to replace MGWSI (which wasn't working) which was to replace an old WebLink connection for servicing REST requests from a Vue 3 browser front end.

    Server is SUSE Linux, Web Server is Apache2, M database is YottaDB.

    Overall the implementation took about 3 hours (the REST call M servicing routines were already done). Most of that time was spent arguing with Apache2....

    The documentation was clear, and everything worked as advertised. So far it is working very well, load on the server is minimal, no errors to work through.

    The rest of the time was spent cleaning up a few places where the REST call servicing routines did their own writes instead of calling our REST service initial routine write utility. With YottaDB, you can't do direct writes out in response, calling the %
    write^%zmgsis utility is required. Fortunately we had been fairly strict in keeping all our writes going through our own utility already - there was some flakiness with our old Flex based front end (RIP) that sometimes it wanted $C(13,10) as the line
    terminator, and sometimes it was unhappy unless it was $C(10,13).

    If you are looking for a dead simple way to handle REST calls with YottaDB/Cache/IRIS, I'd highly recommend you give MG_WEB a look. If you have any experience with WebLink or MGWSI, it will be familiar.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)