2 ms·
> I imagine it would be much easier to reason about an application that is data and data authorization on one side, and logic on the other. You're basically de
by toasterlovin 10y ago
> I imagine it would be much easier to reason about an application that is data and data authorization on one side, and logic on the other.
You're basically describing, for example, a Ember/Android/iOS + Rails + Postgres app. Logic lives in the client (Ember/Android/iOS). Data + Authorization lives in Rails + Postgres. And the Rails part of that is really not doing much. It's deciding if a request is allowed, then serializing or deserializing data from the database. I guess you can do that in the dbms, but you still need to do that somewhere.