Hi Nicolas,

On Fri, May 20, 2011 at 4:28 PM, Nicolas Muller <[email protected]
> wrote:

> Hello,
>
> Sorry but the two ideas are good.
>
> [1] Use different weblog,search ,tags and entry pages for each template.
> [complex to maintain and handle]
>
> Not sure that it will be hard to maintain. I think it is easy to detect the
> device with the "Agent".
> We need a new object into VelocityContext.
>
> If we have one common theme and then if we have different versions for
Individual entry page,Search Page etc.That is bit confusing for template
designer.Because to differentiate them(to identfiy while rendering web
template from mobile template we may have to have some meta data in the
Roller and then render accordingly.


> [2] Use a one default mobile theme for all desktop theme. [ more restricted
> to a developer]
>
> The same principe than Wordpress.
>
> [3] Use different mobile theme for each desktop theme. [preferred method
> for
> the moment]
>
> I like too this idea ! We could imagine two new root folder : web and
> mobile.
> If mobile exists the engine will redirect the user directly into mobile
> theme. Else the mobile user stays normaly into web theme.
> Therefore the user must have the choice to stay into classic website. The
> classical option into wordpress mobile theme.
> The object into VelocityContext will be nice too
>


We will be having a one default mobile theme and will set it configurable at
the weblog creation time.We definitely need a velocity context object
That will be helpful in tracking the user preference (to switch back
to desktop theme etc.) Additionally mobile theme will be having an entry in
theme.xml to mark it as a mobile theme as well.

Thank you very much for the valuable feedback :)


>
> -----Message d'origine-----
> De : shelan Perera [mailto:[email protected]]
> Envoyé : mercredi 18 mai 2011 18:07
> À : [email protected]
> Objet : Roller mobile - Rendering the mobile theme.
>
> Hi Devs,
>
> There are several possible ways to render mobile theme after identifying
> the
> request comes from a mobile device.Followings are the different options
> that i took into consideration after a discussion with Dave.
>
> Use different weblog,search ,tags and entry pages for each template. :-
>
> As i feel this will add some complexity for some one who is developing the
> templates in the future.One possibility is to give the template designer an
> option to specify the mobile version of search,tags,entry pages etc.So
> there
> will be one template and render accordingly to a mobile device.
>
>
> Use a one default mobile theme for all desktop theme :-
>
>  One default mobile them if a mobile request is detected.
>
>
> Use different mobile theme for each desktop theme :-
>
> A complete new mobile theme and template designer has the full freedom to
> design and create a mobile template.So at the weblog creation the
> mobile template can be configured to cater mobile requests.This is the
> method i prefer as it gives th freedom to template designer without
> restrictions.
>
>
> I appreciate any feedback regarding the above idea.
>
> Thanks
>
> --
> Shelan Perera
>
> Home: http://www.shelan.org
> Blog   : http://www.shelanlk.com
> Twitter: shelan
> skype  :shelan.perera
> gtalk   :shelanrc
>
>  I am the master of my fate:
>  I am the captain of my soul.
>         *invictus*
>
>


-- 
Shelan Perera

Home: http://www.shelan.org
Blog   : http://www.shelanlk.com
Twitter: shelan
skype  :shelan.perera
gtalk   :shelanrc

 I am the master of my fate:
 I am the captain of my soul.
         *invictus*

Reply via email to