This article explains how to choose between a Responsive Web Design and Device Channels.
Responsive Web Design
The following are the properties of a Responsive Web Design:
- The same URL for all devices.
- The same HTML is rendered for all devices.
- The Device View Port is the key factor (resolution).
- Overhead: Browser should support CSS3.
- Overhead: Only 70-80% devices support.
Device Channels
The following are the properties of Device Channels:
- Newly introduced to SharePoint 2013.
- The same URL for all devices.
- A different HTML is rendered for different devices.
- The device user agent string is used to differentiate devices (For example Windows, iPhone, S4 and so on).
- Custom Master Pages make it possible for each device-channel.
- An Image Rendition for each device-channel is possible (Image Rendition).
- The shrinking of data-size is possible for low-bandwidth devices.
- Overhead: Additional configuration is required.
Choosing One
In most cases we must use only one of the following:
- Responsive Web Design
- Device Channels
Choosing Both
You can read from the preceding that sometimes we require both a Responsive Web Design and Device Channels. For example, the following is such a case:
- Your company has a public web site targeted for all devices:
- Responsive Web Design can be implemented for all devices (Desktop, Tablet, Mobile and so on).
- Field Workers using a BlackBerry with incompatible browsers must login into the web site:
- Device Channels can be configured for BlackBerry devices with custom master pages.
- Field Workers using an iPhone/S4 with low-bandwidth connections need to login into the web site:
- Device Channels can be configured for an iPhone/S4 with a stripped-down version of pages.
Note
Please note that multiple user agent strings can be configured for a single device channel. This enables multiple devices of the same screen size / work location targeted against a single device channel.
References
Summary
In this article we explored how to chose among a Responsive Web Design, Device Channels or both.