5 ms·
Security, decoupling calling code from db schema
by qaq 7y ago
Security, decoupling calling code from db schema
- tracker1 7y agoDon't API services do that?
- qaq 7y agoHow do they do that in the context of ORM vs sps :)?
- tracker1 7y agoCalling code is the front end... API services separate that calling code from the backend.
- qaq 7y agoyour backend is still storing data somewhere right?
- tracker1 7y agoYes, but I'm not sure I get the benefit of decoupling the schema, I'm still coupling to the stored procedure interfaces, and still have to deal with the shape of input and results.
- qaq 7y agoIf schema needs to be changed in many cases sp interface will stay the same e.g. I can do changes/optimizations to schema without changing the calling code.
- tracker1 7y agoBut, if it's a schema change where you have to update the SP, you still have to change code... it's that the code is in (PL/T)SQL vs in another language.. You still have to update code either way.