http://framework.zend.com/manual/en/zend.controller.actionhelpers.html#zend.controller.actionhelpers.contextswitch
-Matt On Sat, May 3, 2008 1:30 pm, draketherake wrote: > I want to have a regular version of my website and an iphone version at a > subdomain of iphone.domain.com. However, I don't want to maintain two > completely separate sites. What's the best way to keep separate views but > re-use all the controllers? > > first method: have all views in the main directory with separate folders > "main" and "iphone". And have the .htaccess file in the iphone.domain.com > reroute to the main directory bootstrap file? > > second method: have the iphone views inside the subdomain directory and > point my bootstrap file to the controllers in the main directory. > > please help!
