Quiz

  1. Do we only use message flashing when we use the get method? Because with the forms assignment, when we submitted the form, we just saw a page with information about what we submitted. Is that more useful than submitting a form and seeing a flash?

    We can use flashing anytime, with either kind of form submission, or even no form submission. Flashing is about communicating with the user, not processing user input.

    They often go together because the user may want confirmation of a form submission (either GET or POST), but particularly with POST because with GET, the response usually has information in it, while POST might just be the equivalent of a thumbs-up emoji.

    Flashing is not required in the Forms assignment, which is intended to just be a "getting started with the back end" assignment.

  2. This all makes sense in theory, I think I'm still struggling a bit with actually doing it!

    For sure. I think most of us are. That's why we have exercises and assignments.