2008年11月6日星期四

Re: [fw-core] iPhone support

-- j5 <young.kevin@gmail.com> wrote
(on Thursday, 06 November 2008, 07:53 AM -0800):
>
> I am very interested to see some examples of how people are handling this.
>
> I need to add on-the-fly mobile support to one of my ZF applications.

IIRC, you can do some HTTP header detection to determine whether the
request is from an iphone. This could be easily done in a plugin, and
the plugin could then set a registry item indicating the results of that
check.

Another possibility is to extend the ContextSwitch action helper to
perform this logic at the controller level.

--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/

没有评论: