Abstract
All web applications and frameworks need some mechanism for mapping the URL that a user enters in the browser to the code that should be executed when the server receives the request. Different languages and frameworks take different approaches to this. In PHP- or CGI-based systems, the URL represents a path on the hard disk to the file that should be executed. In Zope, URLs are treated as paths in an object hierarchy, and in Django, URLs are matched to code based on regular expressions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
Rights and permissions
Copyright information
© 2009 James Gardner
About this chapter
Cite this chapter
(2009). URLs, Routing, and Dispatch. In: The Definitive Guide to Pylons. Apress. https://doi.org/10.1007/978-1-4302-0534-0_9
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0534-0_9
Publisher Name: Apress
Print ISBN: 978-1-59059-934-1
Online ISBN: 978-1-4302-0534-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books