Replies: 2 comments 6 replies
-
You can of course build two applications, one which is a json api and one which is a thin backend that makes requests of that api and renders html. It would essentially give you a "frontend" or SPA-like app without exposing the backend while still giving you a server-side rendered frontend. I really encourage you not to source filter encode your backend code to hide it from your frontend developers. If you must separate concerns do it at the application level, use a "microservices" pattern not obfuscation in a fragile manner. No we will not add core functionality to proxy the stash from a remote application, that is essentially the microservice pattern I describe above but with a proper response rather than encapsulating the stash in some way.
I am going to assume this wasn't intended as an insult, I hope it wasn't meant as one though it can be read that way. |
Beta Was this translation helpful? Give feedback.
-
It probably is nothing, I got a very bad night's sleep last night. |
Beta Was this translation helpful? Give feedback.
-
is there any way to achieve the below in Mojolicious projects.
Approaches that do not work very well.
In certain projects we have developed UIs by purely using data access via XHR requests and
JSON format however we face following challenges.
Non-full proof solutions
Proposed wild thought
Can we have a local Mojo application on ui-developers' environment that uses HTTP
to proxy the stash data from a remote mojo application.
Kindly suggest commonly used approaches for such situations.
regds
Rajesh Mallah.
Beta Was this translation helpful? Give feedback.
All reactions