Mobile version of site with Pyramid

77 views
Skip to first unread message

Theron Luhn

unread,
Apr 16, 2012, 9:38:48 PM4/16/12
to pylons-...@googlegroups.com
Hello.

My client thinks its very important to have a mobile version of their website.  Do you guys have any recommendations on how to use different Chameleon templates for the mobile/desktop website?

- Theron

Chris McDonough

unread,
Apr 17, 2012, 5:46:33 AM4/17/12
to pylons-...@googlegroups.com

You could serve up different templates based on different routes in the
system. Have the mobile people go to /mobile and the nonmobile people
go to / and register a separate set of views for each.

Or you could just make your site serve a single set of templates and
rely on "responsive design". Both Twitter Bootstrap and JQuery Mobile
aim to provide something useful on desktops as well as mobile devices.
An example of using JQuery Mobile exists in
http://docs.pylonsproject.org/projects/pyramid_jqm/en/latest/

>
>
> - Theron
>
> --
> You received this message because you are subscribed to the Google
> Groups "pylons-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-discuss/-/jetDJejrIJcJ.
> To post to this group, send email to pylons-...@googlegroups.com.
> To unsubscribe from this group, send email to pylons-discuss
> +unsub...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.


jerry

unread,
Apr 17, 2012, 7:00:47 AM4/17/12
to pylons-discuss
Check out a new adaptive CSS/JS Foundation framework ( http://foundation.zurb.com/
), with that you can have one-template-fit-all and impress your client
if they have not seen web page that automatically changes layout
according to screen size :)

Jerry

Cem Ikta

unread,
Apr 17, 2012, 10:12:42 AM4/17/12
to pylons-...@googlegroups.com
 Chris thanks for creating pyramid_jqm. It is very helpful to start with jquery mobil in pyramid.

 

On Tuesday, 17 April 2012 11:46:33 UTC+2, Chris McDonough wrote:
On Mon, 2012-04-16 at 18:38 -0700, Theron Luhn wrote:
> Hello.
>
>
> My client thinks its very important to have a mobile version of their
> website.  Do you guys have any recommendations on how to use different
> Chameleon templates for the mobile/desktop website?

You could serve up different templates based on different routes in the
system.  Have the mobile people go to /mobile and the nonmobile people
go to / and register a separate set of views for each.

Or you could just make your site serve a single set of templates and
rely on "responsive design".  Both Twitter Bootstrap and JQuery Mobile
aim to provide something useful on desktops as well as mobile devices.
An example of using JQuery Mobile exists in
http://docs.pylonsproject.org/projects/pyramid_jqm/en/latest/

>
>
> - Theron
>
> --
> You received this message because you are subscribed to the Google
> Groups "pylons-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-discuss/-/jetDJejrIJcJ.

> To post to this group, send email to pylons-discuss@googlegroups.com.

> To post to this group, send email to pylons-discuss@googlegroups.com.

Chris McDonough

unread,
Apr 17, 2012, 12:01:44 PM4/17/12
to pylons-...@googlegroups.com
On Tue, 2012-04-17 at 07:12 -0700, Cem Ikta wrote:
> Chris thanks for creating pyramid_jqm. It is very helpful to start
> with jquery mobil in pyramid.

You're welcome!

> pylons-...@googlegroups.com.

> pylons-...@googlegroups.com.


> > To unsubscribe from this group, send email to pylons-discuss
> > +unsub...@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/pylons-discuss?hl=en.
>
>
>

> --
> You received this message because you are subscribed to the Google
> Groups "pylons-discuss" group.
> To view this discussion on the web visit

> https://groups.google.com/d/msg/pylons-discuss/-/uKSD5g6AoToJ.
> To post to this group, send email to pylons-...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages