Re: [fw-general] zend + iphone subdomain

2008-05-12 Thread pat
draketherake, ZF doesn't have subdomains, it hasURL/module/controller/action. your iphone would seem to me to be a fake module. so a regular route might be URL/admin/add/user, the iphone version would be URL/iphone/admin/add/user. These patch-ups re usually handled in a front controller plug i

Re: [fw-general] zend + iphone subdomain

2008-05-03 Thread Jeffrey Sambells
You could use .iphone as the extension for your iphone views. - Jeff On 3-May-08, at 4:50 PM, draketherake wrote: Hi Matthew, Thanks for such a prompt post! After looking over the contextswitcher, I have a few more questions. It seems like the context switcher is only for changing the vi

Re: [fw-general] zend + iphone subdomain

2008-05-03 Thread draketherake
Hi Matthew, Thanks for such a prompt post! After looking over the contextswitcher, I have a few more questions. It seems like the context switcher is only for changing the view format (like from .phtml to xml?). how do you use it to switch out views? I want to keep the "iphone.domain.com" url to

Re: [fw-general] zend + iphone subdomain

2008-05-03 Thread Matthew Ratzloff
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

[fw-general] zend + iphone subdomain

2008-05-03 Thread draketherake
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