Author: Tales from the Evil Empire : ASP.NET | Posted on: 7/30/2011 10:08:03 PM | Views : 735

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 with this. First, the fake publication is creating some noise for subscribers to the publication event. It would be better unfortunately to do away with the nice ajax behavior. Second, it becomes really hairy once you introduce containers...(read more) ...

Go to the complete details ...