You don't get caught in the situation of having to bring out more new site versions as more new browsers and platforms come out, and adjust code as feature support in existing browsers changes. This is much more reliable, more maintainable, and more future proof. For a discussion on the differences between the two, read Responsive design versus adaptive design. ![]() This tends to be termed responsive design or adaptive design, two related but different approaches. It is usually much better to create a single version of your code which doesn't care about what browser or platform is accessing the site, but instead uses feature tests to find out what code features the browser supports or what the values of certain browser features are, and then adjusts the code appropriately. But this is increasingly inefficient: browser sniffing is inherently error prone, and maintaining multiple copies of your code can turn out to be a nightmare. One approach to this is to create different versions of your site/app for different platforms or browsers and serve them appropriately after detecting which browser or platform is looking at your site. In this article we will discuss the main essential components of responsive design, with some links to further information where necessary.įor Web developers, it is now fairly common to be called upon to create a Web site or app that changes its user interface depending on the browser or device accessing the site to provide an optimized experience.
0 Comments
Leave a Reply. |