Routes
Each route is associated with a controller - more specifically, a certain function within a controller, known as a controller action.
So when you enter a URL, the application attempts to find a matching route, and, if it’s successful, it calls that route’s associated controller action.
Python - Flask example
@app.route('/')
def main_page():
pass
Here we establish the / route associated with the main_page() view function.