Comunication between Back-End Gateway and Front-End Gateway

We have a large project coming...

We were planning on doing a back-end gateway and a front-end gateway.
How would comunicatte the front-end gateway.

I mean, if for example in perspective you have a button that start an operation that saves something to a db.

Would be something like front-end > back-end > DB and then: DB > front (reading only). However, we are not sure on how to do that. We were thinking about webdev or passing it throw tags (using gateway network).

What do you think?

Thx in advance!

If your gateways are connected via the gateway area network (GAN) you can script a request from front-end to back-end using messages via system.util.sendMessage. If you need a response back you can use system.util.sendRequest instead.

You would need a message handler on the backend gateway configured to handle the requests sent by the front end gateway. Neither of these would require the Webdev module.

3 Likes