MSAMM
Back to course

Oracle Visual Builder: Applications That Outlive Their First Release · Module 10 · Validation and error handling

Where validation can live

Lesson 99 of 176 · 3 min

COMPONENT, ACTION CHAIN, BUSINESS OBJECT RULE, and THE TARGET SYSTEM. Four places, and ONLY TWO OF THEM CANNOT BE BYPASSED. Validation is not one thing in one place, and knowing which of the four you are looking at is what tells you whether a rule is real. THE COMPONENT IS THE FIRST AND THE CHEAPEST. A required field, a length, a pattern, a number range. It fires as the user types or leaves the field, needs no code, and is the most pleasant to use because the feedback is instant. THE ACTION CHAIN IS THE SECOND, AND IT IS WHERE ANYTHING WITH LOGIC GOES. A field required only when another has a value; a date that must be after another date; a total that must balance. Everything a component cannot express on its own. BOTH RUN IN THE BROWSER, WHICH IS WHY THEY ARE THE TWO THAT CAN BE BYPASSED.

The full lesson is part of the course

The video, the complete written lesson and the module quiz are included in Oracle Visual Builder: Applications That Outlive Their First Release, with a certificate on completion and a fourteen-day refund window.

Get the free lessons by email

We will email you a link to every free lesson in this course. No account needed, and one message only.

In this module: Module 10 · Validation and error handling

  1. 1Where validation can live
  2. 2Client-side validation is a courtesyFree preview
  3. 3Field-level and form-level
  4. 4Messages a user can act on
  5. 5Reading an error from a service
  6. 6Errors in Arabic
  7. 7Failing without losing the work
  8. 8Logging, for somebody who is not there
  9. 9What breaks: three validation failures