MG_WEB real life review

65 views
Skip to first unread message

OldMster

unread,
Jan 28, 2021, 1:38:42 PM1/28/21
to Enterprise Web Developer Community
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 call the 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.
Reply all
Reply to author
Forward
0 new messages