This is acceptable
at the initial stage of development, when we are the only users of the application,
and we know for sure which kind of information should be entered in each field.
However, every real life application must validate user input, and if there are errors,
it should inform the user about them in a friendly and clear way. The next chapter
will discuss the powerful validation system of Tapestry 5.
???
??? ???
User Input Validation
One of the benefits of having a web application is that it can be very easily accessed
by everyone around the world. One of the downsides of this is that when so many
people use your application, they are going to have errors in their input. Some
people are not attentive, others are tired and, finally, everyone in this world has
his or her individual style of thinking, so something that seems obvious to the
developers of the application might puzzle someone else.
A well-designed web application should immediately be able to define that the
input is wrong and stop??”otherwise all kinds of errors can happen inside of the
application. If this application is user-friendly, it should:
Clearly and unambiguously inform the user that some part of the input is
erroneous, and should be corrected.
Pages:
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207