Demonstration
Extra-pretty URLs with slugs
The "read" method in the Stories controller uses Cake's find function to get the id of the entry in the database from the slug (word) we provided in the URL. Then it uses the id to query the database again and returns the data we really want.
Rapunzel
She's stuck in a tower and she has to let down her hair.