I have developed a web application using node. Now I want to convert that site into a mobile version. Responsive design is likely not an option here since my site is pretty much like facebook which has a look of functionalities that could not be fit into a fluid grid without radically redesigning of the website. So my question is 1. where should my application register the type of devices that it is viewed on ? (front-end or back-end) And how(with examples preferably) ? 2. Do I have to rewrite all html templates and css to fit into a mobile browser? if so what are the best practices to tell node which template to render ? (with examples) ?
Thanks in advance.