Mobile app version of vmapp.org
Login or Join
Hamm4606531

: Single Page vs. Multi-page Websites A colleague and I are tasked with creating a new website that will be used for configuring devices (hardware), displaying general as well as specific information.

@Hamm4606531

Posted in: #WebsiteDesign

A colleague and I are tasked with creating a new website that will be used for configuring devices (hardware), displaying general as well as specific information. He's a recently new comer to the web world, but has excellent organizational skills.

I have been in the web world for about 12 years (mostly back-end, but long enough to handle UI designs... sort of)

He is strongly suggesting that we develop the website with a single page format (ie, build a main page which will hold a non-changing header section, a dynamic content middle section and a non-changing footer section), then for every link that normally would take to a different content page, we would code it so though ajax calls we populate the dynamic context middle section.

Programmatically, I don't see any issues building it that way, but something about it making me dislike it (honestly, I'm not sure what it is). I personally like the old fashioned way of building one page for every content change and going to the server to get the entire page.

The website we are tasked to complete is fairly technical and only people who have knowledge of the hardware the site exposes will use it.

I'm looking for advice from devs who have done both kinds of websites (single page and multi-paged) for the type of information and interaction I've described above.

PS. Editors, I don't think this question can be modified further to not make it opinion based. If this change still does not make the question in line with this site's format, please be kind to direct me to one that will give me the information I'm looking for (as I have not found one yet). Thanks.

PS #2 : To be even more clear, the website will have the following features:


Links that will display data for specific devices
Page content for each specific device can be completely different from the content of another device
A large portion of the data presented for a specific device will be fast changing (websockets technology will be used for that)

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm4606531

1 Comments

Sorted by latest first Latest Oldest Best

 

@Barnes591

Single-page pros:


Smoother user experience when navigating between pages; browser doesn't have to dump the whole page and re-render it.
Less data to transfer to the client when navigating between pages; pages load faster overall.
Pages that have been requested can be stored in a hidden div while not in use, so if the user requests that page again you can skip a trip to the server and just show it.


Single-page cons:


Requires Javascript enabled at the client.
Will add complexity to your site/app architecture as opposed to static pages which are easier.
May be less or more SEO efficient than static pages depending on the architecture (I couldn't tell if your project requires SEO so this might not matter).


You can find more info, including a working single-page code example, in the answer that I posted here. You can find a related question with some good answers here.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme