Click here to Skip to main content
15,892,480 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
QuestionWould this interest anyone? Pin
honey the codewitch11-Nov-21 4:29
mvahoney the codewitch11-Nov-21 4:29 
AnswerRe: Would this interest anyone? Pin
PIEBALDconsult11-Nov-21 4:33
mvePIEBALDconsult11-Nov-21 4:33 
QuestionRe: Would this interest anyone? Pin
honey the codewitch11-Nov-21 4:36
mvahoney the codewitch11-Nov-21 4:36 
AnswerRe: Would this interest anyone? Pin
PIEBALDconsult11-Nov-21 4:58
mvePIEBALDconsult11-Nov-21 4:58 
GeneralRe: Would this interest anyone? Pin
honey the codewitch11-Nov-21 5:10
mvahoney the codewitch11-Nov-21 5:10 
GeneralRe: Would this interest anyone? Pin
PIEBALDconsult11-Nov-21 5:55
mvePIEBALDconsult11-Nov-21 5:55 
GeneralRe: Would this interest anyone? Pin
honey the codewitch11-Nov-21 8:48
mvahoney the codewitch11-Nov-21 8:48 
AnswerRe: Would this interest anyone? Pin
lmoelleb11-Nov-21 5:01
lmoelleb11-Nov-21 5:01 
So far I have not had a use-case that would justify this, and I will fight hard to keep it like that. Smile | :)

My validation belongs in the middle tier (so whatever host your REST API or whatever). The database maintains relational integrity, null checks - that type of stuff. My web server is the ONLY system with connection to my tables. Some validation is also present client side for usability (fail fast), but then it is always duplicated in the middle tier - it needs to be as the REST API can of course be called from anything, not just your own UI.

So the only real use case I can see, is when you need to stream large datasets where the validation code need access to a lot of data already in the database - as this would be too slow in my model as the middle tier would have to do a lot of reads while validating the data being streamed through it. Or am I misunderstanding the benefit of this?
GeneralRe: Would this interest anyone? Pin
PIEBALDconsult11-Nov-21 5:05
mvePIEBALDconsult11-Nov-21 5:05 
GeneralRe: Would this interest anyone? Pin
lmoelleb11-Nov-21 5:12
lmoelleb11-Nov-21 5:12 
GeneralRe: Would this interest anyone? Pin
honey the codewitch11-Nov-21 5:15
mvahoney the codewitch11-Nov-21 5:15 
GeneralRe: Would this interest anyone? Pin
lmoelleb11-Nov-21 5:36
lmoelleb11-Nov-21 5:36 
GeneralRe: Would this interest anyone? Pin
honey the codewitch11-Nov-21 8:44
mvahoney the codewitch11-Nov-21 8:44 
GeneralRe: Would this interest anyone? Pin
lmoelleb12-Nov-21 5:07
lmoelleb12-Nov-21 5:07 
GeneralRe: Would this interest anyone? Pin
PIEBALDconsult11-Nov-21 5:38
mvePIEBALDconsult11-Nov-21 5:38 
GeneralRe: Would this interest anyone? Pin
DerekT-P11-Nov-21 6:08
professionalDerekT-P11-Nov-21 6:08 
GeneralRe: Would this interest anyone? Pin
honey the codewitch11-Nov-21 8:46
mvahoney the codewitch11-Nov-21 8:46 
GeneralVeterans Day Pin
jeron111-Nov-21 4:27
jeron111-Nov-21 4:27 
GeneralRe: Veterans Day Pin
dandy7211-Nov-21 5:40
dandy7211-Nov-21 5:40 
GeneralRe: Veterans Day Pin
jeron111-Nov-21 5:43
jeron111-Nov-21 5:43 
GeneralRe: Veterans Day Pin
Richard MacCutchan11-Nov-21 6:00
mveRichard MacCutchan11-Nov-21 6:00 
GeneralRe: Veterans Day Pin
jeron111-Nov-21 6:02
jeron111-Nov-21 6:02 
GeneralRe: Veterans Day Pin
Greg Utas11-Nov-21 8:03
professionalGreg Utas11-Nov-21 8:03 
GeneralRe: Veterans Day Pin
jeron111-Nov-21 9:09
jeron111-Nov-21 9:09 
GeneralRe: Veterans Day Pin
Slow Eddie12-Nov-21 1:49
professionalSlow Eddie12-Nov-21 1:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.