I am building a cakephp app - its a food recommendation service. and i would like to have mobile views for that.
i just wanted to know of the best practise on how it can be done.
Problem is i will have to feed mobile views and city also
i wil have few cities which
so to address a City 1
its will be either city1.website.com or website.com/city
now i wanna have mobile views with this too. so
it has to either be m.site.com or site.com/m/
so how is it done the best way. and how to code it in cakephp ?