One of the most common tasks in modern web frameworks is to ease the task of writing bits of code that are then called by the framework. Handling this task is the first major undertaking of any web framework, and the part that most web frameworks have in common.
How do frameworks locate this code? What basic patterns apply to all frameworks? How does this make me be a better web programmer?