OBJECTIVE

Implement server-side style validation in a local Python program and test normal, malformed, oversized, and encoded inputs using fictional data.

TIME PLAN

Prepare 25m · Build 105m · Verify 25m · Document 25m

Working boundary

Work only inside the folder created by Smartphone-Academy.py prepare local-form-validation. Use the supplied fictional samples or data you are explicitly authorized to handle.

Prepare the Termux workspace

Open Termux in the Academy folder and create the safe workspace. The companion generates samples, notes, and evidence files under your account.

Android + Termuxpython Smartphone-Academy.py prepare local-form-validationNo root. Work only with the supplied files under $HOME.

Practical mission

  1. Define explicit length, character, type, and normalization rules for each field
  2. Keep validation separate from output encoding and explain why both are needed
  3. Run a table of valid, malformed, oversized, and Unicode test cases
  4. Record false positives, false negatives, and one improvement for the next version
EVIDENCE TO PRODUCE

A validate_form.py program, cases.json, and results.md showing acceptance criteria and rejected inputs.

Quality gate

The deliverable states a clear scope and date for “Build and Test Local Input Validation.”
A second learner can reproduce the commands and paths.
Original samples remain unchanged and verifiable.
Limitations and confidence are recorded beside the conclusions.

Analyst reflection

Which result from “Record false positives, false negatives, and one improvement for the next version” needs additional evidence before it could support a real operational decision?

Complete in Termux

After checking the deliverables, run python Smartphone-Academy.py complete local-form-validation. Progress is stored locally in the Termux home directory.

13 · Web & Secure Coding

Continue learning

Back to Smartphone Academy