News for hackers. Stuff that matters.
Re:Parse, Don’t Validate by privethedge on Friday November 08, 2019 @05:37AM (#21481159)
What if there is another application (or e.g. a stored procedure) that uses this DB table so you cannot control all saving operations from your application?
Re:Parse, Don’t Validate by lmm on Friday November 08, 2019 @10:20AM (#21482962)
Don't do that. A DB table is too big and complex a surface to use as an interface between multiple applications. Each table should have one clear owner; if multiple components need to access the same table, put it behind a service rather than having them access it directly.