Re:A different way of looking at responsive design: Intentio...
by cheald on Tuesday August 27, 2013 @02:31PM
(#6285247)
1) User agents lie. Frequently.
2) A user agent doesn't encode any information about the actual metrics of the device.
Doing layout by user agent is basically a worst-case hellhole of browser-specific codebase fragmentation. There's a very good reason why best practices have been trending away from "test for vendor class" and towards "test for agent capabilities".
Re:A different way of looking at responsive design: Intentio...
by benatkin on Tuesday August 27, 2013 @08:07PM
(#6287194)
Well a sufficiently complex framework could deal with it, by making another trip to the server if it discovers the code being sent down the first time isn't good enough.
2) A user agent doesn't encode any information about the actual metrics of the device.
Doing layout by user agent is basically a worst-case hellhole of browser-specific codebase fragmentation. There's a very good reason why best practices have been trending away from "test for vendor class" and towards "test for agent capabilities".