I would like to write some business logic that both the server and the client will make use of, and I'd like to know related best practices.The main behavioral difference I see between the two environments is data access. On the server, it will retrieve data from the db, and on the client it will typically make a rest call. Likewise with writing data. As such I am trying to create business logic modules that do not have database dependencies, but instead defer to a mediator that will retrieve data based on context.What are some best practices for sharing business logic or other logic between the client and the server?
Submitted October 04, 2019 at 11:03PM by ChuckItOver
No comments:
Post a Comment