Re: field validation (was Re: COBOL/DB2 Date edit question)
- From: "Pete Dashwood" <dashwood@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 14 Aug 2007 21:30:04 +1200
--
"I used to write COBOL...now I can do anything."
"LX-i" <lxi0007@xxxxxxxxxxxx> wrote in message
news:iO2dnbe7vsZjpVzbnZ2dnUVZ_jydnZ2d@xxxxxxxxxxxxxx
Frank Swarbrick wrote:
This brings to mind an interesting issue that we've been struggling with
for
years at our shop. This issue being, where does input validation belong?
Our system had it in several places. The date/time procedure I've
mentioned before (P315) had validation on every routine in it. We'd have
programs that validated screen input, then passed it to a batch program
that re-validates the same input. While that may seem wasteful, it is of
note that the batch program could be run without going through the screen.
When we put a GUI front-end, there were even more edits that happen on it,
before the page is even submitted! But, again, there are ways to script
things that don't go through the GUI, so a program can't assume that the
input has been validated before.
All of which makes "encapsulated back end validation" (stored procedures and
triggers) just that bit more appealing.
Pete.
--
"I used to write COBOL...now I can do anything."
.
- References:
- COBOL/DB2 Date edit question
- From: Graham Hobbs
- Re: COBOL/DB2 Date edit question
- From: Pete Dashwood
- Re: COBOL/DB2 Date edit question
- From: Graham Hobbs
- Re: COBOL/DB2 Date edit question
- From: Pete Dashwood
- Re: COBOL/DB2 Date edit question
- From: Michael Mattias
- Re: COBOL/DB2 Date edit question
- From: Graham Hobbs
- Re: COBOL/DB2 Date edit question
- From: LX-i
- Re: COBOL/DB2 Date edit question
- From: Pete Dashwood
- Re: COBOL/DB2 Date edit question
- From: LX-i
- field validation (was Re: COBOL/DB2 Date edit question)
- From: Frank Swarbrick
- Re: field validation (was Re: COBOL/DB2 Date edit question)
- From: LX-i
- COBOL/DB2 Date edit question
- Prev by Date: Re: COBOL subscript range checking
- Next by Date: Re: field validation (was Re: COBOL/DB2 Date edit question)
- Previous by thread: Re: field validation (was Re: COBOL/DB2 Date edit question)
- Next by thread: Re: field validation (was Re: COBOL/DB2 Date edit question)
- Index(es):
Relevant Pages
|