No. "Flash" is just the name of the function, not the visual effect.
The effect is up to you. Most of the time, you just display the
messages using HTML, though you could make them blink or create alert
messages in the
browser if you wanted.
But, yuck.
They are two different things. url_for
is used whenever we need to create a URL (endpoint) in our app:
A redirect is the specific case where our response to the browser is for the browser to make another, different request. (Like when you go to the Bursar and they tell you to go talk to Financial Aid.)
Rarely. It's good to know about, because it does happen, but I have rarely used abort.
It's used to digitally sign the session, so that it can't be tampered with. This all happens as part of the Flask infrastructure, so it just works.
We will see a simple example today, and if you want another example, there was one from last time, which we didn't go over.
Just one.
I'm sure you will.
God help me, yes. I had learned HTML and CSS, and that makes the content accessible, so I wrote pages. Only later did I learn templating engines. (Other faculty are using Jekyll, which I should learn.)
I also later learned MarkDown, which is helpful as an input to a templating engine.
This is an example of how sometimes it's good to stop investing more time in the current workflow and to back up and try a different way. But there's so much investment, that it's hard to do. It has to be worth it.
I think a lot of the tech industry spends a lot of time/effort/money switching to the latest shiny object.