A free and open-source book on Zend Framework for beginners

5. Routing

When a site user enters a URL in a web browser, the HTTP request is finally dispatched to controller's action in your ZF3-based website. In this chapter, we will learn about how ZF3-based application maps page URLs to controllers and their actions. This mapping is accomplished with the help of routing. Routing is implemented as a part of Zend\Router component.

ZF3 components covered in this chapter:

Component Description
Zend\Router Implements support of routing.
Zend\Barcode Auxiliary component implementing barcodes.