A guide to accessing the current URI components in different parts of a Zend Framework application: the view, controller, and in your library. This tutorial makes use of the request object and the ServerUrl view helper.