Code Monkey home page Code Monkey logo

Comments (2)

AdrienneLove avatar AdrienneLove commented on July 28, 2024

I'm not a contributor to the project but I would encourage people to use responsive designs compared to mobile switches. Simply because you can test it in a desktop browser, you don't have to detect for obscure mobile devices and it's based on the size of the users screen. Though I'll admit it is something you have to keep in mind when designing a website compared to an afterthought.

from stacey.

andremalenfant avatar andremalenfant commented on July 28, 2024

You are right AdrianLove that using media queries and client side techniques is preferable nowadays but there are situations where you want a completely different design or different functionalities on mobile and having some control on the server is necessary. The W3C recommends to use server-side detection when possible and then client side. The reason is to ensure the delivery of only necessary data for transport on a potentially slower, with lower bandwidth connection. I know the recommandations are from 2010 but most of it is still valid. There is no need to have the browser fetch big javascript libraries and large size images if the mobile design is to be simpler and the screen can only display small images. It will only lead to a less responsive application. (http://www.w3.org/TR/2010/REC-mwabp-20101214/).

from stacey.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.