iPhone support

8 messages Options
Embed this post
Permalink
Ramses Paiva

iPhone support

Reply Threaded More More options
Print post
Permalink

I'm currently working on a web application that is going to be accessed by iPhone devices and I'm wondering if the framework has some kind of support for this devices.


Cheers,
--
Ramses Paiva
+91 97 4237 6432
Tobias Gies

Re: iPhone support

Reply Threaded More More options
Print post
Permalink
Hi Ramses,

what do you mean with "support for these devices"? MobileSafari reads and displays HTML pages like every other browser does.

Best regards
Tobias

2008/7/31 Ramses Paiva <[hidden email]>

I'm currently working on a web application that is going to be accessed by iPhone devices and I'm wondering if the framework has some kind of support for this devices.


Cheers,
--
Ramses Paiva
+91 97 4237 6432

weierophinney

Re: iPhone support

Reply Threaded More More options
Print post
Permalink
In reply to this post by Ramses Paiva
-- Ramses Paiva <[hidden email]> wrote
(on Thursday, 31 July 2008, 02:31 PM +0530):
> I'm currently working on a web application that is going to be accessed by
> iPhone devices and I'm wondering if the framework has some kind of support for
> this devices.

You may want to investigate the ContextSwitch action helper; you could
easily create a callback that examines the current HTTP headers to
switch contexts.

--
Matthew Weier O'Phinney
Software Architect       | [hidden email]
Zend Framework           | http://framework.zend.com/
Ramses Paiva

Re: iPhone support

Reply Threaded More More options
Print post
Permalink
Great!
Thank you guys!

On Thu, Jul 31, 2008 at 6:25 PM, Matthew Weier O'Phinney <[hidden email]> wrote:
-- Ramses Paiva <[hidden email]> wrote
(on Thursday, 31 July 2008, 02:31 PM +0530):
> I'm currently working on a web application that is going to be accessed by
> iPhone devices and I'm wondering if the framework has some kind of support for
> this devices.

You may want to investigate the ContextSwitch action helper; you could
easily create a callback that examines the current HTTP headers to
switch contexts.

--
Matthew Weier O'Phinney
Software Architect       | [hidden email]
Zend Framework           | http://framework.zend.com/




--
Ramses Paiva
+91 97 4237 6432
Ramses Paiva

Re: iPhone support

Reply Threaded More More options
Print post
Permalink
Wow! A really nice library indeed!
I didn't know it!
Thank you very much!

On Fri, Aug 1, 2008 at 10:14 AM, Ernesto <[hidden email]> wrote:
Hello,

I recently implemented an iphone version for our mexican tv guide app
(iphone.enlatele.com.mx) and used, as Matthew said, ContextSwitch
action helper. I'd also like to recommend you IUI. Maybe you already
know it, but just in case, it is the a very easy way to get iphone's
native look and feel  http://code.google.com/p/iui/


Ernesto



On Thu, Jul 31, 2008 at 11:10 PM, Ramses Paiva <[hidden email]> wrote:
> Great!
> Thank you guys!
>
> On Thu, Jul 31, 2008 at 6:25 PM, Matthew Weier O'Phinney <[hidden email]>
> wrote:
>>
>> -- Ramses Paiva <[hidden email]> wrote
>> (on Thursday, 31 July 2008, 02:31 PM +0530):
>> > I'm currently working on a web application that is going to be accessed
>> > by
>> > iPhone devices and I'm wondering if the framework has some kind of
>> > support for
>> > this devices.
>>
>> You may want to investigate the ContextSwitch action helper; you could
>> easily create a callback that examines the current HTTP headers to
>> switch contexts.
>>
>> --
>> Matthew Weier O'Phinney
>> Software Architect       | [hidden email]
>> Zend Framework           | http://framework.zend.com/
>>
>
>
>
> --
> Ramses Paiva
> +91 97 4237 6432
>



--
Ramses Paiva
+91 97 4237 6432
j5

Re: iPhone support

Reply Threaded More More options
Print post
Permalink
In reply to this post by Ramses Paiva
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.
weierophinney

Re: iPhone support

Reply Threaded More More options
Print post
Permalink
-- j5 <[hidden email]> 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       | [hidden email]
Zend Framework           | http://framework.zend.com/
Matthew Ratzloff

Re: iPhone support

Reply Threaded More More options
Print post
Permalink
In reply to this post by j5
If you're talking about general mobile support and not just WebKit-based devices like the Apple and Android platforms, I highly recommend DeviceAtlas.  The cheapest license is $99 per year, but the data has been very accurate in my experience (with a couple small exceptions that were corrected the day after I reported them).  Much better in terms of accuracy and implementation than WURFL, the free alternative.  Just make sure you cache the inflated database in memory.

-Matt

On Thu, Nov 6, 2008 at 7:53 AM, j5 <[hidden email]> wrote:

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.
--
View this message in context: http://www.nabble.com/iPhone-support-tp18750434p20363794.html
Sent from the Zend Core mailing list archive at Nabble.com.