Is responsive web design the only way to create a mobile site?

Discussion in 'HTML & Website Design' started by JackyS, Sep 1, 2014.

  1. #1
    Is responsive web design the only way to create a mobile site?

    Isn't there a way for your browser to detect whether you're using a handheld device or PC and generate code based on that, without changing your CSS when your browser size changes?

    Thanks in Advance
     
    JackyS, Sep 1, 2014 IP
  2. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #2
    Yes this is possible but you would need to do this with JavaScript then use Ajax to get the right content from the server.

    It would still use CSS thou, I'm assuming you are meaning whether you would have to use media queries.
     
    HuggyStudios, Sep 1, 2014 IP
  3. COBOLdinosaur

    COBOLdinosaur Active Member

    Messages:
    515
    Likes Received:
    123
    Best Answers:
    11
    Trophy Points:
    95
    #3
    Of course. It is always possible to find a more complex, less reliable, and more bloated ways to do things.

    The user agent in the request header will tell the server what kind of device the client is, unless the user is spoofing. Then you just need a fixed dimension page to return for each combination of device resolution and orientation. The last time I look I there there were 400+ presentation required to cover all the possibilities. of course you could also put that in an array and the add a bloated jquery block to generate as part of the load.

    Or just decide how you want tp present mobile build the pages for that specific presentation and then set up an subdomain for mobile like: mobile.yourdomain.com and keep it separate from your primary site.
     
    COBOLdinosaur, Sep 1, 2014 IP
  4. braulio

    braulio Active Member

    Messages:
    70
    Likes Received:
    7
    Best Answers:
    1
    Trophy Points:
    95
    #4
    Yes there is a way for your website to detect the viewer's size of window and adjust accordingly.

    We use foundation zurb grid system in all our work. Works great. All our sites are mobile friendly ( responsive ). The url is foundation dot zurb dot com.

    Another option is Bootstrap. I was unable to provide the link but the url is getbootstrap dot com. I get a redirect error.

    We prefer foundation zurb grid system.

    Hope we answered your question and good luck !
     
    braulio, Sep 1, 2014 IP
  5. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #5
    I guess in your quest to gain post count you didn't notice the part of the question which said he doesn't want to use CSS. Unless of course you think Bootstrap etc work with JS.
     
    HuggyStudios, Sep 1, 2014 IP
  6. PrafuxDesigns

    PrafuxDesigns Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #6
    Myself i use pixel sizes like 900px to make sure it correctly resizes to any monitor size. You can also make is limit to a specific size when being resized using CSS, min-width: ### and so on.
     
    PrafuxDesigns, Sep 2, 2014 IP
  7. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #7
    Are you a complete idiot. He said he DIDN'T WANT TO USE CSS. How can you be so dumb.
     
    HuggyStudios, Sep 2, 2014 IP
  8. PrafuxDesigns

    PrafuxDesigns Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #8
    Oh sorry, i didn't notice that part. You don't have to be rude though, why does he not want to use CSS, could you tell me that JackyS?
     
    PrafuxDesigns, Sep 2, 2014 IP
  9. COBOLdinosaur

    COBOLdinosaur Active Member

    Messages:
    515
    Likes Received:
    123
    Best Answers:
    11
    Trophy Points:
    95
    #9
    :p You are new... that was actually pretty mild. If you want politically correct, and pats on the head you are going to be looking a long time.

    As for the question it looks like someone who has decided that doing thing the easy, proven and reliable way is something they want to avoid.
     
    COBOLdinosaur, Sep 2, 2014 IP