Dual (classic web + iphone webapp) sinatra apps, got feedback ?

1 view
Skip to first unread message

Thibaut Barrère

unread,
Nov 21, 2009, 12:38:14 PM11/21/09
to sinatrarb
Hi,

Is there anyone here using sinatra to implement an app which is
available both on the web (regular browser) and as a iphone-specific
webapp (built on top of things like iwebkit.net or home made css for
instance) ?

After giving it a bit of thinking, I think I'm going to end up having
separate sinatra views, because the constraints are just too different
(lot of ajax + specific javascript and css on the iphone, blueprint or
960gs on the regular web...).

Out of curiosity, did anyone implement something similar with
sinatra ?

Any tips to share ?

thanks,

Thibaut
--
http://www.learnivore.com

Julio Javier Cicchelli

unread,
Nov 21, 2009, 1:13:31 PM11/21/09
to sina...@googlegroups.com
Hi there Thibaut,

If the two views are very different one from the other, then it's perfectly fine to have them separated into two views. Then you just need to recognize the kind of client that is using your application and delivering the views to it depending the type.

In the near future I'll be implementing something like that and I think this approach is good enough. :)

Rock On!
Javier.-
> --
>
> You received this message because you are subscribed to the Google Groups "sinatrarb" group.
> To post to this group, send email to sina...@googlegroups.com.
> To unsubscribe from this group, send email to sinatrarb+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sinatrarb?hl=.
>
>

Thibaut Barrère

unread,
Nov 22, 2009, 3:23:12 AM11/22/09
to sinatrarb
Hi Julio,

yeah I think it makes sense :)

I'll post my (sinatra-specific) findings here when I'll implement
that.

Until then, some links that coule be helpful:
- http://building-iphone-apps.labs.oreilly.com/
- http://iwebkit.net/

cheers,

Thibaut
--
http://www.learnivore.com
Reply all
Reply to author
Forward
0 new messages