Future Orchard Part 3: Autoroute
Posted by: More Whidbey stuff,
on 31 Jul 2011 |
View original | Bookmarked: 0 time(s)
The way URLs work in Orchard today is fine for the simplest sites but it's not very customizable and comes with a number of challenges. Let's look at how it works today. Let's start with a plain page: Once you're done typing a title, when you tab out of the title field, an ajax request is fired that asks the server to do a fake publication of the page and get a slug out of the title. This happens in the Routable part, and it is extensible by implementing ISlugEventHandler. There are a few problems...