July 2013
Intermediate to advanced
1228 pages
34h 1m
English
CHAPTER 23
![]()
URL Routing
In this chapter, we introduce you to the URL routing feature, which allows an application to support virtual paths that are not directly related to the files in the project. In Chapter 22, we showed you a range of techniques to control the virtual paths supported by an application. However, the routing system offers a lot more flexibility as long as you are willing to accept the complexity and testing demand that it comes with.
This chapter covers all of the techniques that most projects will need. We show you how to define, apply, expand, and constrain routes, and we finish the chapter by building a simple diagnostic tool ...