The C++ Middleware Writer (CMW) is the back tier of a 3-tier system:
The middle and front tiers have to be downloaded and built in order to use the CMW. A C++ compiler with support for std::string_view is needed to build the software.
An account is needed to use the CMW. To get an account send an email to support@webEbenezer.net and include a password between 10 and 50 characters long for your account. We'll reply by giving you an account number. After receiving your account number, update your cmwA.cfg file accordingly.
Links to some files in the archive:
middleBack.mdl -- Middle file that specifies what to generate.
zz.middleBack.hh -- CMW output based on middleBack.mdl.
Gcc/Clang specific files:
Visual Studio specific files:
Why use a 3-tier architecture?
Originally we used a 2-tier system. We switched to a 3-tier architecture for performance, network administrative and security reasons. In the 2-tier architecture, the front tier had to establish a TCP connection to the back tier each time it ran. In the 3-tier architecture, the middle tier keeps a TCP connection with the CMW and uses it to serve front tier instances.
In the 2-tier architecture, every user had to be given permission to get through your firewall in order to communicate with the CMW. With the 3-tier architecture, all requests are mediated by the ambassador so only the machine the ambassador is running on needs attention from a network administrator.