My website follows the Post-Redirect-Get pattern.
There seems to be 2 ways to deal with failed validation. Either:
- Render the page with validation messages
- Temporarily store the validation messages, and redirect to a GET that shows the messages
Do both of these implementations follow the PRG pattern?
Is there a more specific way to describe either of these patterns?
I am asking primarily for educational sake.