1
I am architecting a new project in C# and one of the needs is that module does mathematical calculations on values that I will have in the database.
This module needs to share these rules with another Mobile project being synchronized in case the rules change.
I ask for suggestions with some technique or languages that can be used as scripts which can run between platforms.
At first I thought about Javascript, because it can be processed by the C# module and Mobile using the views navigation (e.g. Android Webview, iOS Uiwebkit).
Do you know SOA architecture? Try creating a Restful API to serve both applications using the same back-end where you’ll centralize business rules, and in front-end (mobile and desktop) applications. I suggest the article: http://www.ciceroednilson.com.br/criando-um-servico-restful-com-web-api-em-c/
– LeonanCarvalho
I forgot to comment, we are doing this way because one of the requirements of the project is that the Mobile work Offline, for difficulties of connection in the place of those who will operate it.
– Bruno
You’re thinking in terms of technology, when you really need to think in terms of architecture.Your problem isn’t language. EX.: https://www.mulesoft.com/resources/api/microservices-vs-monolithic
– Intruso