3 ms·
This is feasible if your program is the only one ever reading (let alone writing) the data. When you add a separate frontend and stringly-typed back-and-forth c
by anaerobicover 5y ago
This is feasible if your program is the only one ever reading (let alone writing) the data. When you add a separate frontend and stringly-typed back-and-forth communication (JSON), it becomes a huge headache for whichever platform(s) are not the gatekeeper of the data. They have to a) depend on your rules being modelled in a translatable way, and b) find a rational user experience for handling the inevitable inconsistencies.
- dragonwriter 5y ago> stringly-typed back-and-forth communication (JSON) JSON, while it has a very limited set of built-in types and (outside of add-ons like JSON-schema) no type definition mechanism, isn’t “stringly-typed”.
- ralusek 5y agoIf you have multiple applications accessing a database, you can have data integrity maintained using something like triggers in the actual DB, as well as constraints.