Regarding the application URL, it Zend_Controller_Request_Httphas a method getRequestUri(), but it intentionally (and somewhat disappointing) excludes part of the URL of the scheme and node. In my applications, I resorted to grabbing $_SERVER['HTTP_HOST']into bootstrap and storing it in the registry so that I could use it later to create full URLs.
, public, . , define(), index.php, , , ( , ) , -!: -)