So imagine I'm building a Multi User Dungeon system using a MVC web application. To describe the areas the player can explore, the system can contain a number of Maps, which will consist of Rooms and Doors - where doors connect two Rooms. Consider the authoring part of the system. To create a Map is easy - I need URLs like:
/Author/Maps (an index of my maps) /Author/Maps/Create (a new Map) /Author/Maps/Detail/3 (show Map details) /Author/Maps/Edit/3 (edit map details)
Using a Routing scheme: /Author/{controller}/{action}/{ID}
It's the URLs for the Rooms that I need help with. When creating a new Room, I need to know which Map I'm creating it for.
/Author/Rooms/CreateIn/[mapID] ?
And then for editing a room's details:
/Author/Rooms/Edit/[roomID] /Author/Rooms/Detail/[roomID]
Would this routing scheme work? And should the view that lists all the Rooms for a Map be an "Index" action on the Rooms controller, with a MapID passed in, or a "Rooms" action on a Map controller?
Thanks.