Friday 21 September 2018

In the node apps you’ve written or contributed to, how much business logic is located in the app layer (by means of an ORM etc.) versus in your database as functions/procedures (for those using postgres/rdbms etc)?

Torn on architectural approach. I.e. try to keep everything high-level via sequelize, possibly support multiple databases, versus going straight to postgres functions (with rich triggers for updating creation/modified times, and more).The software is a CMS designed to be used by multiple users standalone, as opposed to a SaaS offering that is largely hosted/managed by one user/company. One day it will probably be extensible (users can add components without modifying core). Is there more flexibility in handling most business logic in the app layer in this case?

Submitted September 22, 2018 at 03:01AM by MyyHealthyRewards

No comments:

Post a Comment