Note that there are some explanatory texts on larger screens.

plurals
  1. POAre SPAs (Single Page Applications) suitable for sites aimed for mobiles?
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COI think this depends on the amount of processor-expensive content each page will have. In my experience, when you want the best user experience, an SPA is the way to go. I used jQuery mobile for a couple of small applications about 18 months ago. Despite the framework's shortcomings, the UX was really nice when compared to one that makes the screen go white while waiting for a new page to load. [This discussion](http://programmers.stackexchange.com/questions/144717/advantages-and-disadvantages-of-building-a-single-page-web-application) might provide some good insight.
      singulars
    2. COAJAX requests aren't necessarily worse, as long as you don't do too many of them. Also, if the device supports http pipelining (keep-alive), then those requests can go over the same connection which shouldn't be too bad. But yes, predicting as much of the page that the user wants to see before hand is much better. I've noticed that showing and hiding elements isn't a good design in most cases anyway, because it usually means the site owner didn't consider what I wanted to see before hand and left it up to me in a way.
      singulars
    3. COYea. Usually you can get away with using RequireJS and fetch on-demand. However, I dont think that would be a good idea for a mobile site, where I basically want as few requests as possible.Meaning, if I want multiple views with an SPA setup on a mobile device, then I guess I need to try and get all the pages into one HTML at init(?).
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload