You should be able to get the baseUrl from the frontController, but it will only be populated after the frongController has initialized the necessary components. I provide the baseUrl to all my views by using a view helper. For some help getting up and going with view helpers check out
Naneau The magic of view helpers