Re: field validation (was Re: COBOL/DB2 Date edit question)
- From: LX-i <lxi0007@xxxxxxxxxxxx>
- Date: Mon, 13 Aug 2007 23:09:06 -0600
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.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ / \/ _ o ~ Live from Albuquerque, NM! ~
~ _ /\ | ~ ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ Business E-mail ~ daniel @ "Business Website" below ~
~ Business Website ~ http://www.djs-consulting.com ~
~ Tech Blog ~ http://www.djs-consulting.com/linux/blog ~
~ Personal E-mail ~ "Personal Blog" as e-mail address ~
~ Personal Blog ~ http://daniel.summershome.org ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ !O M--
V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e h---- r+++ z++++
"Who is more irrational? A man who believes in a God he doesn't see,
or a man who's offended by a God he doesn't believe in?" - Brad Stine
.
- Follow-Ups:
- Re: field validation (was Re: COBOL/DB2 Date edit question)
- From: HeyBub
- Re: field validation (was Re: COBOL/DB2 Date edit question)
- From: Pete Dashwood
- Re: field validation (was Re: COBOL/DB2 Date edit question)
- 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
- COBOL/DB2 Date edit question
- Prev by Date: Re: COBOL subscript range checking
- Next by Date: 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
|