I commented in Anthony notes, but I will replicate it here.

---


I created my own mechanism for mobile detection, which I am using for
a long time. So there is one thing I decided.

It is better to prefix instead of suffix. so I named my views as
mobile.index.html instead of index.mobi.

why?

just because I can have .html, .load, .json, .xml for specific mobile scope too.


and it is better to have mobile.index.html for mobile while index.html
to browsers, same for mobile.index.json for index.json, and .load etc.


---

http://code.google.com/p/web2py/source/detail?r=93578e588a1b22fd0c971932aed9823fb10df476

Reply via email to