In Drupal it is really easy to setup a custom URL. Let's say, I want to create some custom functionality xyz (for example a very special contact page). I would just do some Drupal magic and then I could point my browser to /functionality_xyz and I would see the content of what I have specified in that function that gets called for this URL.
Is there any way to do something like that in WordPress? So far I've only seen embed codes that would get embedded in a page.