I'm going to develop a mobile version of my webapp. Most documentation I've read suggests one of the following approaches:
- create a separate domain (m.example.com)
- using conditional css style sheets, but serve the same html
I'd like to take a completely different approach. I'm using MVC, and would decide which template to render on the server side. My model and controller will be the same, the domain will be the same, but the html will be served differently for mobile users.
Has anyone tried this? Any pitfalls to this approach?